From a208f6af50333ce0c2ccb8ccfe461d975651947f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 26 Apr 2021 19:58:30 +0200 Subject: doc: Clarify gcry_md_setkey for keyed BLAKE hashes. -- --- doc/gcrypt.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.1