mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 16:26:11 +01:00
Do not set IV size for ECB mode ciphers
ECB mode ciphers do not use IVs Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
parent
23055427af
commit
567bd958ff
2 changed files with 13 additions and 10 deletions
3
ChangeLog.d/ecb_iv_fix.txt
Normal file
3
ChangeLog.d/ecb_iv_fix.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Bugfix
|
||||
* Correct the default IV size for mbedtls_cipher_info_t structures using
|
||||
MBEDTLS_MODE_ECB to 0, since ECB mode ciphers don't use IVs.
|
||||
Loading…
Add table
Add a link
Reference in a new issue