aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_crypto_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r--src/include/gnunet_crypto_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 38a3ab3b6..eb28b8ffd 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -1753,6 +1753,16 @@ GNUNET_CRYPTO_rsa_public_key_hash (const struct GNUNET_CRYPTO_rsa_PublicKey *key
1753 1753
1754 1754
1755/** 1755/**
1756 * Obtain the length of the RSA key in bits.
1757 *
1758 * @param key the public key to introspect
1759 * @return length of the key in bits
1760 */
1761unsigned int
1762GNUNET_CRYPTO_rsa_public_key_len (const struct GNUNET_CRYPTO_rsa_PublicKey *key);
1763
1764
1765/**
1756 * Free memory occupied by the public key. 1766 * Free memory occupied by the public key.
1757 * 1767 *
1758 * @param key pointer to the memory to free 1768 * @param key pointer to the memory to free