[PATCH 8/8] mpi:ec: Introduce ec_*_lli for Weierstrass curves to be less leaky.

NIIBE Yutaka gniibe at fsij.org
Thu Mar 27 06:19:11 CET 2025


* mpi/ec.c (ec_addm_lli, ec_subm_lli, ec_mulm_lli): New.
(dup_point_weierstrass_lli): New, using ec_*_lli.
(add_points_weierstrass_a): Use ec_*_lli.
(mpi_ec_mul_point_lli): Use dup_point_weierstrass_lli.
Remove mpi_point_resize.

--

GnuPG-bug-id: 7519
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 mpi/ec.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 155 insertions(+), 22 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-mpi-ec-Introduce-ec_-_lli-for-Weierstrass-curves-to-.patch
Type: text/x-patch
Size: 6723 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20250327/6dcf2e7b/attachment-0001.bin>


More information about the Gcrypt-devel mailing list