From 36978c19a9a5bfd514b1c6f9db66fda4b39ed2c3 Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Mon, 14 Dec 2020 14:36:48 +1000 Subject: Replace MAC flags OSSL_MAC_PARAM_FLAGS with separate param fields. Fixes #12992 Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/13830) --- doc/man7/EVP_MAC-HMAC.pod | 6 ++++-- doc/man7/provider-mac.pod | 11 +++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'doc/man7') diff --git a/doc/man7/EVP_MAC-HMAC.pod b/doc/man7/EVP_MAC-HMAC.pod index 94bac8dbcf..8136bed000 100644 --- a/doc/man7/EVP_MAC-HMAC.pod +++ b/doc/man7/EVP_MAC-HMAC.pod @@ -30,10 +30,12 @@ The following parameter can be set with EVP_MAC_CTX_set_params(): =item "key" (B) -=item "flags" (B) - =item "digest" (B) +=item "digest-noinit" (B) + +=item "digest-oneshot" (B) + =item "properties" (B) =item "tls-data-size" (B) diff --git a/doc/man7/provider-mac.pod b/doc/man7/provider-mac.pod index f89b1fe0e2..f18a8c7fde 100644 --- a/doc/man7/provider-mac.pod +++ b/doc/man7/provider-mac.pod @@ -172,9 +172,16 @@ Sets the salt of the underlying cipher, when applicable. Sets XOF mode in the associated MAC ctx. 0 means no XOF mode, 1 means XOF mode. -=item "flags" (B) +=item "digest-noinit" (B) + +A simple flag to set the MAC digest to not initialise the +implementation specific data. The value 0 or 1 is expected. + +=item "digest-oneshot" (B) + +A simple flag to set the MAC digest to be a oneshot operation. +The value 0 or 1 is expected. -Gets flags associated with the MAC. =for comment We need to investigate if this is the right approach -- cgit v1.2.3