diff options
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 ); +} + |