From cfc297ec764e3996548dee1e3e961e4dc47b6981 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 5 Sep 2024 18:17:36 +0200 Subject: Add standard_partial_byte_input_encoding and standard_partial_byte_output_encoding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libhashsum_init_keccak__.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libhashsum_init_keccak__.c') diff --git a/libhashsum_init_keccak__.c b/libhashsum_init_keccak__.c index 9d58958..6e1abf7 100644 --- a/libhashsum_init_keccak__.c +++ b/libhashsum_init_keccak__.c @@ -149,6 +149,8 @@ libhashsum_init_keccak__(struct libhashsum_hasher *this, size_t hashbits, void * this->hash_size += (size_t)!!(hashbits & 7U); this->hash_output = NULL; this->supports_non_whole_bytes = 1; + this->standard_partial_byte_input_encoding = LIBHASHSUM_LEAST_SIGNIFICANT; + this->standard_partial_byte_output_encoding = LIBHASHSUM_LEAST_SIGNIFICANT; this->state.keccak.squeezes = squeezes; this->state.keccak.suffix = suffix; -- cgit v1.2.3-70-g09d2