esp-idf/components/mbedtls
Mahavir Jain 18dbdbb643
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-06-07 09:22:10 +05:30
..
esp_crt_bundle Update esp_crt_bundle certificates 2022-06-06 11:22:07 +05:30
mbedtls@15b55d406d mbedtls: Update to release v2.28.3 2023-04-11 09:26:32 +00:00
port aes: fix DMA descriptor calculation for the alignment case 2023-06-07 09:22:10 +05:30
test aes: fix DMA descriptor calculation for the alignment case 2023-06-07 09:22:10 +05:30
CMakeLists.txt esp_crt_bundle: Fix build problems if MBEDTLS_CERTIFICATE_BUNDLE is disabled 2022-06-13 11:24:00 +05:30
component.mk ci: Fix issues for build stage 2022-02-02 15:07:50 +05:30
Kconfig esp_crt_bundle: Add bounds checking for the "esp_crt_bundle_set" API. 2022-06-06 11:22:02 +05:30
Makefile.projbuild esp32, mbedtls: check component name when enabling test flags 2018-11-20 01:27:24 +08:00