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 /common.h | |
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 '')
-rw-r--r-- | common.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44,10 +44,10 @@ __attribute__((__const__)) uint8_t libhashsum_reverse_byte__(uint8_t); #ifdef LIBHASHSUM_INCLUDE_LIBKECCAK_STATE -int libhashsum_init_keccak__(struct libhashsum_hasher *this, size_t hashbits, void *spec, const char *suffix); +int libhashsum_init_keccak__(struct libhashsum_hasher *this, size_t hashbits, void *spec, size_t squeezes, const char *suffix); #endif -#define KECCAKN(N) 1600 - 2 * (N), 2 * (N), (N) +#define KECCAKN(N) 1600 - 2 * (N), 2 * (N), (N), 1 #ifdef TEST |