Home
last modified time | relevance | path

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.c1456 mp_err mp_mulmod(const mp_int *a, const mp_int *b, const mp_int *m, mp_int *c) in mp_mulmod() 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 */ in ECDSA_SignDigestWithSeed()
770 CHECK_MPI_OK( mp_mulmod(&s, &k, &n, &s) ); /* s = s * k mod n */ in ECDSA_SignDigestWithSeed()
978 CHECK_MPI_OK( mp_mulmod(&u1, &c, &n, &u1) ); /* u1 = u1 * c mod n */ in ECDSA_VerifyDigest()
985 CHECK_MPI_OK( mp_mulmod(&r_, &c, &n, &u2) ); in ECDSA_VerifyDigest()
H A Decl_gf.c1004 return mp_mulmod(a, b, &meth->irr, r); in ec_GFp_mul()
1031 MP_CHECKOK(mp_mulmod(a, &t, &meth->irr, r)); in ec_GFp_div()