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/include | |
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/include')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index e880bd887..437a1283f 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -659,7 +659,7 @@ GNUNET_CRYPTO_hash (const void *block, | |||
659 | /** | 659 | /** |
660 | * Calculate the 'proof-of-work' hash (an expensive hash). | 660 | * Calculate the 'proof-of-work' hash (an expensive hash). |
661 | * | 661 | * |
662 | * @param salt salt to use in pow calculation | 662 | * @param salt salt for the hash. Must be crypto_pwhash_argon2id_SALTBYTES long. |
663 | * @param buf data to hash | 663 | * @param buf data to hash |
664 | * @param buf_len number of bytes in @a buf | 664 | * @param buf_len number of bytes in @a buf |
665 | * @param result where to write the resulting hash | 665 | * @param result where to write the resulting hash |