esp-idf/components/mbedtls/port
Mahavir Jain dc34d4986a
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain
This fix adds a workaround to disable compiler optimization flag "-ftree-loop-distribute-patterns"
for `mpi_to_mem_block` routine. It was observed that compiler with release configuration was falling
back to `memset` call from ROM library causing an issue in correctly zero initializing MPI peripheral
block.

Please see following linked issue for more discussion and context on this issue.

Closes https://github.com/espressif/esp-idf/issues/8710
Closes https://github.com/espressif/esp-idf/issues/9371
Closes https://github.com/espressif/esp-idf/issues/9256
Closes IDFGH-7102
Closes IDFGH-7842
Closes IDFGH-7714
Closes IDFCI-1452
Closes IDF-6029
2022-10-21 14:29:02 +05:30
..
aes esp_hw_support: Remove compare_set.h API 2022-07-22 00:06:06 +08:00
crypto_shared_gdma ci: Fix issues for build stage 2022-01-25 10:51:27 +05:30
dynamic https_server: Fix example when MBEDTLS_DYNAMIC_BUFFER is enabled 2022-09-30 23:25:27 +05:30
ecc mbedtls: MBEDTLS_PRIVATE & MBEDTLS_ALLOW_PRIVATE_ACCESS-related cleanup 2022-09-29 10:13:14 +05:30
esp32 esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain 2022-10-21 14:29:02 +05:30
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-22 15:04:32 +05:30
include mbedtls: Override ecp_mul_restartable_internal 2022-08-24 11:59:35 +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-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 ci: Fix pre-check stage failing tests 2022-03-03 01:37:10 +05:30