diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index 7c7f4702a..d40d9dd1a 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -1124,6 +1124,7 @@ static const bench_pq_hash_sig_alg bench_pq_hash_sig_opt[] = { }; #endif /* BENCH_PQ_STATEFUL_HBS */ +#ifndef WOLFSSL_BENCHMARK_ALL #if defined(WOLFSSL_HAVE_MLKEM) || defined(HAVE_FALCON) || \ defined(HAVE_DILITHIUM) || defined(HAVE_SPHINCS) /* The post-quantum-specific mapping of command line option to bit values and @@ -1181,6 +1182,8 @@ static const bench_pq_alg bench_pq_asym_opt2[] = { #endif /* HAVE_SPHINCS */ #endif +#endif + #ifdef HAVE_WNR const char* wnrConfigFile = "wnr-example.conf"; #endif