Skip to content

Commit 1a3bf5e

Browse files
Merge pull request #6822 from douzzer/20230930-aes-xts-test-gate
20230930-aes-xts-test-gate
2 parents ecf666a + 3e7f4c5 commit 1a3bf5e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

wolfcrypt/test/test.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9500,7 +9500,9 @@ static wc_test_ret_t aes_xts_128_test(void)
95009500

95019501
#endif /* !HAVE_FIPS || FIPS_VERSION_GE(5,3) */
95029502

9503-
#if !defined(BENCH_EMBEDDED) && !defined(HAVE_CAVIUM)
9503+
#if !defined(BENCH_EMBEDDED) && !defined(HAVE_CAVIUM) && \
9504+
(!defined(HAVE_FIPS) || FIPS_VERSION_GE(5,3)) && \
9505+
!defined(WOLFSSL_AFALG)
95049506
{
95059507
#define LARGE_XTS_SZ 1024
95069508
#if defined(WOLFSSL_SMALL_STACK) && !defined(WOLFSSL_NO_MALLOC)
@@ -9553,7 +9555,10 @@ static wc_test_ret_t aes_xts_128_test(void)
95539555
XFREE(large_input, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
95549556
#endif
95559557
}
9556-
#endif
9558+
#endif /* !BENCH_EMBEDDED && !HAVE_CAVIUM &&
9559+
* (!HAVE_FIPS || FIPS_VERSION_GE(5,3)) &&
9560+
* !WOLFSSL_AFALG
9561+
*/
95579562

95589563
out:
95599564

0 commit comments

Comments
 (0)