esp-idf/components/mbedtls/port
Mahavir Jain f7a01d8f90
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-05-31 14:19:58 +05:30
..
aes aes: fix DMA descriptor calculation for the alignment case 2023-05-31 14:19:58 +05:30
bignum esp_hw_support: add crypto lock layer for esp32 2023-04-24 16:15:11 +05:30
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-17 12:50:15 +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-07 14:55:21 +05:30
esp_ds esp_ds: ignore releasing mutex if not called from same task 2023-05-15 15:02:38 +02:00
include docs: update the algorithm and key name from AES-XTS to XTS-AES 2023-05-15 17:54:50 +08:00
md mbedtls-3 update: 2022-03-03 01:37:10 +05:30
sha mbedtls: fix sha-512 block mode build error 2023-05-08 10:27:34 +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