Merge pull request #5640 from kaleb-himes/ARMv8-FIPSv2-MOD-TEST

Do not perform IV Wrap test when using cert3389 inlined armasm
pull/5643/head
Sean Parkinson 2022-09-29 08:01:54 +10:00 committed by GitHub
commit cec6341e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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: