]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add failed entropy continuous test error
authorPauli <ppzgs1@gmail.com>
Tue, 3 Sep 2024 23:42:52 +0000 (09:42 +1000)
committerPauli <ppzgs1@gmail.com>
Wed, 18 Sep 2024 22:43:58 +0000 (08:43 +1000)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25415)

crypto/err/openssl.txt
include/openssl/proverr.h
providers/common/provider_err.c

index 9b24e77a017096e31e499dd7fbf54ea380f9ca26..404be7517af84fbf6aed04e3185b63aff06fe923 100644 (file)
@@ -1041,6 +1041,8 @@ PROV_R_COFACTOR_REQUIRED:236:cofactor required
 PROV_R_DERIVATION_FUNCTION_INIT_FAILED:205:derivation function init failed
 PROV_R_DIGEST_NOT_ALLOWED:174:digest not allowed
 PROV_R_EMS_NOT_ENABLED:233:ems not enabled
+PROV_R_ENTROPY_SOURCE_FAILED_CONTINUOUS_TESTS:244:\
+       entropy source failed continuous tests
 PROV_R_ENTROPY_SOURCE_STRENGTH_TOO_WEAK:186:entropy source strength too weak
 PROV_R_ERROR_INSTANTIATING_DRBG:188:error instantiating drbg
 PROV_R_ERROR_RETRIEVING_ENTROPY:189:error retrieving entropy
index c5ce438b060117d425b39ca0b0568dfa3752daf7..d10b653152ec70adecb495f5c1f5eb539783e4b6 100644 (file)
@@ -34,6 +34,7 @@
 # define PROV_R_DERIVATION_FUNCTION_INIT_FAILED           205
 # define PROV_R_DIGEST_NOT_ALLOWED                        174
 # define PROV_R_EMS_NOT_ENABLED                           233
+# define PROV_R_ENTROPY_SOURCE_FAILED_CONTINUOUS_TESTS    244
 # define PROV_R_ENTROPY_SOURCE_STRENGTH_TOO_WEAK          186
 # define PROV_R_ERROR_INSTANTIATING_DRBG                  188
 # define PROV_R_ERROR_RETRIEVING_ENTROPY                  189
index 8a4f7b1db0f14b60b0925b18dbc315ece565f538..df4bab0966d8c4f07f95ce0aa30dc4edf5453eac 100644 (file)
@@ -35,6 +35,8 @@ static const ERR_STRING_DATA PROV_str_reasons[] = {
     {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_DIGEST_NOT_ALLOWED),
      "digest not allowed"},
     {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_EMS_NOT_ENABLED), "ems not enabled"},
+    {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_ENTROPY_SOURCE_FAILED_CONTINUOUS_TESTS),
+     "entropy source failed continuous tests"},
     {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_ENTROPY_SOURCE_STRENGTH_TOO_WEAK),
      "entropy source strength too weak"},
     {ERR_PACK(ERR_LIB_PROV, 0, PROV_R_ERROR_INSTANTIATING_DRBG),