Home GnuPG

mpi: More fix for _gcry_mpi_invm.

Description

mpi: More fix for _gcry_mpi_invm.

* mpi/mpi-inv.c (_gcry_mpi_invm): Fix comments and use of CRT path.

Note that it's not constant-time when N is even, strictly speaking.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 23 2020, 3:56 AM
Parents
rC3bb9f74764b3: mpi: Fix off-by-one mistake mpi_invm_pow2.
Branches
Unknown
Tags
Unknown