Home
last modified time | relevance | path

Searched refs:mp_add (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/common/crypto/ecc/
H A Decp_384.c176 MP_CHECKOK(mp_add(&m[0], &m[1], r)); in ec_GFp_nistp384_mod()
177 MP_CHECKOK(mp_add(r, &m[1], r)); in ec_GFp_nistp384_mod()
178 MP_CHECKOK(mp_add(r, &m[2], r)); in ec_GFp_nistp384_mod()
179 MP_CHECKOK(mp_add(r, &m[3], r)); in ec_GFp_nistp384_mod()
180 MP_CHECKOK(mp_add(r, &m[4], r)); in ec_GFp_nistp384_mod()
181 MP_CHECKOK(mp_add(r, &m[5], r)); in ec_GFp_nistp384_mod()
182 MP_CHECKOK(mp_add(r, &m[6], r)); in ec_GFp_nistp384_mod()
245 MP_CHECKOK(mp_add(&m[0], &m[1], r)); in ec_GFp_nistp384_mod()
246 MP_CHECKOK(mp_add(r, &m[1], r)); in ec_GFp_nistp384_mod()
247 MP_CHECKOK(mp_add(r, &m[2], r)); in ec_GFp_nistp384_mod()
[all …]
H A Decl_gf.c223 if ((res = mp_add(a, b, r)) != MP_OKAY) { in ec_GFp_add()
257 MP_CHECKOK(mp_add(r, &meth->irr, r)); in ec_GFp_sub()
262 MP_CHECKOK(mp_add(r, &meth->irr, r)); in ec_GFp_sub()
H A Decp_256.c255 MP_CHECKOK(mp_add(r, &meth->irr, r)); in ec_GFp_nistp256_mod()
H A Decp_jac.c311 MP_CHECKOK(mp_add(&t1, &group->meth->irr, &t1)); in ec_GFp_pt_dbl_jac()
H A Dec.c404 CHECK_MPI_OK( mp_add(&privKeyVal, &one, &privKeyVal) ); in ec_GenerateRandomPrivateKey()
/titanic_50/usr/src/common/mpi/
H A Dmpi.c750 mp_err mp_add(const mp_int *a, const mp_int *b, mp_int *c) in mp_add() function
1251 if((res = mp_add(c, m, c)) != MP_OKAY) in mp_mod()
1260 if((res = mp_add(c, m, c)) != MP_OKAY) in mp_mod()
1412 if((res = mp_add(a, b, c)) != MP_OKAY) in mp_addmod()
1991 MP_CHECKOK( mp_add(&A, &yc, &A) ); in mp_xgcd()
2004 MP_CHECKOK( mp_add(&C, &yc, &C) ); in mp_xgcd()
2141 MP_CHECKOK( mp_add(&f, &g, &f) ); /* f = f + g */ in s_mp_almost_inverse()
2142 MP_CHECKOK( mp_add(c, &d, c) ); /* c = c + d */ in s_mp_almost_inverse()
2147 MP_CHECKOK( mp_add(c, p, c) ); in s_mp_almost_inverse()
2190 MP_CHECKOK( mp_add(c, p, x) ); /* x = c + p */ in s_mp_fixup_reciprocal()
[all …]
H A Dmpi.h279 mp_err mp_add(const mp_int *a, const mp_int *b, mp_int *c);