Home
last modified time | relevance | path

Searched refs:MP_SIGN (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/common/crypto/ecc/
H A Decl_gf.c318 MP_SIGN(r) = MP_ZPOS; in ec_GFp_add_3()
408 MP_SIGN(r) = MP_ZPOS; in ec_GFp_add_4()
494 MP_SIGN(r) = MP_ZPOS; in ec_GFp_add_5()
577 MP_SIGN(r) = MP_ZPOS; in ec_GFp_add_6()
691 MP_SIGN(r) = MP_ZPOS; in ec_GFp_sub_3()
784 MP_SIGN(r) = MP_ZPOS; in ec_GFp_sub_4()
852 MP_SIGN(r) = MP_ZPOS; in ec_GFp_sub_5()
929 MP_SIGN(r) = MP_ZPOS; in ec_GFp_sub_6()
H A Decp_384.c71 MP_SIGN(&m[i]) = MP_ZPOS; in ec_GFp_nistp384_mod()
79 MP_SIGN(&m[i]) = MP_ZPOS; in ec_GFp_nistp384_mod()
H A Decp_256.c230 MP_SIGN(r) = MP_ZPOS; in ec_GFp_nistp256_mod()
254 while (MP_SIGN(r) != MP_ZPOS) { in ec_GFp_nistp256_mod()
374 MP_SIGN(r) = MP_ZPOS; in ec_GFp_nistp256_mod()
H A Decp_521.c72 MP_SIGN(&m1) = MP_ZPOS; in ec_GFp_nistp521_mod()
H A Dec2_aff.c309 if ((MP_SIGN(px) == MP_NEG) || (mp_cmp(px, &group->meth->irr) >= 0) || in ec_GF2m_validate_point()
310 (MP_SIGN(py) == MP_NEG) || (mp_cmp(py, &group->meth->irr) >= 0)) { in ec_GF2m_validate_point()
H A Decp_aff.c322 if ((MP_SIGN(px) == MP_NEG) || (mp_cmp(px, &group->meth->irr) >= 0) || in ec_GFp_validate_point()
323 (MP_SIGN(py) == MP_NEG) || (mp_cmp(py, &group->meth->irr) >= 0)) { in ec_GFp_validate_point()
H A Decp_224.c199 MP_SIGN(r) = MP_ZPOS; in ec_GFp_nistp224_mod()
303 MP_SIGN(r) = MP_ZPOS; in ec_GFp_nistp224_mod()
H A Decp_192.c367 MP_SIGN(r) = MP_ZPOS; in ec_GFp_nistp192_add()
446 MP_SIGN(r) = MP_ZPOS; in ec_GFp_nistp192_sub()
H A Decl_mult.c74 MP_SIGN(&kt) = MP_ZPOS; in ECPoint_mul()
/titanic_41/usr/src/common/mpi/
H A Dmpi.c794 if (MP_SIGN(a) != MP_SIGN(b)) { in mp_sub()
803 MP_SIGN(c) = !MP_SIGN(a); in mp_sub()
807 MP_SIGN(c) = MP_ZPOS; in mp_sub()
1021 signA = MP_SIGN(a); in mp_div()
1022 signB = MP_SIGN(b); in mp_div()
1067 MP_SIGN(pR) = signA; /* Sr = Sa */ in mp_div()
1069 MP_SIGN(pQ) = (signA == signB) ? ZPOS : NEG; in mp_div()
2146 while (MP_SIGN(c) != MP_ZPOS) { in s_mp_almost_inverse()
2327 while (MP_SIGN(&t1) != MP_ZPOS) { in s_mp_invmod_2d()
2401 while (MP_SIGN(&tmp2) != MP_ZPOS) { in s_mp_invmod_even_m()
[all …]
H A Dmpi.h231 #define MP_SIGN(MP) ((MP)->sign) macro
372 #define SIGN(MP) MP_SIGN(MP)
H A Dmp_gf2m.c247 MP_SIGN(c) = ZPOS; in mp_badd()