diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 4496567d2..0ead87dd0 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -11677,7 +11677,6 @@ static wc_test_ret_t aes_xts_192_test(void) 0x65, 0x37, 0x15, 0x53, 0xf1, 0x98, 0xab, 0xb4 }; -#ifndef HAVE_FIPS /* FIPS requires different keys for main and tweak. */ WOLFSSL_SMALL_STACK_STATIC unsigned char k3[] = { 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, @@ -11704,7 +11703,6 @@ static wc_test_ret_t aes_xts_192_test(void) 0xe8, 0xc5, 0x99, 0x3d, 0x58, 0x3c, 0xeb, 0xba, 0x86, 0xea, 0x2c, 0x7e, 0x1f, 0xba, 0x81, 0xde }; -#endif /* HAVE_FIPS */ #if defined(WOLFSSL_SMALL_STACK) && !defined(WOLFSSL_NO_MALLOC) if ((aes = (XtsAes *)XMALLOC(sizeof *aes, HEAP_HINT, DYNAMIC_TYPE_AES)) == NULL) @@ -12019,8 +12017,6 @@ static wc_test_ret_t aes_xts_192_test(void) if (XMEMCMP(p2, buf, sizeof(p2))) ERROR_OUT(WC_TEST_RET_ENC_NC, out); -#ifndef HAVE_FIPS - /* Test ciphertext stealing in-place. */ XMEMCPY(buf, p3, sizeof(p3)); ret = wc_AesXtsSetKeyNoInit(aes, k3, sizeof(k3), AES_ENCRYPTION); @@ -12104,8 +12100,6 @@ static wc_test_ret_t aes_xts_192_test(void) ERROR_OUT(WC_TEST_RET_ENC_NC, out); #endif /* WOLFSSL_AESXTS_STREAM */ -#endif /* !HAVE_FIPS */ - #if !defined(BENCH_EMBEDDED) && !defined(HAVE_CAVIUM) && \ !defined(WOLFSSL_AFALG) {