Searched refs:mp_mulmod (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/common/mpi/
H A Dmpi.h299 mp_err mp_mulmod(const mp_int *a, const mp_int *b, const mp_int *m, mp_int *c);
303 #define mp_sqrmod(a, m, c) mp_mulmod(a, a, m, c)
H A Dmpi.c1448 /* {{{ mp_mulmod(a, b, m, c) */
1451 mp_mulmod(a, b, m, c)
1456 mp_err mp_mulmod(const mp_int *a, const mp_int *b, const mp_int *m, mp_int *c) function
/illumos-gate/usr/src/common/crypto/ecc/
H A Dec.c768 CHECK_MPI_OK( mp_mulmod(&d, &r, &n, &d) ); /* d = d * r mod n */
770 CHECK_MPI_OK( mp_mulmod(&s, &k, &n, &s) ); /* s = s * k mod n */
978 CHECK_MPI_OK( mp_mulmod(&u1, &c, &n, &u1) ); /* u1 = u1 * c mod n */
985 CHECK_MPI_OK( mp_mulmod(&r_, &c, &n, &u2) );
H A Decl_gf.c950 return mp_mulmod(a, b, &meth->irr, r);
977 MP_CHECKOK(mp_mulmod(a, &t, &meth->irr, r));

Completed in 58 milliseconds