summaryrefslogtreecommitdiff
path: root/cipher/cast5.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2013-12-04 10:03:57 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2013-12-04 10:31:31 +0900
commitc56080c26186d25dec05f01831494c77d8d07e13 (patch)
treee2957ceb59382e54d7d438a472782eb519e53933 /cipher/cast5.c
parent2ff86db2e1b0f6cc22a1ca86037b526c5fa3be51 (diff)
downloadlibgcrypt-c56080c26186d25dec05f01831494c77d8d07e13.tar.gz
mpi: fix gcry_mpi_powm for negative base.
* mpi/mpi-pow.c (gcry_mpi_powm) [USE_ALGORITHM_SIMPLE_EXPONENTIATION]: Fix for the case where BASE is negative. * tests/mpitests.c (test_powm): Add a test case of (-17)^6 mod 19. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'cipher/cast5.c')
0 files changed, 0 insertions, 0 deletions