Skip WolfCryptMacTest for HMAC-MD5 for FIPS>2, CAST does not support

pull/35/head
Chris Conlon 2022-07-19 14:29:51 -06:00
parent 728e5ba244
commit 7982d4d538
1 changed files with 5 additions and 0 deletions

View File

@ -190,6 +190,11 @@ public class WolfCryptMacTest {
)
};
/* FIPS>v2 does not support HMAC-MD5 in CAST, skip test */
if (Fips.fipsVersion > 2) {
Assume.assumeTrue(false);
}
for (int i = 0; i < vectors.length; i++) {
if ((i == 1) && Fips.enabled) {