From c35b47228f5494f4d806e9166628110af6dd2469 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 20 May 2026 23:04:11 +0200 Subject: Add (so far untested and undocument) support for pepper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- librecrypt_hash.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'librecrypt_hash.c') diff --git a/librecrypt_hash.c b/librecrypt_hash.c index e00c35b..06bfe65 100644 --- a/librecrypt_hash.c +++ b/librecrypt_hash.c @@ -4,9 +4,10 @@ ssize_t -librecrypt_hash(char *restrict out_buffer, size_t size, const char *phrase, size_t len, const char *settings, void *reserved) +librecrypt_hash(char *restrict out_buffer, size_t size, const char *phrase, + size_t len, const char *settings, LIBRECRYPT_CONTEXT *ctx) { - return librecrypt_hash_(out_buffer, size, phrase, len, settings, reserved, ASCII_HASH); + return librecrypt_hash_(out_buffer, size, phrase, len, settings, ctx, ASCII_HASH); } -- cgit v1.2.3-70-g09d2