aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/gnunet_crypto_lib.h12
-rw-r--r--src/util/crypto_rsa.c12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 437a1283f..d11c6b58c 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -2160,8 +2160,8 @@ GNUNET_CRYPTO_rsa_public_key_dup (const struct GNUNET_CRYPTO_RsaPublicKey *key);
2160 * @return 0 if the two are equal 2160 * @return 0 if the two are equal
2161 */ 2161 */
2162int 2162int
2163GNUNET_CRYPTO_rsa_signature_cmp (struct GNUNET_CRYPTO_RsaSignature *s1, 2163GNUNET_CRYPTO_rsa_signature_cmp (const struct GNUNET_CRYPTO_RsaSignature *s1,
2164 struct GNUNET_CRYPTO_RsaSignature *s2); 2164 const struct GNUNET_CRYPTO_RsaSignature *s2);
2165 2165
2166/** 2166/**
2167 * Compare the values of two private keys. 2167 * Compare the values of two private keys.
@@ -2171,8 +2171,8 @@ GNUNET_CRYPTO_rsa_signature_cmp (struct GNUNET_CRYPTO_RsaSignature *s1,
2171 * @return 0 if the two are equal 2171 * @return 0 if the two are equal
2172 */ 2172 */
2173int 2173int
2174GNUNET_CRYPTO_rsa_private_key_cmp (struct GNUNET_CRYPTO_RsaPrivateKey *p1, 2174GNUNET_CRYPTO_rsa_private_key_cmp (const struct GNUNET_CRYPTO_RsaPrivateKey *p1,
2175 struct GNUNET_CRYPTO_RsaPrivateKey *p2); 2175 const struct GNUNET_CRYPTO_RsaPrivateKey *p2);
2176 2176
2177 2177
2178/** 2178/**
@@ -2183,8 +2183,8 @@ GNUNET_CRYPTO_rsa_private_key_cmp (struct GNUNET_CRYPTO_RsaPrivateKey *p1,
2183 * @return 0 if the two are equal 2183 * @return 0 if the two are equal
2184 */ 2184 */
2185int 2185int
2186GNUNET_CRYPTO_rsa_public_key_cmp (struct GNUNET_CRYPTO_RsaPublicKey *p1, 2186GNUNET_CRYPTO_rsa_public_key_cmp (const struct GNUNET_CRYPTO_RsaPublicKey *p1,
2187 struct GNUNET_CRYPTO_RsaPublicKey *p2); 2187 const struct GNUNET_CRYPTO_RsaPublicKey *p2);
2188 2188
2189 2189
2190/** 2190/**
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index 2957546a7..cb4640d48 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -620,8 +620,8 @@ rsa_blinding_key_derive (const struct GNUNET_CRYPTO_RsaPublicKey *pkey,
620 * @return 0 if the two are equal 620 * @return 0 if the two are equal
621 */ 621 */
622int 622int
623GNUNET_CRYPTO_rsa_signature_cmp (struct GNUNET_CRYPTO_RsaSignature *s1, 623GNUNET_CRYPTO_rsa_signature_cmp (const struct GNUNET_CRYPTO_RsaSignature *s1,
624 struct GNUNET_CRYPTO_RsaSignature *s2) 624 const struct GNUNET_CRYPTO_RsaSignature *s2)
625{ 625{
626 void *b1; 626 void *b1;
627 void *b2; 627 void *b2;
@@ -653,8 +653,8 @@ GNUNET_CRYPTO_rsa_signature_cmp (struct GNUNET_CRYPTO_RsaSignature *s1,
653 * @return 0 if the two are equal 653 * @return 0 if the two are equal
654 */ 654 */
655int 655int
656GNUNET_CRYPTO_rsa_public_key_cmp (struct GNUNET_CRYPTO_RsaPublicKey *p1, 656GNUNET_CRYPTO_rsa_public_key_cmp (const struct GNUNET_CRYPTO_RsaPublicKey *p1,
657 struct GNUNET_CRYPTO_RsaPublicKey *p2) 657 const struct GNUNET_CRYPTO_RsaPublicKey *p2)
658{ 658{
659 void *b1; 659 void *b1;
660 void *b2; 660 void *b2;
@@ -686,8 +686,8 @@ GNUNET_CRYPTO_rsa_public_key_cmp (struct GNUNET_CRYPTO_RsaPublicKey *p1,
686 * @return 0 if the two are equal 686 * @return 0 if the two are equal
687 */ 687 */
688int 688int
689GNUNET_CRYPTO_rsa_private_key_cmp (struct GNUNET_CRYPTO_RsaPrivateKey *p1, 689GNUNET_CRYPTO_rsa_private_key_cmp (const struct GNUNET_CRYPTO_RsaPrivateKey *p1,
690 struct GNUNET_CRYPTO_RsaPrivateKey *p2) 690 const struct GNUNET_CRYPTO_RsaPrivateKey *p2)
691{ 691{
692 void *b1; 692 void *b1;
693 void *b2; 693 void *b2;