esp-idf/components/mbedtls/test_apps/main
Mahavir Jain 69bcbe97f4 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 04:29:32 +00:00
..
crts ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
app_main.c fix: memory leaks check added 2022-09-17 14:31:36 +05:30
CMakeLists.txt mbedtls: Remove -Wno-format compile option for test app 2023-02-08 12:31:09 +05:30
test_aes_gcm.c mbedtls: added a test of different auth-tag lengths in AES-GCM 2023-01-16 15:04:08 +05:30
test_aes_perf.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_aes_sha_parallel.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_aes_sha_rsa.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_aes.c aes: fix DMA descriptor calculation for the alignment case 2023-06-07 04:29:32 +00:00
test_apb_dport_access.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_apb_dport_access.h ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_ecp.c mbedtls/test_apps: Fix performance logs 2023-02-24 12:26:21 +05:30
test_esp_crt_bundle.c test: enable mbedtls esp_crt_bundle test for esp32h2 2023-03-13 12:00:01 +05:30
test_mbedtls_ecdsa.c mbedtls/ecdsa: Add ECDSA signature generation test 2023-04-30 11:47:35 +05:30
test_mbedtls_mpi.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_mbedtls_sha.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_mbedtls_utils.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_mbedtls_utils.h ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_mbedtls.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_rsa.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_sha_perf.c ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
test_sha.c mbedtls: Remove -Wno-format compile option for test app 2023-02-08 12:31:09 +05:30