diff options
Diffstat (limited to 'src/util/crypto_rsa.c')
-rw-r--r-- | src/util/crypto_rsa.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c index ba8639365..7e64515e2 100644 --- a/src/util/crypto_rsa.c +++ b/src/util/crypto_rsa.c | |||
@@ -690,9 +690,9 @@ GNUNET_CRYPTO_rsa_signature_decode (const char *buf, | |||
690 | 690 | ||
691 | 691 | ||
692 | /** | 692 | /** |
693 | * Unblind a signature made on blinding signature purpose. The signature | 693 | * Unblind a blind-signed signature. The signature should have been generated |
694 | * purpose should have been generated with #GNUNET_CRYPTO_rsa_sign() using | 694 | * with #GNUNET_CRYPTO_rsa_sign() using a hash that was blinded with |
695 | * a message that was generated with #GNUNET_CRYPTO_rsa_blind(). | 695 | * #GNUNET_CRYPTO_rsa_blind(). |
696 | * | 696 | * |
697 | * @param sig the signature made on the blinded signature purpose | 697 | * @param sig the signature made on the blinded signature purpose |
698 | * @param bkey the blinding key used to blind the signature purpose | 698 | * @param bkey the blinding key used to blind the signature purpose |
@@ -758,7 +758,8 @@ GNUNET_CRYPTO_rsa_unblind (struct GNUNET_CRYPTO_rsa_Signature *sig, | |||
758 | 758 | ||
759 | 759 | ||
760 | /** | 760 | /** |
761 | * Verify signature with the given hash. | 761 | * Verify whether the given hash corresponds to the given signature and the |
762 | * signature is valid with respect to the given public key. | ||
762 | * | 763 | * |
763 | * @param hash hash of the message to verify to match the @a sig | 764 | * @param hash hash of the message to verify to match the @a sig |
764 | * @param sig signature that is being validated | 765 | * @param sig signature that is being validated |