mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
2efb3288a0
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth, since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion, which works only if both operands point to different location than result since mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before calling mpi_mult_mpi_overlong() |
||
---|---|---|
.. | ||
esp32 | ||
esp32s2beta | ||
include | ||
esp_hardware.c | ||
esp_mem.c | ||
esp_sha1.c | ||
esp_sha256.c | ||
esp_sha512.c | ||
esp_sha.c | ||
esp_timing.c | ||
mbedtls_debug.c | ||
net_sockets.c |