aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_ripemd_256_hasher.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-05 18:17:36 +0200
committerMattias Andrée <maandree@kth.se>2024-09-05 18:17:36 +0200
commitcfc297ec764e3996548dee1e3e961e4dc47b6981 (patch)
tree54db785eead2ab0897ef29e0a2064a3fe68ebb36 /libhashsum_init_ripemd_256_hasher.c
parentAdd libhashsum_init_blake2s_hasher.3 and libhashsum_init_blake2b_hasher.3 (diff)
downloadlibhashsum-cfc297ec764e3996548dee1e3e961e4dc47b6981.tar.gz
libhashsum-cfc297ec764e3996548dee1e3e961e4dc47b6981.tar.bz2
libhashsum-cfc297ec764e3996548dee1e3e961e4dc47b6981.tar.xz
Add standard_partial_byte_input_encoding and standard_partial_byte_output_encoding
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libhashsum_init_ripemd_256_hasher.c')
-rw-r--r--libhashsum_init_ripemd_256_hasher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhashsum_init_ripemd_256_hasher.c b/libhashsum_init_ripemd_256_hasher.c
index d9249b4..316cc39 100644
--- a/libhashsum_init_ripemd_256_hasher.c
+++ b/libhashsum_init_ripemd_256_hasher.c
@@ -231,6 +231,8 @@ libhashsum_init_ripemd_256_hasher(struct libhashsum_hasher *this)
this->hash_size = sizeof(this->state.ripemd_256.h.sum);
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;