[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: use argon2id
From: |
gnunet |
Subject: |
[gnunet] branch master updated: use argon2id |
Date: |
Tue, 26 May 2020 00:47:46 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 24be68238 use argon2id
new e54d6f691 Merge branch 'master' of ssh://gnunet.org/gnunet
24be68238 is described below
commit 24be68238b375f02018b1ed904b443f65eef9513
Author: Martin Schanzenbach <address@hidden>
AuthorDate: Tue May 26 00:42:24 2020 +0200
use argon2id
---
src/util/crypto_pow.c | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/util/crypto_pow.c b/src/util/crypto_pow.c
index 35511a130..6176afc33 100644
--- a/src/util/crypto_pow.c
+++ b/src/util/crypto_pow.c
@@ -43,17 +43,16 @@ GNUNET_CRYPTO_pow_hash (const char *salt,
size_t buf_len,
struct GNUNET_HashCode *result)
{
- GNUNET_break (ARGON2_OK == argon2d_hash_raw (3, /* iterations */
- 1024, /* memory (1 MiB) */
- 1, /* threads */
- buf,
- buf_len,
- salt,
- strlen (salt),
- result,
- sizeof (struct
- GNUNET_HashCode)));
-
+ GNUNET_break (ARGON2_OK ==
+ argon2id_hash_raw (3, /* iterations */
+ 1024, /* memory (1 MiB) */
+ 1, /* threads */
+ buf,
+ buf_len,
+ salt,
+ strlen (salt),
+ result,
+ sizeof (struct GNUNET_HashCode)));
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: use argon2id,
gnunet <=