Home GnuPG

mpi:ec: Refactor _gcry_mpi_ec_mul_point

Description

mpi:ec: Refactor _gcry_mpi_ec_mul_point

* mpi/ec.c (montgomery_mul_point, mpi_ec_mul_point_lli): Factor out
from _gcry_mpi_ec_mul_point.
(_gcry_mpi_ec_mul_point): Use montgomery_mul_point and
mpi_ec_mul_point_lli.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Thu, Mar 27, 3:13 AM
Parents
rCd698ed5386e8: mpi:ec: Keep A untouched in ec_get_a_is_pminus3.
Branches
Unknown
Tags
Unknown