aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_sha2_hasher.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhashsum_init_sha2_hasher.c')
-rw-r--r--libhashsum_init_sha2_hasher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhashsum_init_sha2_hasher.c b/libhashsum_init_sha2_hasher.c
index 7e5aa38..ca455c3 100644
--- a/libhashsum_init_sha2_hasher.c
+++ b/libhashsum_init_sha2_hasher.c
@@ -94,6 +94,8 @@ libhashsum_init_sha2_hasher(struct libhashsum_hasher *this, unsigned algobits, s
this->hash_size = hashbits >> 3;
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_UNSUPPORTED;
this->process = &process;
this->finalise_const = &finalise_const;
this->finalise = &finalise;