aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-09 11:59:33 +0000
committerChristian Grothoff <christian@grothoff.org>2015-03-09 11:59:33 +0000
commit0070016a317fecd96bd3dde6ff5670c9a8b81d00 (patch)
tree2dd6829ab88c37f1d92c67eab5b7f48002e8cd57 /src/include
parent6a69a20d6847a6a359e3b8eb289bf351fed0651a (diff)
downloadgnunet-0070016a317fecd96bd3dde6ff5670c9a8b81d00.tar.gz
gnunet-0070016a317fecd96bd3dde6ff5670c9a8b81d00.zip
add GNUNET_CRYPTO_rsa_public_key_hash
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_crypto_lib.h11
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 */
1547void
1548GNUNET_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