esp-idf/components/mbedtls
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
..
esp_crt_bundle Update common cert authorities csv 2023-03-12 11:00:24 +08:00
mbedtls@f5fca55508 mbedtls: fix ci failures for update v3.4.0 2023-04-17 12:55:04 +05:30
port aes: fix DMA descriptor calculation for the alignment case 2023-05-31 14:19:58 +05:30
test_apps aes: fix DMA descriptor calculation for the alignment case 2023-05-31 14:19:58 +05:30
CMakeLists.txt build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES 2023-05-08 15:51:48 +08:00
Kconfig mbedtls: Update config options as per release/v3.4.0 2023-04-17 12:50:15 +05:30