From: Pauli Date: Fri, 16 Aug 2024 00:21:12 +0000 (+1000) Subject: doc: document the OSSL_SIGNATURE_PARAM_FIPS_VERIFY_MESSAGE parameter X-Git-Tag: openssl-3.4.0-alpha1~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9fc8702e072db7c9ec28b50f162dca9580ae89a;p=thirdparty%2Fopenssl.git doc: document the OSSL_SIGNATURE_PARAM_FIPS_VERIFY_MESSAGE parameter Reviewed-by: Tomas Mraz Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/25211) --- diff --git a/doc/man7/EVP_SIGNATURE-ECDSA.pod b/doc/man7/EVP_SIGNATURE-ECDSA.pod index 49d9dff9497..c6cc23dfa60 100644 --- a/doc/man7/EVP_SIGNATURE-ECDSA.pod +++ b/doc/man7/EVP_SIGNATURE-ECDSA.pod @@ -44,6 +44,8 @@ EVP_PKEY_CTX_get_params(). =item "fips-indicator" (B) +=item "verify-message" (B + The parameters are described in L. =back diff --git a/doc/man7/EVP_SIGNATURE-RSA.pod b/doc/man7/EVP_SIGNATURE-RSA.pod index 6ae682f7e1d..b33b0728fac 100644 --- a/doc/man7/EVP_SIGNATURE-RSA.pod +++ b/doc/man7/EVP_SIGNATURE-RSA.pod @@ -147,6 +147,8 @@ EVP_PKEY_CTX_get_params(). =item "fips-indicator" (B) +=item "verify-message" (B + These common parameter are described in L. =item "digest" (B) diff --git a/doc/man7/provider-signature.pod b/doc/man7/provider-signature.pod index e09f5f31d44..ce14c4c705c 100644 --- a/doc/man7/provider-signature.pod +++ b/doc/man7/provider-signature.pod @@ -395,6 +395,15 @@ This may be used after calling either the sign or verify final functions. It may return 0 if either the "digest-check", "key-check", or "sign-check" are set to 0. This option is used by the OpenSSL FIPS provider. +=item "verify-message" (B + +A getter that returns 1 if a signature verification operation acted on +a raw message, or 0 if it verified a predigested message. A value of 0 +indicates likely non-approved usage of the FIPS provider. This flag is +set when any signature verification initialisation function is called. +It is also set to 1 when any signing operation is performed to signify +compliance. See FIPS 140-3 IG 2.4.B for further information. + =item "key-check" (B) If required this parameter should be set early via an init function