OVMS3-idf/components/mbedtls
David Cermak f8fc84813c 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-02-20 10:03:00 +01:00
..
mbedtls@f5f2e5926c NimBLE: Add optional mbedTLS support to NimBLE (backport) 2019-09-23 21:37:40 +08:00
port mbedtls: fix hw accelerated big-num mul if operand and result overlap 2020-02-20 10:03:00 +01:00
test mbedtls: added mpi multiplication test for large numbers 2020-02-20 10:03:00 +01:00
CMakeLists.txt mbedtls: add source files to appropriate library 2019-08-28 10:28:17 +08:00
component.mk move hwcrypto from esp32 to mbedtls 2019-03-26 16:24:22 +08:00
Kconfig mbedtls: Enable SHA hardware acceleration by default 2019-12-15 20:46:20 +00:00
Makefile.projbuild esp32, mbedtls: check component name when enabling test flags 2018-11-20 01:27:24 +08:00