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_test_supported.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'librecrypt_test_supported.c') diff --git a/librecrypt_test_supported.c b/librecrypt_test_supported.c index 6d2a7a6..9cc8bd5 100644 --- a/librecrypt_test_supported.c +++ b/librecrypt_test_supported.c @@ -4,13 +4,11 @@ int -librecrypt_test_supported(const char *phrase, size_t len, int text, const char *settings, void *reserved) +librecrypt_test_supported(const char *phrase, size_t len, int text, const char *settings, LIBRECRYPT_CONTEXT *ctx) { const struct librecrypt_algorithm *algo; size_t n; - (void) reserved; - /* For each chained algorithm */ for (;;) { /* Measure until next '>' */ @@ -19,7 +17,7 @@ librecrypt_test_supported(const char *phrase, size_t len, int text, const char * break; /* Identify algorithm */ - algo = librecrypt_find_first_algorithm_(settings, n); + algo = librecrypt_find_first_algorithm_(settings, n, ctx); if (!algo) return 0; -- cgit v1.2.3-70-g09d2