From 1323b81cd2679bb61a480524a0e4cd008d3d0bee Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 1 Jul 2026 21:37:09 +0200 Subject: Add support for the reference implementation of Argon2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt_hash_.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'librecrypt_hash_.c') 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" -- cgit v1.3.1