diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-05 18:50:36 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-05 18:50:36 +0200 |
commit | 36eaf29a8154bc948c0969a29021b293cf38695b (patch) | |
tree | 0c16e92ceef40984dc95b3875afb322865ae73a8 /libhashsum_init_keccak_224_hasher.c | |
parent | Set standard_partial_byte_output_encoding to LIBHASHSUM_UNSUPPORTED for SHA-3 (diff) | |
download | libhashsum-36eaf29a8154bc948c0969a29021b293cf38695b.tar.gz libhashsum-36eaf29a8154bc948c0969a29021b293cf38695b.tar.bz2 libhashsum-36eaf29a8154bc948c0969a29021b293cf38695b.tar.xz |
Set standard_partial_byte_output_encoding to LIBHASHSUM_UNSUPPORTED for Keccal-{224,256,384,512}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libhashsum_init_keccak_224_hasher.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libhashsum_init_keccak_224_hasher.c b/libhashsum_init_keccak_224_hasher.c index 7a2b516..a05e207 100644 --- a/libhashsum_init_keccak_224_hasher.c +++ b/libhashsum_init_keccak_224_hasher.c @@ -5,5 +5,7 @@ int libhashsum_init_keccak_224_hasher(struct libhashsum_hasher *this) { - return libhashsum_init_keccak_hasher(this, KECCAKN(224)); + int r = libhashsum_init_keccak_hasher(this, KECCAKN(224)); + this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED; + return r; } |