diff options
Diffstat (limited to 'libhashsum_init_sha1_hasher.3')
-rw-r--r-- | libhashsum_init_sha1_hasher.3 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libhashsum_init_sha1_hasher.3 b/libhashsum_init_sha1_hasher.3 index 936f7cc..292069e 100644 --- a/libhashsum_init_sha1_hasher.3 +++ b/libhashsum_init_sha1_hasher.3 @@ -15,6 +15,7 @@ libhashsum_init_sha1_hasher - initialise state for SHA-1 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); @@ -54,6 +55,10 @@ will be set to the block size SHA-1 uses, in bytes. will be set to the size of SHA-1 hashes, in bytes .RI ( LIBHASHSUM_SHA1_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 . |