Home GnuPG

mpi: Use mpi_invm_pow2 for N=2^k.

Description

mpi: Use mpi_invm_pow2 for N=2^k.

* mpi/mpi-inv.c (mpi_invm_pow2): Fix.
(_gcry_mpi_invm): Use mpi_invm_pow2.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 17 2020, 7:50 AM
Parents
rC05ceac8e2f6f: mpi: Rewrite mpi_invm_odd into mpih_invm_odd.
Branches
Unknown
Tags
Unknown