From 2bc752da4a803cf6c03fb84bb90bc6e468981526 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 24 Aug 2024 20:39:01 +0200 Subject: Add support for salt for BLAKE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libhashsum_init_hasher.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libhashsum_init_hasher.c') diff --git a/libhashsum_init_hasher.c b/libhashsum_init_hasher.c index ab44ac1..6f09629 100644 --- a/libhashsum_init_hasher.c +++ b/libhashsum_init_hasher.c @@ -65,13 +65,13 @@ libhashsum_init_hasher(struct libhashsum_hasher *this, enum libhashsum_algorithm case LIBHASHSUM_RAWSHAKE512: return libhashsum_init_rawshake512_hasher(this, 0); case LIBHASHSUM_BLAKE224: - return libhashsum_init_blake224_hasher(this); + return libhashsum_init_blake224_hasher(this, NULL); case LIBHASHSUM_BLAKE256: - return libhashsum_init_blake256_hasher(this); + return libhashsum_init_blake256_hasher(this, NULL); case LIBHASHSUM_BLAKE384: - return libhashsum_init_blake384_hasher(this); + return libhashsum_init_blake384_hasher(this, NULL); case LIBHASHSUM_BLAKE512: - return libhashsum_init_blake512_hasher(this); + return libhashsum_init_blake512_hasher(this, NULL); default: case LIBHASHSUM_KECCAK: errno = EINVAL; -- cgit v1.2.3-70-g09d2