diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-05-26 11:49:50 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-05-26 11:49:50 +0200 |
commit | 755cb5c76a53a8fd04408bcc080b1796e77162f5 (patch) | |
tree | dade5b7c84f74c76d85e226f7fbd0982494a0046 /src/util/gnunet-scrypt.c | |
parent | 870c6d65864ff8265c5e4863529df4a44f99e1b1 (diff) | |
download | gnunet-755cb5c76a53a8fd04408bcc080b1796e77162f5.tar.gz gnunet-755cb5c76a53a8fd04408bcc080b1796e77162f5.zip |
remove argon2 dependency. Use limited libsodium argon2id function for GNS and NSE
Diffstat (limited to 'src/util/gnunet-scrypt.c')
-rw-r--r-- | src/util/gnunet-scrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/gnunet-scrypt.c b/src/util/gnunet-scrypt.c index 9bb766595..7d13ce469 100644 --- a/src/util/gnunet-scrypt.c +++ b/src/util/gnunet-scrypt.c | |||
@@ -117,7 +117,7 @@ find_proof (void *cls) | |||
117 | while ((counter != UINT64_MAX) && (i < ROUND_SIZE)) | 117 | while ((counter != UINT64_MAX) && (i < ROUND_SIZE)) |
118 | { | 118 | { |
119 | GNUNET_memcpy (buf, &counter, sizeof(uint64_t)); | 119 | GNUNET_memcpy (buf, &counter, sizeof(uint64_t)); |
120 | GNUNET_CRYPTO_pow_hash ("gnunet-nse-proof-of-work", | 120 | GNUNET_CRYPTO_pow_hash ("gnunet-nse-proof", |
121 | buf, | 121 | buf, |
122 | sizeof(buf), | 122 | sizeof(buf), |
123 | &result); | 123 | &result); |