Fix for AES CTR on STM32

This commit is contained in:
Lealem Amedie 2024-04-19 12:35:33 -06:00
parent 08b42b7c93
commit 9bc0e31a32

View File

@ -6151,7 +6151,7 @@ int wc_AesCbcEncrypt(Aes* aes, byte* out, const byte* in, word32 sz)
return BAD_FUNC_ARG;
}
return wc_AesSetKeyLocal(aes, key, len, iv, dir, 0);
return wc_AesSetKey(aes, key, len, iv, dir);
}
#endif /* NEED_AES_CTR_SOFT */