aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/crypto_rsa.c')
-rw-r--r--src/util/crypto_rsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index 0b21b40b4..b8e29146f 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -22,7 +22,7 @@
22 */ 22 */
23#include "platform.h" 23#include "platform.h"
24#include <gcrypt.h> 24#include <gcrypt.h>
25#include "gnunet_util_lib.h" 25#include "gnunet_crypto_lib.h"
26 26
27#define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__) 27#define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__)
28 28
@@ -413,7 +413,7 @@ GNUNET_CRYPTO_rsa_blinding_key_create (unsigned int len)
413 413
414/** 414/**
415 * Compare the values of two blinding keys. 415 * Compare the values of two blinding keys.
416 * 416 *
417 * @param b1 one key 417 * @param b1 one key
418 * @param b2 the other key 418 * @param b2 the other key
419 * @return 0 if the two are equal 419 * @return 0 if the two are equal
@@ -443,7 +443,7 @@ GNUNET_CRYPTO_rsa_signature_cmp (struct GNUNET_CRYPTO_rsa_Signature *s1,
443 size_t z1; 443 size_t z1;
444 size_t z2; 444 size_t z2;
445 int ret; 445 int ret;
446 446
447 z1 = GNUNET_CRYPTO_rsa_signature_encode (s1, 447 z1 = GNUNET_CRYPTO_rsa_signature_encode (s1,
448 &b1); 448 &b1);
449 z2 = GNUNET_CRYPTO_rsa_signature_encode (s2, 449 z2 = GNUNET_CRYPTO_rsa_signature_encode (s2,
@@ -476,7 +476,7 @@ GNUNET_CRYPTO_rsa_public_key_cmp (struct GNUNET_CRYPTO_rsa_PublicKey *p1,
476 size_t z1; 476 size_t z1;
477 size_t z2; 477 size_t z2;
478 int ret; 478 int ret;
479 479
480 z1 = GNUNET_CRYPTO_rsa_public_key_encode (p1, 480 z1 = GNUNET_CRYPTO_rsa_public_key_encode (p1,
481 &b1); 481 &b1);
482 z2 = GNUNET_CRYPTO_rsa_public_key_encode (p2, 482 z2 = GNUNET_CRYPTO_rsa_public_key_encode (p2,