Home GnuPG

Same computation for square and multiply.

Description

Same computation for square and multiply.

* mpi/mpi-pow.c (_gcry_mpi_powm): Compare msize for max_u_size.  Move
the assignment to base_u into the loop.  Copy content refered by RP to
BASE_U except the last of the loop.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 24 2017, 1:46 PM
Parents
rCe6a3dc990043: rsa: Minor refactoring.
Branches
Unknown
Tags
Unknown