diff options
author | Michael Hinz <michael@hinz.no> | 2023-11-03 14:17:39 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-11-06 07:49:26 +0000 |
commit | b37871cd0a4290cbaba9464856a7f17f26d1c30a (patch) | |
tree | 7899bda20f5d8166bb18c939e4660631bc55570e /doc | |
parent | 44c65547664203c746e257b0b598cbec5223fbbc (diff) |
Fix documentation regarding KMAC sizes
As per recommendation by jfinkhaeuser, this documents the defaults for
KMAC-128 as 32 and for KMAC-256 as 64. The code already accomodates for
these values, so no changes are needed there.
Fixes #22381
CLA: trivial
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22614)
(cherry picked from commit 56d1ab3b6c7468ce0f534f09e305a539101f9c3d)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man7/EVP_MAC-KMAC.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man7/EVP_MAC-KMAC.pod b/doc/man7/EVP_MAC-KMAC.pod index 1065c166db..dc67c66336 100644 --- a/doc/man7/EVP_MAC-KMAC.pod +++ b/doc/man7/EVP_MAC-KMAC.pod @@ -51,7 +51,7 @@ It is an optional value with a length of at most 512 bytes, and is empty by defa =item "size" (B<OSSL_MAC_PARAM_SIZE>) <unsigned integer> Sets the MAC size. -By default, it is 16 for C<KMAC-128> and 32 for C<KMAC-256>. +By default, it is 32 for C<KMAC-128> and 64 for C<KMAC-256>. =item "block-size" (B<OSSL_MAC_PARAM_SIZE>) <unsigned integer> |