aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_shake128_hasher.3
diff options
context:
space:
mode:
Diffstat (limited to 'libhashsum_init_shake128_hasher.3')
-rw-r--r--libhashsum_init_shake128_hasher.37
1 files changed, 6 insertions, 1 deletions
diff --git a/libhashsum_init_shake128_hasher.3 b/libhashsum_init_shake128_hasher.3
index f852491..160b82d 100644
--- a/libhashsum_init_shake128_hasher.3
+++ b/libhashsum_init_shake128_hasher.3
@@ -63,7 +63,12 @@ will point to a buffer in
will be set to the block size SHAKE128 uses, in bytes.
.PP
.I hasher->hash_size
-will be set to the size of SHAKE128 hashes, in bytes
+will be set to the hash size, in bytes, which is
+.I (hashbits+7)/8
+unless
+.IR hashbits==0 ,
+and 128 if
+.I hashbits==0
.RI ( LIBHASHSUM_SHAKE128_HASH_SIZE
if
.I hashbits