Home
last modified time | relevance | path

Searched refs:mp_sub (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/common/crypto/ecc/
H A Decp_384.c183 MP_CHECKOK(mp_sub(r, &m[7], r)); in ec_GFp_nistp384_mod()
184 MP_CHECKOK(mp_sub(r, &m[8], r)); in ec_GFp_nistp384_mod()
252 MP_CHECKOK(mp_sub(r, &m[7], r)); in ec_GFp_nistp384_mod()
253 MP_CHECKOK(mp_sub(r, &m[8], r)); in ec_GFp_nistp384_mod()
H A Decp_256.c248 MP_CHECKOK(mp_sub(r, &meth->irr, r)); in ec_GFp_nistp256_mod()
258 MP_CHECKOK(mp_sub(r, &meth->irr, r)); in ec_GFp_nistp256_mod()
264 MP_CHECKOK(mp_sub(r, &meth->irr, r)); in ec_GFp_nistp256_mod()
388 MP_CHECKOK(mp_sub(r, &meth->irr, r)); in ec_GFp_nistp256_mod()
H A Decl_gf.c227 return mp_sub(r, &meth->irr, r); in ec_GFp_add()
242 return mp_sub(&meth->irr, a, r); in ec_GFp_neg()
253 res = mp_sub(a, b, r); in ec_GFp_sub()
255 MP_CHECKOK(mp_sub(b, a, r)); in ec_GFp_sub()
H A Decp_test.c165 MP_CHECKOK(mp_sub(&group->order, &one, &order_1)); in ectest_curve_GFp()
H A Dec2_test.c166 MP_CHECKOK(mp_sub(&group->order, &one, &order_1)); in ectest_curve_GF2m()
H A Dec.c402 CHECK_MPI_OK( mp_sub(&order_1, &one, &order_1) ); in ec_GenerateRandomPrivateKey()
/titanic_44/usr/src/common/mpi/
H A Dmpi.c782 mp_err mp_sub(const mp_int *a, const mp_int *b, mp_int *c) in mp_sub() function
1358 (res = mp_sub(&t, a, &t)) != MP_OKAY) in mp_sqrt()
1372 if((res = mp_sub(&x, &t, &x)) != MP_OKAY) in mp_sqrt()
1437 if((res = mp_sub(a, b, c)) != MP_OKAY) in mp_submod()
1861 if((res = mp_sub(&u, &v, &t)) != MP_OKAY) in mp_gcd()
1993 MP_CHECKOK( mp_sub(&B, &xc, &B) ); in mp_xgcd()
2006 MP_CHECKOK( mp_sub(&D, &xc, &D) ); in mp_xgcd()
2012 MP_CHECKOK( mp_sub(&u, &v, &u) ); in mp_xgcd()
2013 MP_CHECKOK( mp_sub(&A, &C, &A) ); in mp_xgcd()
2014 MP_CHECKOK( mp_sub(&B, &D, &B) ); in mp_xgcd()
[all …]
H A Dmpi.h280 mp_err mp_sub(const mp_int *a, const mp_int *b, mp_int *c);