esp-idf/components/mbedtls/port
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
..
aes aes: fix DMA descriptor calculation for the alignment case 2023-06-07 04:29:32 +00:00
crypto_shared_gdma mbedtls: updated to use default gdma psram alignment 2023-02-28 10:42:22 +08:00
dynamic mbedtls: replace low-level sha apis with md apis in esp_ssl_tls 2023-04-24 11:56:56 +05:30
ecc mbedtls/ecp: Fix incorrect ECP parameter value 2023-01-18 14:24:57 +05:30
ecdsa ecdsa: Support multiple ECDSA keys 2023-04-30 11:47:35 +05:30
esp32 esp32/mpi: Added alternate workaround for MPI data corruption issue 2023-02-21 18:43:54 +05:30
esp32c3 mbedtls: Update licenses of files updated in mbedtls-3.1 update 2022-03-04 05:18:58 +00:00
esp32c6 mbedtls: enable RSA support for esp32c6 2023-02-03 11:46:42 +05:30
esp32h2 mbedtls: enable RSA support for esp32h2 2023-03-01 14:18:57 +05:30
esp32s2 mbedtls: Update licenses of files updated in mbedtls-3.1 update 2022-03-04 05:18:58 +00:00
esp32s3 mbedtls: Acquire lock before enabling MPI (RSA) hardware 2022-06-21 10:48:17 +05:30
esp_ds esp_ds: ignore releasing mutex if not called from same task 2023-05-19 08:31:34 +05:30
include ecdsa: Support multiple ECDSA keys 2023-04-30 11:47:35 +05:30
md mbedtls-3 update: 2022-03-03 01:37:10 +05:30
sha esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
esp_bignum.c esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain 2022-10-21 14:29:02 +05:30
esp_hardware.c esp_hw_support/esp_system: Re-evaluate header inclusions and include directories 2022-03-07 11:18:08 +05:30
esp_mem.c mbedtls: Update licenses of files updated in mbedtls-3.1 update 2022-03-04 05:18:58 +00:00
esp_timing.c mbedtls: MBEDTLS_PRIVATE & MBEDTLS_ALLOW_PRIVATE_ACCESS-related cleanup 2022-09-29 10:13:14 +05:30
mbedtls_debug.c mbedtls: Update licenses of files updated in mbedtls-3.1 update 2022-03-04 05:18:58 +00:00
net_sockets.c lwip: Support IPv6 only mode 2023-02-27 08:53:34 +01:00