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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 0eb2ea8cd..edb4bb230 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -2216,6 +2216,15 @@ GNUNET_CRYPTO_rsa_public_key_hash (const struct GNUNET_CRYPTO_RsaPublicKey *key,
2216 2216
2217 2217
2218/** 2218/**
2219 * Check if @a key is well-formed.
2220 *
2221 * @return true if @a key is well-formed.
2222 */
2223bool
2224GNUNET_CRYPTO_rsa_public_key_check (
2225 const struct GNUNET_CRYPTO_RsaPublicKey *key);
2226
2227/**
2219 * Obtain the length of the RSA key in bits. 2228 * Obtain the length of the RSA key in bits.
2220 * 2229 *
2221 * @param key the public key to introspect 2230 * @param key the public key to introspect