aboutsummaryrefslogtreecommitdiff
path: root/src/nse/perf_kdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nse/perf_kdf.c')
-rw-r--r--src/nse/perf_kdf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nse/perf_kdf.c b/src/nse/perf_kdf.c
index 89b70903a..10207675f 100644
--- a/src/nse/perf_kdf.c
+++ b/src/nse/perf_kdf.c
@@ -34,10 +34,11 @@ perfHash ()
34{ 34{
35 struct GNUNET_HashCode hc; 35 struct GNUNET_HashCode hc;
36 char buf[64]; 36 char buf[64];
37 struct GNUNET_CRYPTO_PowSalt salt = { "gnunet-nse-proof" };
37 38
38 memset (buf, 1, sizeof(buf)); 39 memset (buf, 1, sizeof(buf));
39 for (unsigned int i = 0; i < 1024; i++) 40 for (unsigned int i = 0; i < 1024; i++)
40 GNUNET_CRYPTO_pow_hash ("gnunet-nse-proof", 41 GNUNET_CRYPTO_pow_hash (&salt,
41 buf, 42 buf,
42 sizeof(buf), 43 sizeof(buf),
43 &hc); 44 &hc);