File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3817,7 +3817,8 @@ static void* benchmarks_do(void* args)
38173817 if (bench_all || (bench_other_algs & BENCH_RNG))
38183818 bench_rng();
38193819#endif /* WC_NO_RNG */
3820- #if defined(WOLFSSL_DRBG_SHA512) && !defined(HAVE_SELFTEST) && \
3820+ #if defined(WOLFSSL_DRBG_SHA512) && !defined(WC_NO_RNG) && \
3821+ !defined(HAVE_SELFTEST) && \
38213822 (!defined(HAVE_FIPS) || FIPS_VERSION3_GE(7,0,0))
38223823 if (bench_all || (bench_other_algs & BENCH_RNG_SHA512))
38233824 bench_rng_sha512();
@@ -4965,7 +4966,8 @@ void bench_rng(void)
49654966}
49664967#endif /* WC_NO_RNG */
49674968
4968- #if defined(WOLFSSL_DRBG_SHA512) && !defined(HAVE_SELFTEST) && \
4969+ #if defined(WOLFSSL_DRBG_SHA512) && !defined(WC_NO_RNG) && \
4970+ !defined(HAVE_SELFTEST) && \
49694971 (!defined(HAVE_FIPS) || FIPS_VERSION3_GE(7,0,0))
49704972void bench_rng_sha512(void)
49714973{
@@ -5039,7 +5041,7 @@ void bench_rng_sha512(void)
50395041 wc_Sha256Drbg_Enable();
50405042#endif
50415043}
5042- #endif /* WOLFSSL_DRBG_SHA512 && !HAVE_SELFTEST && FIPS v7+ */
5044+ #endif /* WOLFSSL_DRBG_SHA512 && !WC_NO_RNG && ! HAVE_SELFTEST && FIPS v7+ */
50435045
50445046#ifndef NO_AES
50455047
Original file line number Diff line number Diff line change @@ -127,7 +127,8 @@ void bench_sakkeRskGen(void);
127127void bench_sakkeValidate (void );
128128void bench_sakke (void );
129129void bench_rng (void );
130- #if defined(WOLFSSL_DRBG_SHA512 ) && !defined(HAVE_SELFTEST ) && \
130+ #if defined(WOLFSSL_DRBG_SHA512 ) && !defined(WC_NO_RNG ) && \
131+ !defined(HAVE_SELFTEST ) && \
131132 (!defined(HAVE_FIPS ) || FIPS_VERSION3_GE (7 ,0 ,0 ))
132133void bench_rng_sha512 (void );
133134#endif
You can’t perform that action at this time.
0 commit comments