aboutsummaryrefslogtreecommitdiffstats
path: root/argon2/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'argon2/hash.c')
-rw-r--r--argon2/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/argon2/hash.c b/argon2/hash.c
index e498d35..949841b 100644
--- a/argon2/hash.c
+++ b/argon2/hash.c
@@ -108,7 +108,7 @@ librecrypt__argon2__hash(char *restrict out_buffer, size_t size, const char *phr
(void) ctx;
/* Parse `settings` */
- r = librecrypt_scan_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 */
@@ -215,7 +215,7 @@ librecrypt__argon2__hash(char *restrict out_buffer, size_t size, const char *phr
default:
abort(); /* $covered$ (impossible) */
}
- pepper = librecrypt_context_get_pepper_(ctx, algo, 0u);
+ pepper = librecrypt_get_pepper_(ctx, algo, 0u);
no_pepper:
params.t_cost = (uint_least32_t)tcost;
params.m_cost = (uint_least32_t)mcost;