diff options
author | Werner Koch <wk@gnupg.org> | 1997-11-24 23:24:04 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1997-11-24 23:24:04 +0100 |
commit | 46900fbd437a134bd16e5030182fb3a219cd370e (patch) | |
tree | f13063a7c4896b189c7a3d09791d5464241174c7 /mpi/mpi-mul.c | |
parent | IDEA removed, signing works (diff) | |
download | gnupg2-46900fbd437a134bd16e5030182fb3a219cd370e.tar.xz gnupg2-46900fbd437a134bd16e5030182fb3a219cd370e.zip |
ElGamal funktioniert und ist default
Diffstat (limited to 'mpi/mpi-mul.c')
-rw-r--r-- | mpi/mpi-mul.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mpi/mpi-mul.c b/mpi/mpi-mul.c index 03f2b4b44..aa5beb73b 100644 --- a/mpi/mpi-mul.c +++ b/mpi/mpi-mul.c @@ -176,3 +176,10 @@ mpi_mul( MPI w, MPI u, MPI v) } +void +mpi_mulm( MPI w, MPI u, MPI v, MPI m) +{ + mpi_mul(w, u, v); + mpi_fdiv_r( w, w, m ); +} + |