From e08dff210507b3a56e8aa1cd14d653ecfb3228f9 Mon Sep 17 00:00:00 2001
From: Mattias Andrée <maandree@kth.se>
Date: Fri, 6 Sep 2024 20:00:21 +0200
Subject: Add hash_excess_bits
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mattias Andrée <maandree@kth.se>
---
 libhashsum_init_md2_hasher.3 | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'libhashsum_init_md2_hasher.3')

diff --git a/libhashsum_init_md2_hasher.3 b/libhashsum_init_md2_hasher.3
index 51a388f..4229718 100644
--- a/libhashsum_init_md2_hasher.3
+++ b/libhashsum_init_md2_hasher.3
@@ -15,6 +15,7 @@ libhashsum_init_md2_hasher - initialise state for MD2 hashing
 	unsigned char \fIsupports_non_whole_bytes\fP;
 	unsigned char \fIstandard_partial_byte_input_encoding\fP;
 	unsigned char \fIstandard_partial_byte_output_encoding\fP;
+	unsigned char \fIhash_excess_bits\fP;
 	size_t (*\fIprocess\fP)(struct libhashsum_hasher *\fPthis\fP, const void *\fPdata\fP, size_t \fPbytes\fP);
 	int (*\fIfinalise_const\fP)(struct libhashsum_hasher *\fPthis\fP, const void *\fPdata\fP, size_t \fPbytes\fP, unsigned \fPextra_bits\fP);
 	int (*\fIfinalise\fP)(struct libhashsum_hasher *\fPthis\fP, void *\fPdata\fP, size_t \fPbytes\fP, unsigned \fPextra_bits\fP, size_t \fPsize\fP);
@@ -53,6 +54,10 @@ will be set to the block size MD2 uses, in bytes.
 will be set to the size of MD2 hashes, in bytes
 .RI ( LIBHASHSUM_MD2_HASH_SIZE ).
 .PP
+.I hasher->hash_excess_bits
+will be set to 0 to indicate that the hash size
+is a whole number of bytes.
+.PP
 .I hasher->hash_output
 will be set to
 .IR NULL .
-- 
cgit v1.2.3-70-g09d2