aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_md2_hasher.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-06 20:00:21 +0200
committerMattias Andrée <maandree@kth.se>2024-09-06 20:00:21 +0200
commite08dff210507b3a56e8aa1cd14d653ecfb3228f9 (patch)
tree66771aef79dd8e5da0d88035cf601d0219d7010d /libhashsum_init_md2_hasher.c
parentDocument standard_partial_byte_{in,out}put_encoding in man pages (diff)
downloadlibhashsum-e08dff210507b3a56e8aa1cd14d653ecfb3228f9.tar.gz
libhashsum-e08dff210507b3a56e8aa1cd14d653ecfb3228f9.tar.bz2
libhashsum-e08dff210507b3a56e8aa1cd14d653ecfb3228f9.tar.xz
Add hash_excess_bits
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libhashsum_init_md2_hasher.c')
-rw-r--r--libhashsum_init_md2_hasher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhashsum_init_md2_hasher.c b/libhashsum_init_md2_hasher.c
index a30ede8..2fb1668 100644
--- a/libhashsum_init_md2_hasher.c
+++ b/libhashsum_init_md2_hasher.c
@@ -141,6 +141,7 @@ libhashsum_init_md2_hasher(struct libhashsum_hasher *this)
this->supports_non_whole_bytes = 0;
this->standard_partial_byte_input_encoding = LIBHASHSUM_UNSUPPORTED;
this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED;
+ this->hash_excess_bits = 0;
this->process = &process;
this->finalise_const = &finalise_const;
this->finalise = &finalise;