From 9a0a1b696a47041985ce4d3969ba5d1261105ff0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 28 Aug 2024 16:41:28 +0200 Subject: m + add support for z parameter for keccak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libhashsum_init_rawshake_hasher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhashsum_init_rawshake_hasher.c') diff --git a/libhashsum_init_rawshake_hasher.c b/libhashsum_init_rawshake_hasher.c index f90e3b7..f6cba3b 100644 --- a/libhashsum_init_rawshake_hasher.c +++ b/libhashsum_init_rawshake_hasher.c @@ -35,7 +35,7 @@ libhashsum_init_rawshake_hasher(struct libhashsum_hasher *this, size_t hcapbits, } libkeccak_spec_rawshake(&spec, (long int)hcapbits, (long int)hashbits); - return libhashsum_init_keccak__(this, hashbits, &spec, LIBKECCAK_RAWSHAKE_SUFFIX); + return libhashsum_init_keccak__(this, hashbits, &spec, 1U, LIBKECCAK_RAWSHAKE_SUFFIX); } -- cgit v1.2.3-70-g09d2