Skip to content

Commit 2620682

Browse files
committed
Prefer ARMASM over MMCAU for AES CBC when both enabled
1 parent 0aaa31c commit 2620682

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/aes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5887,7 +5887,7 @@ int wc_AesSetIV(Aes* aes, const byte* iv)
58875887
}
58885888
#endif /* HAVE_AES_DECRYPT */
58895889

5890-
#elif defined(FREESCALE_MMCAU)
5890+
#elif defined(FREESCALE_MMCAU) && !defined(WOLFSSL_ARMASM)
58915891
int wc_AesCbcEncrypt(Aes* aes, byte* out, const byte* in, word32 sz)
58925892
{
58935893
int offset = 0;

0 commit comments

Comments
 (0)