Home
last modified time | relevance | path

Searched refs:mp_mul (Results 1 – 11 of 11) sorted by relevance

/titanic_50/usr/src/common/crypto/ecc/
H A Decp_521.c137 MP_CHECKOK(mp_mul(a, b, r)); in ec_GFp_nistp521_mul()
160 MP_CHECKOK(mp_mul(a, &t, r)); in ec_GFp_nistp521_div()
H A Decp_224.c339 MP_CHECKOK(mp_mul(a, b, r)); in ec_GFp_nistp224_mul()
362 MP_CHECKOK(mp_mul(a, &t, r)); in ec_GFp_nistp224_div()
H A Decp_mont.c121 MP_CHECKOK(mp_mul(a, b, r)); in ec_GFp_mul_mont()
H A Decp_192.c479 MP_CHECKOK(mp_mul(a, b, r)); in ec_GFp_nistp192_mul()
502 MP_CHECKOK(mp_mul(a, &t, r)); in ec_GFp_nistp192_div()
H A Decp_384.c286 MP_CHECKOK(mp_mul(a, b, r)); in ec_GFp_nistp384_mul()
H A Dec2_aff.c245 MP_CHECKOK(mp_mul(&k, &k3, &k3)); in ec_GF2m_pt_mul_aff()
H A Decp_aff.c258 MP_CHECKOK(mp_mul(&k, &k3, &k3)); in ec_GFp_pt_mul_aff()
H A Decp_256.c422 MP_CHECKOK(mp_mul(a, b, r)); in ec_GFp_nistp256_mul()
H A Dec.c593 CHECK_MPI_OK( mp_mul(&k, &cofactor, &k) ); in ECDH_Derive()
/titanic_50/usr/src/common/mpi/
H A Dmpi.h281 mp_err mp_mul(const mp_int *a, const mp_int *b, mp_int *c);
285 #define mp_sqr(a, b) mp_mul(a, a, b)
H A Dmpi.c823 mp_err mp_mul(const mp_int *a, const mp_int *b, mp_int * c) in mp_mul() function
1462 if((res = mp_mul(a, b, c)) != MP_OKAY) in mp_mulmod()
1869 res = mp_mul(&u, &v, c); /* c = u * v */ in mp_gcd()
1906 if((res = mp_mul(a, b, &prod)) != MP_OKAY) in mp_lcm()
2030 MP_CHECKOK( mp_mul(&gx, &v, g) ); in mp_xgcd()
2323 MP_CHECKOK( mp_mul(&val, &t1, &tmp) ); in s_mp_invmod_2d()
2325 MP_CHECKOK( mp_mul(&t1, &tmp, &t1) ); in s_mp_invmod_2d()
2399 MP_CHECKOK( mp_mul(&tmp1, &C2, &tmp2) ); in s_mp_invmod_even_m()
2406 MP_CHECKOK( mp_mul(&tmp2, &oddFactor, c) ); in s_mp_invmod_even_m()
3896 return mp_mul(a, b, a); in s_mp_mul()