aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_hasher.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libhashsum_init_hasher.36
1 files changed, 6 insertions, 0 deletions
diff --git a/libhashsum_init_hasher.3 b/libhashsum_init_hasher.3
index 5bb2b62..6e07a79 100644
--- a/libhashsum_init_hasher.3
+++ b/libhashsum_init_hasher.3
@@ -17,6 +17,7 @@ libhashsum_init_hasher - initialise state for 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);
@@ -260,6 +261,11 @@ will be set to the block size, in bytes.
.I hasher->hash_size
will be set to the hash size, in bytes.
.PP
+.I hasher->hash_excess_bits
+will be set to number of bits the last byte in
+the hash is padded with (it will be padded with
+cleared bits in its most significant part).
+.PP
.I hasher->hash_output
will be set to
.IR NULL .