diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-06 20:00:21 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-06 20:00:21 +0200 |
commit | e08dff210507b3a56e8aa1cd14d653ecfb3228f9 (patch) | |
tree | 66771aef79dd8e5da0d88035cf601d0219d7010d /libhashsum_init_blake2s_hasher.3 | |
parent | Document standard_partial_byte_{in,out}put_encoding in man pages (diff) | |
download | libhashsum-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 '')
-rw-r--r-- | libhashsum_init_blake2s_hasher.3 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libhashsum_init_blake2s_hasher.3 b/libhashsum_init_blake2s_hasher.3 index 4f97f08..aee2c38 100644 --- a/libhashsum_init_blake2s_hasher.3 +++ b/libhashsum_init_blake2s_hasher.3 @@ -15,6 +15,7 @@ libhashsum_init_blake2s_hasher - initialise state for BLAKE2s 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); @@ -132,6 +133,10 @@ unless .I LIBHASHSUM_BLAKE2S_HASH_SIZE otherwise. .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 . |