From 7403656ca4df31eecadad7ce5df9565577c9006e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 4 Sep 2024 22:33:55 +0200 Subject: m doc improvement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libhashsum_init_shake256_hasher.3 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libhashsum_init_shake256_hasher.3') diff --git a/libhashsum_init_shake256_hasher.3 b/libhashsum_init_shake256_hasher.3 index 972e68e..a38f405 100644 --- a/libhashsum_init_shake256_hasher.3 +++ b/libhashsum_init_shake256_hasher.3 @@ -63,7 +63,12 @@ will point to a buffer in will be set to the block size SHAKE256 uses, in bytes. .PP .I hasher->hash_size -will be set to the size of SHAKE256 hashes, in bytes +will be set to the hash size, in bytes, which is +.I (hashbits+7)/8 +unless +.IR hashbits==0 , +and 256 if +.I hashbits==0 .RI ( LIBHASHSUM_SHAKE256_HASH_SIZE if .I hashbits -- cgit v1.2.3-70-g09d2