diff options
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 6ac2a67fa..e886a561c 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -2026,13 +2026,14 @@ GNUNET_CRYPTO_rsa_public_key_cmp (struct GNUNET_CRYPTO_RsaPublicKey *p1, | |||
2026 | * @param pkey the public key of the signer | 2026 | * @param pkey the public key of the signer |
2027 | * @param[out] buf set to a buffer with the blinded message to be signed | 2027 | * @param[out] buf set to a buffer with the blinded message to be signed |
2028 | * @param[out] buf_size number of bytes stored in @a buf | 2028 | * @param[out] buf_size number of bytes stored in @a buf |
2029 | * @return GNUNET_YES if successful, GNUNET_NO if RSA key is malicious | 2029 | * @return #GNUNET_YES if successful, #GNUNET_NO if RSA key is malicious |
2030 | */ | 2030 | */ |
2031 | int | 2031 | int |
2032 | GNUNET_CRYPTO_rsa_blind (const struct GNUNET_HashCode *hash, | 2032 | GNUNET_CRYPTO_rsa_blind (const struct GNUNET_HashCode *hash, |
2033 | const struct GNUNET_CRYPTO_RsaBlindingKeySecret *bks, | 2033 | const struct GNUNET_CRYPTO_RsaBlindingKeySecret *bks, |
2034 | struct GNUNET_CRYPTO_RsaPublicKey *pkey, | 2034 | struct GNUNET_CRYPTO_RsaPublicKey *pkey, |
2035 | char **buf, size_t *buf_size); | 2035 | char **buf, |
2036 | size_t *buf_size); | ||
2036 | 2037 | ||
2037 | 2038 | ||
2038 | /** | 2039 | /** |
@@ -2045,7 +2046,8 @@ GNUNET_CRYPTO_rsa_blind (const struct GNUNET_HashCode *hash, | |||
2045 | */ | 2046 | */ |
2046 | struct GNUNET_CRYPTO_RsaSignature * | 2047 | struct GNUNET_CRYPTO_RsaSignature * |
2047 | GNUNET_CRYPTO_rsa_sign_blinded (const struct GNUNET_CRYPTO_RsaPrivateKey *key, | 2048 | GNUNET_CRYPTO_rsa_sign_blinded (const struct GNUNET_CRYPTO_RsaPrivateKey *key, |
2048 | const void *msg, size_t msg_len); | 2049 | const void *msg, |
2050 | size_t msg_len); | ||
2049 | 2051 | ||
2050 | 2052 | ||
2051 | /** | 2053 | /** |