aboutsummaryrefslogtreecommitdiffstats
path: root/argon2/hash.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-20 20:29:04 +0200
committerMattias Andrée <m@maandree.se>2026-05-20 20:33:29 +0200
commit3454e0328d57f57852bf12d698b6b4a4736d0719 (patch)
treeb05330eabb10715b8fee2bbe022805ef386276b8 /argon2/hash.c
parentAdd librecrypt_is_enabled (diff)
downloadlibrecrypt-3454e0328d57f57852bf12d698b6b4a4736d0719.tar.gz
librecrypt-3454e0328d57f57852bf12d698b6b4a4736d0719.tar.bz2
librecrypt-3454e0328d57f57852bf12d698b6b4a4736d0719.tar.xz
Prepare for supporting custom algorithms
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'argon2/hash.c')
-rw-r--r--argon2/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/argon2/hash.c b/argon2/hash.c
index d06ec1e..2a41c69 100644
--- a/argon2/hash.c
+++ b/argon2/hash.c
@@ -106,7 +106,7 @@ librecrypt__argon2__hash(char *restrict out_buffer, size_t size, const char *phr
(void) reserved;
/* Parse `settings` */
- r = librecrypt_check_settings_(settings, prefix,
+ r = librecrypt_scan_settings_(settings, prefix,
"$argon2%^s$%^sm=%^p,t=%^p,p=%^p$%&b$%^h",
&type, "id", "i", "ds", "d", NULL, /* order partially matters */
&version, "v=19$", "v=16$", "", NULL, /* empty string last */