@@ -19879,7 +19879,7 @@ static wc_test_ret_t rng_seed_test(void)
1987919879 * SEED_BLOCK_SZ, which depend on which seed back end is configured.
1988019880 */
1988119881#if defined(HAVE_ENTROPY_MEMUSE) && defined(HAVE_AMD_RDSEED) && \
19882- !(defined(HAVE_FIPS) && FIPS_VERSION_LT (6,0))
19882+ !(defined(HAVE_FIPS) && FIPS_VERSION3_LT (6,0,0) && FIPS_VERSION3_NE(5,2,4 ))
1988319883 #ifdef HAVE_FIPS
1988419884 WOLFSSL_SMALL_STACK_STATIC const byte check[] =
1988519885 {
@@ -19917,7 +19917,7 @@ static wc_test_ret_t rng_seed_test(void)
1991719917 };
1991819918 #endif
1991919919#elif defined(HAVE_AMD_RDSEED) && \
19920- !(defined(HAVE_FIPS) && FIPS_VERSION_LT (6,0))
19920+ !(defined(HAVE_FIPS) && FIPS_VERSION3_LT (6,0,0) && FIPS_VERSION3_NE(5,2,4 ))
1992119921 WOLFSSL_SMALL_STACK_STATIC const byte check[] =
1992219922 {
1992319923 0x2c, 0xd4, 0x9b, 0x1e, 0x1e, 0xe7, 0xb0, 0xb0,
@@ -19926,7 +19926,7 @@ static wc_test_ret_t rng_seed_test(void)
1992619926 0xa2, 0xe7, 0xe5, 0x90, 0x6d, 0x1f, 0x88, 0x98
1992719927 };
1992819928#elif (defined(HAVE_INTEL_RDSEED) || defined(HAVE_INTEL_RDRAND)) && \
19929- !(defined(HAVE_FIPS) && FIPS_VERSION_LT (6,0))
19929+ !(defined(HAVE_FIPS) && FIPS_VERSION3_LT (6,0,0) && FIPS_VERSION3_NE(5,2,4 ))
1993019930 #ifdef HAVE_FIPS
1993119931 WOLFSSL_SMALL_STACK_STATIC const byte check[] =
1993219932 {
@@ -19945,7 +19945,7 @@ static wc_test_ret_t rng_seed_test(void)
1994519945 };
1994619946 #endif
1994719947#elif defined(HAVE_INTEL_RDSEED) && \
19948- defined(HAVE_FIPS) && FIPS_VERSION_LT (6,0)
19948+ defined(HAVE_FIPS) && FIPS_VERSION3_LT (6,0,0) && FIPS_VERSION3_NE(5,2,4 )
1994919949 WOLFSSL_SMALL_STACK_STATIC const byte check[] =
1995019950 {
1995119951 0x27, 0xdd, 0xff, 0x5b, 0x21, 0x26, 0x0a, 0x48,
0 commit comments