diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-10-19 21:40:09 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-10-27 20:08:35 +0200 |
commit | 9a9c588a64521d1350e18b654f08783b5567b50a (patch) | |
tree | e41c58566c69f77106ef0ead6f2d06ed01546fff /src/include | |
parent | 198cc94844665c2ffbe3fcb5ea848e6d1e8334d4 (diff) | |
download | gnunet-9a9c588a64521d1350e18b654f08783b5567b50a.tar.gz gnunet-9a9c588a64521d1350e18b654f08783b5567b50a.zip |
new blind signing logic
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 5286bb418..3507a4f4d 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -2963,12 +2963,14 @@ GNUNET_CRYPTO_rsa_sign_blinded (const struct GNUNET_CRYPTO_RsaPrivateKey *key, | |||
2963 | * Create and sign a full domain hash of a message. | 2963 | * Create and sign a full domain hash of a message. |
2964 | * | 2964 | * |
2965 | * @param key private key to use for the signing | 2965 | * @param key private key to use for the signing |
2966 | * @param hash the hash of the message to sign | 2966 | * @param message the message to sign |
2967 | * @param message_size number of bytes in @a message | ||
2967 | * @return NULL on error, including a malicious RSA key, signature on success | 2968 | * @return NULL on error, including a malicious RSA key, signature on success |
2968 | */ | 2969 | */ |
2969 | struct GNUNET_CRYPTO_RsaSignature * | 2970 | struct GNUNET_CRYPTO_RsaSignature * |
2970 | GNUNET_CRYPTO_rsa_sign_fdh (const struct GNUNET_CRYPTO_RsaPrivateKey *key, | 2971 | GNUNET_CRYPTO_rsa_sign_fdh (const struct GNUNET_CRYPTO_RsaPrivateKey *key, |
2971 | const struct GNUNET_HashCode *hash); | 2972 | const void *message, |
2973 | size_t message_size); | ||
2972 | 2974 | ||
2973 | 2975 | ||
2974 | /** | 2976 | /** |