Searched refs:mp_mod (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/common/crypto/ecc/
H A Decl_mult.c72 MP_CHECKOK(mp_mod(k, &group->order, &kt));
335 MP_CHECKOK(mp_mod(k1, &group->order, &k1t));
346 MP_CHECKOK(mp_mod(k2, &group->order, &k2t));
H A Decp_521.c84 MP_CHECKOK(mp_mod(a, &meth->irr, r));
H A Decp_mont.c179 MP_CHECKOK(mp_mod(r, &mmm->N, r));
H A Decp_384.c90 MP_CHECKOK(mp_mod(a, &meth->irr, r));
192 MP_CHECKOK(mp_mod(a, &meth->irr, r));
H A Dec.c403 CHECK_MPI_OK( mp_mod(&privKeyVal, &order_1, &privKeyVal) );
726 CHECK_MPI_OK( mp_mod(&x1, &n, &r) );
1012 CHECK_MPI_OK( mp_mod(&x1, &n, &v) );
H A Decp_192.c88 MP_CHECKOK(mp_mod(a, &meth->irr, r));
H A Decp_224.c86 MP_CHECKOK(mp_mod(a, &meth->irr, r));
H A Decp_256.c83 MP_CHECKOK(mp_mod(a, &meth->irr, r));
H A Decl_gf.c942 return mp_mod(a, &meth->irr, r);
/illumos-gate/usr/src/common/mpi/
H A Dmpi.c1215 /* {{{ mp_mod(a, m, c) */
1218 mp_mod(a, m, c)
1223 mp_err mp_mod(const mp_int *a, const mp_int *m, mp_int *c) function
1272 } /* end mp_mod() */
1414 if((res = mp_mod(c, m, c)) != MP_OKAY)
1439 if((res = mp_mod(c, m, c)) != MP_OKAY)
1464 if((res = mp_mod(c, m, c)) != MP_OKAY)
1484 if((res = mp_mod(c, m, c)) != MP_OKAY)
1522 (res = mp_mod(&x, m, &x)) != MP_OKAY)
1610 (res = mp_mod(
[all...]
H A Dmpi.h295 mp_err mp_mod(const mp_int *a, const mp_int *m, mp_int *c);

Completed in 131 milliseconds