summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hinz <michael@hinz.no>2023-11-03 14:17:39 +0100
committerHugo Landau <hlandau@openssl.org>2023-11-06 07:49:42 +0000
commitb4081e6ca4a855d09c93dd62658ab808f1273dc6 (patch)
tree66c54321f985b415cd2a8412b4916911d0844951
parent478d14cc3fde378fe722374bc1023c1e0cf00bec (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)
-rw-r--r--doc/man7/EVP_MAC-KMAC.pod2
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>