We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8debda1 commit fa0696dCopy full SHA for fa0696d
src/we_internal.c
@@ -789,8 +789,14 @@ static int wolfengine_init(ENGINE *e)
789
790
WOLFENGINE_ENTER(WE_LOG_ENGINE, "wolfengine_init");
791
792
+#if defined(HAVE_FIPS_VERSION) && HAVE_FIPS_VERSION == 5
793
+ wolfCrypt_SetPrivateKeyReadEnable_fips(1, WC_KEYTYPE_ALL);
794
+#endif
795
#if defined(WE_HAVE_ECC) || defined(WE_HAVE_AESGCM) || defined(WE_HAVE_RSA) || \
796
defined(WE_HAVE_DH) || defined(WE_HAVE_RANDOM)
797
+#ifdef WC_RNG_SEED_CB
798
+ wc_SetSeed_Cb(wc_GenerateSeed);
799
800
ret = we_init_random();
801
#endif
802
#ifdef WE_HAVE_SHA1
0 commit comments