esp-idf/components/mbedtls/test
Mahavir Jain 94e139e639
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:26:30 +05:30
..
crts esp_crt_bundle: add additional unit tests 2020-12-08 10:11:31 +08:00
CMakeLists.txt Storage: Partition APIs moved to the new component 'esp_partition' 2022-11-02 21:49:08 +01:00
test_aes_gcm.c mbedtls: GCM implementation is replaced with CTR-based calculation 2023-01-09 18:37:07 +05:30
test_aes_perf.c mbedtls: enable all tests except SHA for ESP32-C2 2022-06-10 15:08:06 +05:30
test_aes_sha_parallel.c SHA: added hardware support for SHA on C2. 2022-06-23 11:01:16 +08:00
test_aes_sha_rsa.c mbedtls-3 update: 2022-03-03 01:37:10 +05:30
test_aes.c aes: fix DMA descriptor calculation for the alignment case 2023-06-07 09:26:30 +05:30
test_apb_dport_access.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
test_apb_dport_access.h tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
test_ecp.c mbedtls/ecp: Fix incorrect ECP parameter value 2023-02-08 21:35:49 +05:30
test_esp_crt_bundle.c ci: Enable custom certificate bundle test for ESP32-S3 2022-06-21 14:18:23 +05:30
test_mbedtls_mpi.c mbedtls: enable all tests except SHA for ESP32-C2 2022-06-10 15:08:06 +05:30
test_mbedtls_sha.c esp_hw_support: Remove compare_set.h API 2022-07-22 00:06:06 +08:00
test_mbedtls_utils.c ci: Fix pre-check stage failing tests 2022-03-03 01:37:10 +05:30
test_mbedtls_utils.h ci: Fix pre-check stage failing tests 2022-03-03 01:37:10 +05:30
test_mbedtls.c mbedtls: enable all tests except SHA for ESP32-C2 2022-06-10 15:08:06 +05:30
test_rsa.c TWDT: the Kconfig option ESP_TASK_WDT_EN is now used to enable Task Watchdog 2022-12-01 10:45:35 +00:00
test_sha_perf.c SHA: added hardware support for SHA on C2. 2022-06-23 11:01:16 +08:00
test_sha.c Storage: Partition APIs moved to the new component 'esp_partition' 2022-11-02 21:49:08 +01:00