From 36eaf29a8154bc948c0969a29021b293cf38695b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 5 Sep 2024 18:50:36 +0200 Subject: Set standard_partial_byte_output_encoding to LIBHASHSUM_UNSUPPORTED for Keccal-{224,256,384,512} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libhashsum_init_keccak_384_hasher.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libhashsum_init_keccak_384_hasher.c') diff --git a/libhashsum_init_keccak_384_hasher.c b/libhashsum_init_keccak_384_hasher.c index 61e4f64..4dd0647 100644 --- a/libhashsum_init_keccak_384_hasher.c +++ b/libhashsum_init_keccak_384_hasher.c @@ -5,5 +5,7 @@ int libhashsum_init_keccak_384_hasher(struct libhashsum_hasher *this) { - return libhashsum_init_keccak_hasher(this, KECCAKN(384)); + int r = libhashsum_init_keccak_hasher(this, KECCAKN(384)); + this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED; + return r; } -- cgit v1.2.3-70-g09d2