mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
98c53234fc
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 |
||
---|---|---|
.. | ||
crts | ||
CMakeLists.txt | ||
component.mk | ||
test_aes_gcm.c | ||
test_aes_perf.c | ||
test_aes_sha_parallel.c | ||
test_aes_sha_rsa.c | ||
test_aes.c | ||
test_apb_dport_access.c | ||
test_apb_dport_access.h | ||
test_ecp.c | ||
test_esp_crt_bundle.c | ||
test_mbedtls_mpi.c | ||
test_mbedtls_sha.c | ||
test_mbedtls.c | ||
test_rsa.c | ||
test_sha_perf.c | ||
test_sha.c |