esp-idf/components/mbedtls/test_apps
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
..
main aes: fix DMA descriptor calculation for the alignment case 2023-06-07 04:29:32 +00:00
CMakeLists.txt ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
ecdsa_key_p192.pem mbedtls/ecdsa: Add ECDSA signature generation test 2023-04-30 11:47:35 +05:30
ecdsa_key_p256.pem mbedtls/ecdsa: Add ECDSA signature generation test 2023-04-30 11:47:35 +05:30
pytest_mbedtls_ut.py mbedtls/ecdsa: Add ECDSA signature generation test 2023-04-30 11:47:35 +05:30
README.md esp32h2: add build test 2023-01-17 10:29:04 +08:00
sdkconfig.ci.aes_no_hw ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
sdkconfig.ci.default ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
sdkconfig.ci.ecdsa_sign mbedtls/ecdsa: Add ECDSA signature generation test 2023-04-30 11:47:35 +05:30
sdkconfig.ci.perf_esp32 mbedtls: Add test config with CONFIG_COMPILER_OPTIMIZATION_PERF 2023-02-21 18:45:25 +05:30
sdkconfig.ci.psram ci: Fix esp32s2.psram.test_mbedtls_psram UT 2022-10-13 10:27:05 +05:30
sdkconfig.ci.psram_all_ext ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
sdkconfig.ci.psram_esp32 ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
sdkconfig.defaults TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00
sdkconfig.defaults.esp32 mbedtls: test_app: keep release config enabled for ESP32 2022-10-21 14:29:02 +05:30
sdkconfig.defaults.esp32c2 ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
sdkconfig.defaults.esp32c3 ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
sdkconfig.defaults.esp32s2 ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30
sdkconfig.defaults.esp32s3 ci: Migrate mbedtls unit tests from unit-test-app to component-test-app 2022-09-17 14:31:36 +05:30

Supported Targets ESP32 ESP32-C2 ESP32-C3 ESP32-C6 ESP32-H2 ESP32-S2 ESP32-S3