Searched refs:mp_mul (Results 1 – 11 of 11) sorted by relevance
/titanic_50/usr/src/common/crypto/ecc/ |
H A D | ecp_521.c | 137 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 D | ecp_224.c | 339 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 D | ecp_mont.c | 121 MP_CHECKOK(mp_mul(a, b, r)); in ec_GFp_mul_mont()
|
H A D | ecp_192.c | 479 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 D | ecp_384.c | 286 MP_CHECKOK(mp_mul(a, b, r)); in ec_GFp_nistp384_mul()
|
H A D | ec2_aff.c | 245 MP_CHECKOK(mp_mul(&k, &k3, &k3)); in ec_GF2m_pt_mul_aff()
|
H A D | ecp_aff.c | 258 MP_CHECKOK(mp_mul(&k, &k3, &k3)); in ec_GFp_pt_mul_aff()
|
H A D | ecp_256.c | 422 MP_CHECKOK(mp_mul(a, b, r)); in ec_GFp_nistp256_mul()
|
H A D | ec.c | 593 CHECK_MPI_OK( mp_mul(&k, &cofactor, &k) ); in ECDH_Derive()
|
/titanic_50/usr/src/common/mpi/ |
H A D | mpi.h | 281 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 D | mpi.c | 823 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()
|