summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2021-04-26 19:58:30 +0200
committerWerner Koch <wk@gnupg.org>2021-04-26 19:58:30 +0200
commita208f6af50333ce0c2ccb8ccfe461d975651947f (patch)
tree51b6fd6991249fcfa1647d79271d5a595ae8bcac /doc
parent8d3db6add149696bd777c6969442d771e9efdecf (diff)
downloadlibgcrypt-a208f6af50333ce0c2ccb8ccfe461d975651947f.tar.gz
doc: Clarify gcry_md_setkey for keyed BLAKE hashes.
--
Diffstat (limited to 'doc')
-rw-r--r--doc/gcrypt.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index 616d51a1..c2022284 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
@@ -3515,8 +3515,8 @@ be set using the function:
For use with the HMAC feature or BLAKE2 keyed hash, set the MAC key to
the value of @var{key} of length @var{keylen} bytes. For HMAC, there
is no restriction on the length of the key. For keyed BLAKE2b hash,
-length of the key must be 64 bytes or less. For keyed BLAKE2s hash,
-length of the key must be 32 bytes or less.
+length of the key must be in the range 1 to 64 bytes. For keyed
+BLAKE2s hash, length of the key must be in the range 1 to 32 bytes.
@end deftypefun