diff options
Diffstat (limited to 'doc/gcrypt.texi')
-rw-r--r-- | doc/gcrypt.texi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index 8a869d5c..e3f103c9 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -1689,10 +1689,12 @@ Allocate all buffers and the resulting digest in "secure memory". Use this is the hashed data is highly confidential. @item GCRY_MD_FLAG_HMAC -Turn the algorithm into a HMAC message authentication algorithm. Note -that the function @code{gcry_md_setkey} must be used set the MAC key. -If you want CBC message authentication codes based on a cipher, see -@xref{Working with cipher handles}. +Turn the algorithm into a HMAC message authentication algorithm. This +does only work if just one algorithm is enabled for the handle and +SHA-384 and SHA512 is not used. Note that the function +@code{gcry_md_setkey} must be used set the MAC key. If you want CBC +message authentication codes based on a cipher, see @xref{Working with +cipher handles}. @end table @c begin table of hash flags |