aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_hash_.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-07-01 21:37:09 +0200
committerMattias Andrée <m@maandree.se>2026-07-01 21:37:09 +0200
commit1323b81cd2679bb61a480524a0e4cd008d3d0bee (patch)
treed7fc0c3417b6ae7a1688cddd8ce3a9607ec53dd7 /librecrypt_hash_.c
parentAdd test and fix a bug (diff)
downloadlibrecrypt-1.1.1.tar.gz
librecrypt-1.1.1.tar.bz2
librecrypt-1.1.1.tar.xz
Add support for the reference implementation of Argon2HEAD1.1.1master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'librecrypt_hash_.c')
-rw-r--r--librecrypt_hash_.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librecrypt_hash_.c b/librecrypt_hash_.c
index 538dc8a..71ec98d 100644
--- a/librecrypt_hash_.c
+++ b/librecrypt_hash_.c
@@ -491,7 +491,7 @@ start_over:
EXPECT(librecrypt_hash_(NULL, 0u, NULL, 0u, "$~no~such~algorithm~$*100$", ctx, ASCII_CRYPT) == -1);
EXPECT(errno == ENOSYS);
-#if defined(SUPPORT_ARGON2ID)
+#if defined(SUPPORT_ARGON2ID) && defined(SUPPORT_ARGON2_V1_3)
# define ARGON2ID_PREFIX "$argon2id$v=19$m=8,t=1,p=1$"
# define ARGON2ID_STR ARGON2ID_PREFIX SALT"$*32"