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_sha3_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_sha3_hasher.c')
-rw-r--r-- | libhashsum_init_sha3_hasher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhashsum_init_sha3_hasher.c b/libhashsum_init_sha3_hasher.c index c9d6ac7..fc03114 100644 --- a/libhashsum_init_sha3_hasher.c +++ b/libhashsum_init_sha3_hasher.c @@ -26,7 +26,7 @@ libhashsum_init_sha3_hasher(struct libhashsum_hasher *this, size_t hashbits) } libkeccak_spec_sha3(&spec, (long int)hashbits); - return libhashsum_init_keccak__(this, hashbits, &spec, LIBKECCAK_SHA3_SUFFIX); + return libhashsum_init_keccak__(this, hashbits, &spec, 1U, LIBKECCAK_SHA3_SUFFIX); } |