From: Pauli Date: Thu, 25 Feb 2021 04:27:29 +0000 (+1000) Subject: doc: update KMAC doc to not say that the `KEY\' parameter needs to be set before... X-Git-Tag: openssl-3.0.0-alpha13~120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9258f7efa7aacfef08dccb4e0f11e7cc17f078f8;p=thirdparty%2Fopenssl.git doc: update KMAC doc to not say that the `KEY\' parameter needs to be set before the init call Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14310) --- diff --git a/doc/man7/EVP_MAC-KMAC.pod b/doc/man7/EVP_MAC-KMAC.pod index 9d402880441..46fce762744 100644 --- a/doc/man7/EVP_MAC-KMAC.pod +++ b/doc/man7/EVP_MAC-KMAC.pod @@ -47,8 +47,10 @@ The default value is 0. =back -The "custom" and "key" parameters must be set before EVP_MAC_init(). +The "custom" parameter must be set as part of or before the EVP_MAC_init() call. The "xof" and "size" parameters can be set at any time before EVP_MAC_final(). +The "key" parameter is set as part of the EVP_MAC_init() call, but can be +set before it instead. =head1 EXAMPLES