We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 66596ad + 00f196d commit 805c2d4Copy full SHA for 805c2d4
1 file changed
wolfcrypt/test/test.c
@@ -20075,7 +20075,8 @@ static wc_test_ret_t dh_ffdhe_test(WC_RNG *rng, int name)
20075
ERROR_OUT(WC_TEST_RET_ENC_NC, done);
20076
}
20077
20078
-#if defined(WOLFSSL_HAVE_SP_DH) || defined(USE_FAST_MATH)
+#if (defined(WOLFSSL_HAVE_SP_DH) || defined(USE_FAST_MATH)) && \
20079
+ !defined(HAVE_INTEL_QA)
20080
/* Make p even */
20081
key->p.dp[0] &= (mp_digit)-2;
20082
if (ret != 0)
@@ -20107,7 +20108,7 @@ static wc_test_ret_t dh_ffdhe_test(WC_RNG *rng, int name)
20107
20108
20109
/* Getting here means success - set ret to 0. */
20110
ret = 0;
-#endif
20111
+#endif /* (SP DH or Fast Math) and not Intel QuickAssist */
20112
20113
done:
20114
0 commit comments