]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Document the fips-indicator param for the test RNG
authorPauli <ppzgs1@gmail.com>
Thu, 11 Jul 2024 04:36:25 +0000 (14:36 +1000)
committerPauli <ppzgs1@gmail.com>
Wed, 17 Jul 2024 00:43:21 +0000 (10:43 +1000)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/24851)

doc/man3/EVP_RAND.pod
doc/man7/EVP_RAND-TEST-RAND.pod
doc/man7/provider-rand.pod

index fb6b98e264149a3c4eba8bc87ab172a837465192..d54766bb99a787af420f9aed19c2d27058b9b670 100644 (file)
@@ -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<OSSL_RAND_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
+
+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
index b7a0e0b43c481810a4044a08d0266f70044814f3..56e2227f560cc3549186c657ad845b2ff1e4af8d 100644 (file)
@@ -22,6 +22,8 @@ The supported parameters are:
 
 =item "state" (B<OSSL_RAND_PARAM_STATE>) <integer>
 
+=item "fips-indicator" (B<OSSL_RAND_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
+
 These parameter works as described in L<EVP_RAND(3)/PARAMETERS>.
 
 =item "strength" (B<OSSL_RAND_PARAM_STRENGTH>) <unsigned integer>
index 64d6f1b3bb4ae4c7124db3cc30fd8bdef2e99f3e..b6310df3a970b3ad4e2d8e2c07d1cb5f8d928f1a 100644 (file)
@@ -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<OSSL_RAND_PARAM_FIPS_APPROVED_INDICATOR>) <integer>
+
+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