esp-idf/components/mbedtls/port
David Cermak 2efb3288a0 mbedtls: fix hw accelerated big-num mul if operand and result overlap
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()
2020-01-09 18:11:18 +00:00
..
esp32 mbedtls: fix hw accelerated big-num mul if operand and result overlap 2020-01-09 18:11:18 +00:00
esp32s2beta mbedtls: fix hw accelerated big-num mul if operand and result overlap 2020-01-09 18:11:18 +00:00
include hw crypto: activated hardware acceleration for esp32s2beta 2019-12-12 12:37:29 +08:00
esp_hardware.c mbedtls: import mbedtls project w/o modification 2018-11-27 13:59:26 +08:00
esp_mem.c mbedtls: import mbedtls project w/o modification 2018-11-27 13:59:26 +08:00
esp_sha1.c hw crypto: activated hardware acceleration for esp32s2beta 2019-12-12 12:37:29 +08:00
esp_sha256.c hw crypto: activated hardware acceleration for esp32s2beta 2019-12-12 12:37:29 +08:00
esp_sha512.c hw crypto: activated hardware acceleration for esp32s2beta 2019-12-12 12:37:29 +08:00
esp_sha.c hw crypto: activated hardware acceleration for esp32s2beta 2019-12-12 12:37:29 +08:00
esp_timing.c Add DTLS support to libcoap using MbedTLS 2019-08-06 10:37:40 +05:30
mbedtls_debug.c mbedtls: import mbedtls project w/o modification 2018-11-27 13:59:26 +08:00
net_sockets.c Remove check for would_block in mbedtls 2019-10-17 16:36:18 +05:30