esp-idf/components/mbedtls/port
Mahavir Jain 94e139e639
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:26:30 +05:30
..
aes aes: fix DMA descriptor calculation for the alignment case 2023-06-07 09:26:30 +05:30
crypto_shared_gdma ci: Fix issues for build stage 2022-01-25 10:51:27 +05:30
dynamic mbedtls: replace low-level sha apis with md apis in esp_ssl_tls 2023-04-24 12:03:55 +05:30
ecc mbedtls/ecp: Fix incorrect ECP parameter value 2023-02-08 21:35:49 +05:30
esp32 esp32/mpi: Added alternate workaround for MPI data corruption issue 2023-03-06 06:43:17 +00:00
esp32c3 mbedtls: Update licenses of files updated in mbedtls-3.1 update 2022-03-04 05:18:58 +00:00
esp32h2 mbedtls: Update licenses of files updated in mbedtls-3.1 update 2022-03-04 05:18:58 +00:00
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_rsa_sign_alt: Fix esp_init_ds_data_ctx API to not modify user defined data when it is given directory from flash 2022-08-23 11:50:47 +05:30
include mbedtls: Update config options as per release/v3.4.0 2023-04-24 12:03:55 +05:30
md mbedtls-3 update: 2022-03-03 01:37:10 +05:30
sha esp_hw_support: Remove compare_set.h API 2022-07-22 00:06:06 +08:00
esp_bignum.c esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain 2022-10-27 09:54:26 +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: Update licenses of files updated in mbedtls-3.1 update 2022-03-04 05:18:58 +00:00
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 ci: Fix pre-check stage failing tests 2022-03-03 01:37:10 +05:30