esp-idf/components/mbedtls/test
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
..
crts esp_crt_bundle: add additional unit tests 2020-12-08 10:11:31 +08:00
CMakeLists.txt esp_crt_bundle: add additional unit tests 2020-12-08 10:11:31 +08:00
component.mk Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_aes_gcm.c AES: refactor and add HAL layer 2020-12-10 09:04:47 +00:00
test_aes_perf.c AES/SHA: use GDMA driver instead of LL 2021-01-19 11:02:51 +08:00
test_aes_sha_parallel.c aes/sha: use a shared lazy allocated GDMA channel for AES and SHA 2021-03-10 09:40:35 +08:00
test_aes.c aes: fix DMA descriptor calculation for the alignment case 2023-06-07 09:22:10 +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 Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_esp_crt_bundle.c esp_crt_bundle: Add bounds checking for the "esp_crt_bundle_set" API. 2022-06-06 11:22:02 +05:30
test_mbedtls_mpi.c temporarily disable hardware encryption for esp32s3 2021-01-28 21:05:51 +08:00
test_mbedtls_sha.c crypto: allocate all DMA descriptors to DMA capable memory. 2022-01-06 08:11:57 +08:00
test_mbedtls.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_rsa.c ci: update performance test key to db compatible format 2021-08-04 12:22:25 +08:00
test_sha_perf.c unit_test: Refactor all performance tests that rely on cache compensated timer 2020-12-22 18:56:24 +11:00