diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-20 23:04:11 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-20 23:04:11 +0200 |
| commit | c35b47228f5494f4d806e9166628110af6dd2469 (patch) | |
| tree | 3b5a123af999a5e047b8565efee293a5d95c3f6c /librecrypt_hash.c | |
| parent | Prepare for supporting custom algorithms (diff) | |
| download | librecrypt-c35b47228f5494f4d806e9166628110af6dd2469.tar.gz librecrypt-c35b47228f5494f4d806e9166628110af6dd2469.tar.bz2 librecrypt-c35b47228f5494f4d806e9166628110af6dd2469.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | librecrypt_hash.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |
