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_crypt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'librecrypt_crypt.c') diff --git a/librecrypt_crypt.c b/librecrypt_crypt.c index c3f441b..af46520 100644 --- a/librecrypt_crypt.c +++ b/librecrypt_crypt.c @@ -4,9 +4,10 @@ ssize_t -librecrypt_crypt(char *restrict out_buffer, size_t size, const char *phrase, size_t len, const char *settings, void *reserved) +librecrypt_crypt(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_CRYPT); + return librecrypt_hash_(out_buffer, size, phrase, len, settings, ctx, ASCII_CRYPT); } -- cgit v1.2.3-70-g09d2