mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 04:24:19 +01:00
66deb38d64
ecp_double_add_mxz wrongly does an MPI addition followed by a call to
MOD_MUL instead of MOD_ADD. This is more visible since the
mbedtls_mpi_xxx_mod functions have been added in commit 3b3b34f608
("Replace some macros by functions").
Fix that by using mbedtls_mpi_add_mod instead. The testsuite still
passes after that change.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
5 lines
194 B
Plaintext
5 lines
194 B
Plaintext
Changes
|
|
* Fix minor performance issue in operations on Curve25519 caused by using a
|
|
suboptimal modular reduction in one place. Found and fix contributed by
|
|
Aurelien Jarno in #3209.
|