mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 11:30:51 +02:00
Gate out all of the newly added AES-CMAC tests for FIPS as none of them will apply to the old FIPS AES-CMAC code.
This commit is contained in:
@@ -252,7 +252,6 @@ int test_wc_AesCmacGenerate(void)
|
||||
key, keySz), WC_NO_ERR_TRACE(BAD_FUNC_ARG));
|
||||
ExpectIntEQ(wc_AesCmacVerify(mac, WC_AES_BLOCK_SIZE + 1, msg, msgSz,
|
||||
key, keySz), WC_NO_ERR_TRACE(BAD_FUNC_ARG));
|
||||
#endif
|
||||
|
||||
/* Truncated tags within the supported range must verify correctly when
|
||||
* the generator was asked to produce the same length */
|
||||
@@ -287,6 +286,7 @@ int test_wc_AesCmacGenerate(void)
|
||||
ExpectIntEQ(wc_AesCmacVerify(badMac, WC_AES_BLOCK_SIZE, msg, msgSz,
|
||||
key, keySz), WC_NO_ERR_TRACE(MAC_CMP_FAILED_E));
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
return EXPECT_RESULT();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user