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:48:11 +0000
commit56d1ab3b6c7468ce0f534f09e305a539101f9c3d (patch)
tree00c89c2b87acb06d036312e299e19f55ee812f4a
parent0c2aabbaeacf1cc9864daaed11fae755fe7bc025 (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)
-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>