diff options
author | Werner Koch <wk@gnupg.org> | 2008-09-16 14:28:17 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-09-16 14:28:17 +0000 |
commit | 2d9eb39bd6c6c70358f6bc395ed4dfd81738e811 (patch) | |
tree | 274d122c827e46996c98471738b5926b1aae5903 /doc | |
parent | 2f1962593d4465b50ad7ec5781fa08cd44aec820 (diff) | |
download | libgcrypt-2d9eb39bd6c6c70358f6bc395ed4dfd81738e811.tar.gz |
Make fipsrngdriv more pretty.
Fix a problem in the RNG test code.
Minor doc update.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gcrypt.texi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index d4ee49d9..11c97cc9 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -3442,10 +3442,11 @@ this is the hashed data is highly confidential. @item GCRY_MD_FLAG_HMAC Turn the algorithm into a HMAC message authentication algorithm. This -only works if just one algorithm is enabled for the handle. Note that the function -@code{gcry_md_setkey} must be used to set the MAC key. If you want CBC -message authentication codes based on a cipher, see @xref{Working with -cipher handles}. +only works if just one algorithm is enabled for the handle. Note that +the function @code{gcry_md_setkey} must be used to set the MAC key. +The size of the MAC is equal to the message digest of the underlying +hash algorithm. 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 @@ -3472,7 +3473,7 @@ be set using the function: @deftypefun gcry_error_t gcry_md_setkey (gcry_md_hd_t @var{h}, const void *@var{key}, size_t @var{keylen}) For use with the HMAC feature, set the MAC key to the value of @var{key} -of length @var{keylen}. +of length @var{keylen}. There is no restriction on the length of the key. @end deftypefun |