esp-idf/components/mbedtls/port
Mahavir Jain 98c53234fc
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:20:20 +05:30
..
aes aes: fix DMA descriptor calculation for the alignment case 2023-06-07 09:20:20 +05:30
crypto_shared_gdma ci: Fix issues for build stage 2022-02-02 15:03:48 +05:30
dynamic mbedtls: fix ssl server crash when enable mbedtls dynamic buffer 2022-06-08 14:27:41 +08:00
esp32 global: fix sign-compare warnings 2021-01-12 14:05:08 +08:00
esp32c3 mbedtls: merge changes from C3 2020-12-29 10:56:13 +08:00
esp32h2 esp32h2: enable more components to support esp32h2 2021-07-01 19:53:11 +08:00
esp32s2 esp32c3/Digital Signature: mbedtls integration through ESP-TLS 2021-01-22 11:54:16 +05:30
esp32s3 mbedtls: Acquire lock before enabling MPI (RSA) hardware 2022-06-23 16:32:26 +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 13:27:03 +05:30
include mbedtls: Update config options as per v2.28.2 release 2023-01-04 15:36:24 +05:30
md mbedtls: Add CONFIG_MBEDTLS_ROM_MD5 to use ROM MD5 in mbedTLS 2021-04-14 06:42:13 +00:00
sha ci: Fix issues for build stage 2022-02-02 15:03:48 +05:30
esp_bignum.c mbedtls: Moved mbedtls_mpi_mul_int to port layer 2022-02-02 10:56:48 +05:30
esp_hardware.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
esp_mem.c Exception handlers for LoadStoreError and LoadStoreAlignmentError 2020-02-26 20:21:59 +08:00
esp_timing.c Add DTLS support to libcoap using MbedTLS 2019-08-06 10:37:40 +05:30
mbedtls_debug.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
net_sockets.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00