mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 08:43:02 +00: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:
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.
|
||||
Reference in New Issue
Block a user