]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc: document the OSSL_SIGNATURE_PARAM_FIPS_VERIFY_MESSAGE parameter
authorPauli <ppzgs1@gmail.com>
Fri, 16 Aug 2024 00:21:12 +0000 (10:21 +1000)
committerPauli <ppzgs1@gmail.com>
Thu, 22 Aug 2024 21:17:02 +0000 (07:17 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/25211)

doc/man7/EVP_SIGNATURE-ECDSA.pod
doc/man7/EVP_SIGNATURE-RSA.pod
doc/man7/provider-signature.pod

index 49d9dff949735ab38a2360c41d5f7bd45b478bb4..c6cc23dfa60c2c3732bc946c52a53f9d424535e3 100644 (file)
@@ -44,6 +44,8 @@ EVP_PKEY_CTX_get_params().
 
 =item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
+=item "verify-message" (B<OSSL_SIGNATURE_PARAM_FIPS_VERIFY_MESSAGE> <integer>
+
 The parameters are described in L<provider-signature(7)>.
 
 =back
index 6ae682f7e1d5397bda19ff024d788dc46464a765..b33b0728fac2d8e315e56fdceac127c5d3921679 100644 (file)
@@ -147,6 +147,8 @@ EVP_PKEY_CTX_get_params().
 
 =item "fips-indicator" (B<OSSL_SIGNATURE_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
 
+=item "verify-message" (B<OSSL_SIGNATURE_PARAM_FIPS_VERIFY_MESSAGE> <integer>
+
 These common parameter are described in L<provider-signature(7)>.
 
 =item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string>
index e09f5f31d44e4f067d94e9b1b6c6f238386aa4e7..ce14c4c705c53d947d40f15065e4993d8619f0ff 100644 (file)
@@ -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<OSSL_SIGNATURE_PARAM_FIPS_VERIFY_MESSAGE> <integer>
+
+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<OSSL_SIGNATURE_PARAM_FIPS_KEY_CHECK>) <integer>
 
 If required this parameter should be set early via an init function