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_blake256_hasher.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libhashsum_init_blake256_hasher.c') diff --git a/libhashsum_init_blake256_hasher.c b/libhashsum_init_blake256_hasher.c index 3d00290..2dc9c8c 100644 --- a/libhashsum_init_blake256_hasher.c +++ b/libhashsum_init_blake256_hasher.c @@ -105,6 +105,8 @@ libhashsum_init_blake256_hasher(struct libhashsum_hasher *this, const void *salt this->hash_size = LIBHASHSUM_BLAKE256_HASH_SIZE; this->hash_output = NULL; this->supports_non_whole_bytes = 1; + this->standard_partial_byte_input_encoding = LIBHASHSUM_MOST_SIGNIFICANT; + this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED; this->process = &process; this->finalise_const = &finalise_const; this->finalise = &finalise; -- cgit v1.2.3-70-g09d2