diff options
author | Mattias Andrée <maandree@kth.se> | 2024-08-28 16:41:28 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-08-28 16:41:28 +0200 |
commit | 9a0a1b696a47041985ce4d3969ba5d1261105ff0 (patch) | |
tree | 1f07a2cd0b101668d174329bad6f630c44261602 /libhashsum_init_rawshake_hasher.c | |
parent | m misc (diff) | |
download | libhashsum-9a0a1b696a47041985ce4d3969ba5d1261105ff0.tar.gz libhashsum-9a0a1b696a47041985ce4d3969ba5d1261105ff0.tar.bz2 libhashsum-9a0a1b696a47041985ce4d3969ba5d1261105ff0.tar.xz |
m + add support for z parameter for keccak
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libhashsum_init_rawshake_hasher.c')
-rw-r--r-- | libhashsum_init_rawshake_hasher.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |