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>
4 lines
194 B
Text
4 lines
194 B
Text
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.
|