Home GnuPG

mpi: Rewrite mpi_invm_odd into mpih_invm_odd.

Description

mpi: Rewrite mpi_invm_odd into mpih_invm_odd.

* mpi/mpi-inv.c (mpih_invm_odd): Use mpi_ptr_t API.
(_gcry_mpi_invm): Use _gcry_mpih_mod and mpih_invm_odd.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 17 2020, 7:29 AM
Parents
rC128045a12139: mpi: Add _gcry_mpih_cmp_ui.
Branches
Unknown
Tags
Unknown