From: Pauli Date: Thu, 11 Jul 2024 04:36:25 +0000 (+1000) Subject: Document the fips-indicator param for the test RNG X-Git-Tag: openssl-3.4.0-alpha1~332 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ac531ddcb78e531f9e40166a9d1149b00838f5f;p=thirdparty%2Fopenssl.git Document the fips-indicator param for the test RNG Reviewed-by: Shane Lontis Reviewed-by: Tom Cosgrove (Merged from https://github.com/openssl/openssl/pull/24851) --- diff --git a/doc/man3/EVP_RAND.pod b/doc/man3/EVP_RAND.pod index fb6b98e2641..d54766bb99a 100644 --- a/doc/man3/EVP_RAND.pod +++ b/doc/man3/EVP_RAND.pod @@ -267,6 +267,12 @@ Returns the state of the random number generator. Returns the bit strength of the random number generator. +=item "fips-indicator" (B) + +A getter that returns 1 if the operation is FIPS approved, or 0 otherwise. +This option is used by the OpenSSL FIPS provider and is not supported +by all EVP_RAND sources. + =back For rands that are also deterministic random bit generators (DRBGs), these diff --git a/doc/man7/EVP_RAND-TEST-RAND.pod b/doc/man7/EVP_RAND-TEST-RAND.pod index b7a0e0b43c4..56e2227f560 100644 --- a/doc/man7/EVP_RAND-TEST-RAND.pod +++ b/doc/man7/EVP_RAND-TEST-RAND.pod @@ -22,6 +22,8 @@ The supported parameters are: =item "state" (B) +=item "fips-indicator" (B) + These parameter works as described in L. =item "strength" (B) diff --git a/doc/man7/provider-rand.pod b/doc/man7/provider-rand.pod index 64d6f1b3bb4..b6310df3a97 100644 --- a/doc/man7/provider-rand.pod +++ b/doc/man7/provider-rand.pod @@ -191,6 +191,12 @@ Returns the state of the random number generator. Returns the bit strength of the random number generator. +=item "fips-indicator" (B) + +A getter that returns 1 if the operation is FIPS approved, or 0 otherwise. +This option is used by the OpenSSL FIPS provider and is not supported +by all EVP_RAND sources. + =back For rands that are also deterministic random bit generators (DRBGs), these