Files
esp-idf/components
David Cermak fe94d07dfe 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 11:50:46 +01:00
..
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00
2019-10-23 09:09:29 +11:00
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00
2019-08-21 18:59:06 +10:00
2018-09-13 11:13:27 +08:00
2020-01-10 19:19:11 +08:00
2019-10-28 10:52:39 +08:00
2019-04-24 18:42:26 +08:00
2018-09-13 11:13:27 +08:00
2018-09-13 11:13:27 +08:00
2020-02-13 14:30:10 +08:00
2018-09-13 11:13:27 +08:00