diff options
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index e87297e62..334dab156 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -1539,6 +1539,17 @@ GNUNET_CRYPTO_rsa_private_key_get_public (const struct GNUNET_CRYPTO_rsa_Private | |||
1539 | 1539 | ||
1540 | 1540 | ||
1541 | /** | 1541 | /** |
1542 | * Compute hash over the public key. | ||
1543 | * | ||
1544 | * @param key public key to hash | ||
1545 | * @param hc where to store the hash code | ||
1546 | */ | ||
1547 | void | ||
1548 | GNUNET_CRYPTO_rsa_public_key_hash (const struct GNUNET_CRYPTO_rsa_PublicKey *key, | ||
1549 | struct GNUNET_HashCode *hc); | ||
1550 | |||
1551 | |||
1552 | /** | ||
1542 | * Free memory occupied by the public key. | 1553 | * Free memory occupied by the public key. |
1543 | * | 1554 | * |
1544 | * @param key pointer to the memory to free | 1555 | * @param key pointer to the memory to free |