Fix for AES CTR on STM32
This commit is contained in:
parent
08b42b7c93
commit
9bc0e31a32
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user