esp-idf/components/mbedtls/port
Mahavir Jain f7a01d8f90
aes: fix DMA descriptor calculation for the alignment case
The number of the DMA descriptors allocated for certain length (e.g.,
8176) were not sufficient (off by 1 error). This used to result in the
dynamic memory corruption as the region was modified beyond the
allocated range.

This change fixes the DMA descriptor calculation part and allocates
sufficient DMA descriptors based on the data length alignment considerations.

Test has also been added to cover the specific scenario in the CI.

Closes https://github.com/espressif/esp-idf/issues/11310
2023-05-31 14:19:58 +05:30
..
aes aes: fix DMA descriptor calculation for the alignment case 2023-05-31 14:19:58 +05:30
bignum
crypto_shared_gdma
dynamic
ecc
ecdsa
esp_ds esp_ds: ignore releasing mutex if not called from same task 2023-05-15 15:02:38 +02:00
include
md
sha
esp_hardware.c
esp_mem.c
esp_timing.c
mbedtls_debug.c
net_sockets.c