diff options
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index ac50685e2..adc05b8a8 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -1665,6 +1665,18 @@ GNUNET_CRYPTO_rsa_blinding_key_create (unsigned int len); | |||
1665 | 1665 | ||
1666 | 1666 | ||
1667 | /** | 1667 | /** |
1668 | * Compare the values of two blinding keys. | ||
1669 | * | ||
1670 | * @param b1 one key | ||
1671 | * @param b2 the other key | ||
1672 | * @return 0 if the two are equal | ||
1673 | */ | ||
1674 | int | ||
1675 | GNUNET_CRYPTO_rsa_blinding_key_cmp (struct GNUNET_CRYPTO_rsa_BlindingKey *b1, | ||
1676 | struct GNUNET_CRYPTO_rsa_BlindingKey *b2); | ||
1677 | |||
1678 | |||
1679 | /** | ||
1668 | * Destroy a blinding key | 1680 | * Destroy a blinding key |
1669 | * | 1681 | * |
1670 | * @param bkey the blinding key to destroy | 1682 | * @param bkey the blinding key to destroy |
@@ -1790,8 +1802,8 @@ GNUNET_CRYPTO_rsa_unblind (struct GNUNET_CRYPTO_rsa_Signature *sig, | |||
1790 | */ | 1802 | */ |
1791 | int | 1803 | int |
1792 | GNUNET_CRYPTO_rsa_verify (const struct GNUNET_HashCode *hash, | 1804 | GNUNET_CRYPTO_rsa_verify (const struct GNUNET_HashCode *hash, |
1793 | const struct GNUNET_CRYPTO_rsa_Signature *sig, | 1805 | const struct GNUNET_CRYPTO_rsa_Signature *sig, |
1794 | const struct GNUNET_CRYPTO_rsa_PublicKey *public_key); | 1806 | const struct GNUNET_CRYPTO_rsa_PublicKey *public_key); |
1795 | 1807 | ||
1796 | 1808 | ||
1797 | #if 0 /* keep Emacsens' auto-indent happy */ | 1809 | #if 0 /* keep Emacsens' auto-indent happy */ |