diff options
Diffstat (limited to 'src/util/perf_crypto_cs.c')
-rw-r--r-- | src/util/perf_crypto_cs.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/util/perf_crypto_cs.c b/src/util/perf_crypto_cs.c index a8c72052b..54c9c8e0e 100644 --- a/src/util/perf_crypto_cs.c +++ b/src/util/perf_crypto_cs.c | |||
@@ -103,8 +103,6 @@ eval () | |||
103 | for (i = 0; i < ITER; i++) | 103 | for (i = 0; i < ITER; i++) |
104 | { | 104 | { |
105 | GNUNET_CRYPTO_cs_blinding_secrets_derive (&nonce, | 105 | GNUNET_CRYPTO_cs_blinding_secrets_derive (&nonce, |
106 | sizeof(struct | ||
107 | GNUNET_CRYPTO_CsNonce), | ||
108 | bs); | 106 | bs); |
109 | } | 107 | } |
110 | printf ("10x derive blinding secrets took %s\n", | 108 | printf ("10x derive blinding secrets took %s\n", |
@@ -167,9 +165,9 @@ eval () | |||
167 | for (i = 0; i < ITER; i++) | 165 | for (i = 0; i < ITER; i++) |
168 | { | 166 | { |
169 | GNUNET_CRYPTO_cs_verify (&sig, | 167 | GNUNET_CRYPTO_cs_verify (&sig, |
170 | &pub, | 168 | &pub, |
171 | message, | 169 | message, |
172 | message_len); | 170 | message_len); |
173 | } | 171 | } |
174 | printf ("10x verifying signatures took %s\n", | 172 | printf ("10x verifying signatures took %s\n", |
175 | GNUNET_STRINGS_relative_time_to_string ( | 173 | GNUNET_STRINGS_relative_time_to_string ( |