diff options
author | Werner Koch <wk@gnupg.org> | 2021-04-26 19:58:30 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2021-04-26 19:58:30 +0200 |
commit | a208f6af50333ce0c2ccb8ccfe461d975651947f (patch) | |
tree | 51b6fd6991249fcfa1647d79271d5a595ae8bcac | |
parent | 8d3db6add149696bd777c6969442d771e9efdecf (diff) | |
download | libgcrypt-a208f6af50333ce0c2ccb8ccfe461d975651947f.tar.gz |
doc: Clarify gcry_md_setkey for keyed BLAKE hashes.
--
-rw-r--r-- | doc/gcrypt.texi | 4 |
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 |