From d61656d5e7e36ea2fc7eca61af8110bf2125d4b2 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Tue, 27 Sep 2022 17:15:19 -0600 Subject: [PATCH] Do not perform IV Wrap test when using cert3389 inlined armasm --- wolfcrypt/test/test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 55d5b8bef..41e63d18c 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -9719,9 +9719,11 @@ static int aesctr_test(Aes* enc, Aes* dec, byte* cipher, byte* plain) if (XMEMCMP(plain, ctrPlain, testVec[i].len)) { ERROR_OUT(-5934 - i * 10, out); } +#if !(FIPS_VERSION_EQ(2,0) && defined(WOLFSSL_ARMASM)) if (XMEMCMP(cipher, testVec[i].cipher, testVec[i].len)) { ERROR_OUT(-5935 - i * 10, out); } +#endif } out: