mpi: Simplify mpi_powm.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Jul 2017 05:26:39 +0000 (14:26 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Jul 2017 05:26:39 +0000 (14:26 +0900)
commitb38f4489f75e6e435886aa885807738a22c7ff60
tree1133e4814f29d87c36e4263c619dc63cf869a6fa
parent782f804765b6f4226fd77843e59f57dcca61b6fb
mpi: Simplify mpi_powm.

* mpi/mpi-pow.c (_gcry_mpi_powm): Simplify the loop.

--

(backport of libgcrypt master commit:
 719468e53133d3bdf12156c5bfdea2bf15f9f6f1)

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
mpi/mpi-pow.c