mpi: Normalize EXPO for mpi_powm.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 25 Feb 2016 03:01:10 +0000 (12:01 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 25 Feb 2016 03:01:10 +0000 (12:01 +0900)
commitfdfa5bfefdde316688a3c8021bd3528c5273b0f4
tree827d1b6e8bb90400b1c51980f180efd139e015ad
parent2b40a16333fa75f1cee85ab901a5aa9cff845a92
mpi: Normalize EXPO for mpi_powm.

* mpi/mpi-pow.c (gcry_mpi_powm): Normalize EP.

--

Thanks to Dan Fandrich for the report with a reproducible test case.

GnuPG-bug-id: 2256

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