aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_rsa.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2015-01-26 10:19:01 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2015-01-26 10:19:01 +0000
commit519670a02e5be5ca92474d80a6117fc7a74a85d8 (patch)
treec0addde1b95180a1a238712160a7f62176d6dd34 /src/util/crypto_rsa.c
parentab92b2147ade8661f27dee580e30ebc13d839586 (diff)
downloadgnunet-519670a02e5be5ca92474d80a6117fc7a74a85d8.tar.gz
gnunet-519670a02e5be5ca92474d80a6117fc7a74a85d8.zip
- fix docu
Diffstat (limited to 'src/util/crypto_rsa.c')
-rw-r--r--src/util/crypto_rsa.c9
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