Home GnuPG

ec: Use mpi_mulm instead of mpi_powm.
4552437bb3c5Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

ec: Use mpi_mulm instead of mpi_powm.

* mpi/ec.c (ec_pow2): New.
(ec_powm): Remove call to mpi_abs.
(dup_point_weierstrass, dup_point_twistededwards)
(add_points_weierstrass, add_points_twistededwards)
(_gcry_mpi_ec_curve_point): Use ec_pow2.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 7 2013, 10:06 AM
Parents
rC925d4fb3e8f2: bufhelp: enable fast unaligned memory accesses on powerpc
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC4552437bb3c5: ec: Use mpi_mulm instead of mpi_powm. (authored by Werner Koch <wk@gnupg.org>).Sep 23 2013, 8:46 AM