Searched refs:mp_mulmod (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/common/mpi/ |
H A D | mpi.h | 299 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 D | mpi.c | 1456 mp_err mp_mulmod(const mp_int *a, const mp_int *b, const mp_int *m, mp_int *c) in mp_mulmod() function
|
/titanic_50/usr/src/common/crypto/ecc/ |
H A D | ec.c | 768 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 D | ecl_gf.c | 950 return mp_mulmod(a, b, &meth->irr, r); in ec_GFp_mul() 977 MP_CHECKOK(mp_mulmod(a, &t, &meth->irr, r)); in ec_GFp_div()
|