mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Merge pull request #214 from aburks/IS-213-AESFailsWithFreescaleCAU
Issue #213: AES fails with Freescale (mm)CAU
This commit is contained in:
@@ -2166,7 +2166,7 @@ int wc_AesSetIV(Aes* aes, const byte* iv)
|
||||
{
|
||||
XMEMCPY(temp_block, in + offset, AES_BLOCK_SIZE);
|
||||
|
||||
wc_AesEncrypt(aes, in + offset, out + offset);
|
||||
wc_AesDecrypt(aes, in + offset, out + offset);
|
||||
|
||||
/* XOR block with IV for CBC */
|
||||
for (i = 0; i < AES_BLOCK_SIZE; i++)
|
||||
|
Reference in New Issue
Block a user