Home
last modified time | relevance | path

Searched refs:field_mul (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/common/crypto/ecc/
H A Dec2_mont.c72 MP_CHECKOK(group->meth->field_mul(x, &t1, z, group->meth)); in gf2m_Mdouble()
76 field_mul(&group->curveb, &t1, &t1, group->meth)); in gf2m_Mdouble()
101 MP_CHECKOK(group->meth->field_mul(x1, z2, x1, group->meth)); in gf2m_Madd()
102 MP_CHECKOK(group->meth->field_mul(z1, x2, z1, group->meth)); in gf2m_Madd()
103 MP_CHECKOK(group->meth->field_mul(x1, z1, &t2, group->meth)); in gf2m_Madd()
106 MP_CHECKOK(group->meth->field_mul(z1, &t1, x1, group->meth)); in gf2m_Madd()
154 MP_CHECKOK(group->meth->field_mul(z1, z2, &t3, group->meth)); in gf2m_Mxy()
156 MP_CHECKOK(group->meth->field_mul(z1, x, z1, group->meth)); in gf2m_Mxy()
158 MP_CHECKOK(group->meth->field_mul(z2, x, z2, group->meth)); in gf2m_Mxy()
159 MP_CHECKOK(group->meth->field_mul(z2, x1, x1, group->meth)); in gf2m_Mxy()
[all …]
H A Decp_jm.c95 MP_CHECKOK(group->meth->field_mul(py, pz, S, group->meth)); in ec_GFp_pt_dbl_jm()
105 MP_CHECKOK(group->meth->field_mul(px, t0, S, group->meth)); in ec_GFp_pt_dbl_jm()
116 MP_CHECKOK(group->meth->field_mul(S, M, ry, group->meth)); in ec_GFp_pt_dbl_jm()
120 MP_CHECKOK(group->meth->field_mul(paz4, t1, raz4, group->meth)); in ec_GFp_pt_dbl_jm()
160 field_mul(raz4, &group->curvea, raz4, group->meth)); in ec_GFp_pt_add_jm_aff()
173 MP_CHECKOK(group->meth->field_mul(A, pz, B, group->meth)); in ec_GFp_pt_add_jm_aff()
174 MP_CHECKOK(group->meth->field_mul(A, qx, A, group->meth)); in ec_GFp_pt_add_jm_aff()
175 MP_CHECKOK(group->meth->field_mul(B, qy, B, group->meth)); in ec_GFp_pt_add_jm_aff()
183 MP_CHECKOK(group->meth->field_mul(C, C2, C3, group->meth)); in ec_GFp_pt_add_jm_aff()
186 MP_CHECKOK(group->meth->field_mul(pz, C, rz, group->meth)); in ec_GFp_pt_add_jm_aff()
[all …]
H A Decp_jac.c116 MP_CHECKOK(group->meth->field_mul(&z1, &z2, &z3, group->meth)); in ec_GFp_pt_jac2aff()
117 MP_CHECKOK(group->meth->field_mul(px, &z2, rx, group->meth)); in ec_GFp_pt_jac2aff()
118 MP_CHECKOK(group->meth->field_mul(py, &z3, ry, group->meth)); in ec_GFp_pt_jac2aff()
188 MP_CHECKOK(group->meth->field_mul(&A, pz, &B, group->meth)); in ec_GFp_pt_add_jac_aff()
189 MP_CHECKOK(group->meth->field_mul(&A, qx, &A, group->meth)); in ec_GFp_pt_add_jac_aff()
190 MP_CHECKOK(group->meth->field_mul(&B, qy, &B, group->meth)); in ec_GFp_pt_add_jac_aff()
198 MP_CHECKOK(group->meth->field_mul(&C, &C2, &C3, group->meth)); in ec_GFp_pt_add_jac_aff()
201 MP_CHECKOK(group->meth->field_mul(pz, &C, rz, group->meth)); in ec_GFp_pt_add_jac_aff()
204 MP_CHECKOK(group->meth->field_mul(px, &C2, &C, group->meth)); in ec_GFp_pt_add_jac_aff()
214 MP_CHECKOK(group->meth->field_mul(py, &C3, &C3, group->meth)); in ec_GFp_pt_add_jac_aff()
[all …]
H A Decp_aff.c135 field_mul(&tempx, &temp, &tempx, group->meth)); in ec_GFp_pt_add_aff()
142 MP_CHECKOK(group->meth->field_mul(qy, &temp, &tempy, group->meth)); in ec_GFp_pt_add_aff()
153 field_mul(&tempy, &lambda, &tempy, group->meth)); in ec_GFp_pt_add_aff()
339 MP_CHECKOK( group->meth->field_mul(&pxt, &tmp, &accr, group->meth) ); in ec_GFp_validate_point()
340 MP_CHECKOK( group->meth->field_mul(&group->curvea, &pxt, &tmp, group->meth) ); in ec_GFp_validate_point()
H A Dec2_aff.c144 field_mul(&tempy, &lambda, &tempy, group->meth)); in ec_GF2m_pt_add_aff()
324 MP_CHECKOK( group->meth->field_mul(&pxt, &pyt, &tmp, group->meth) ); in ec_GF2m_validate_point()
328 MP_CHECKOK( group->meth->field_mul(&pxt, &tmp, &accr, group->meth) ); in ec_GF2m_validate_point()
329 MP_CHECKOK( group->meth->field_mul(&group->curvea, &tmp, &tmp, group->meth) ); in ec_GF2m_validate_point()
H A Decp_521.c175 group->meth->field_mul = &ec_GFp_nistp521_mul; in ec_group_set_gfp521()
H A Decp_mont.c85 meth->field_mul = &ec_GFp_mul_mont; in GFMethod_consGFp_mont()
H A Dec2_163.c266 group->meth->field_mul = &ec_GF2m_163_mul; in ec_group_set_gf2m163()
H A Dec2_193.c283 group->meth->field_mul = &ec_GF2m_193_mul; in ec_group_set_gf2m193()
H A Decp_384.c299 group->meth->field_mul = &ec_GFp_nistp384_mul; in ec_group_set_gfp384()
H A Dec2_233.c306 group->meth->field_mul = &ec_GF2m_233_mul; in ec_group_set_gf2m233()
H A Decl-priv.h138 mp_err (*field_mul) (const mp_int *a, const mp_int *b, mp_int *r, member
H A Decp_224.c377 group->meth->field_mul = &ec_GFp_nistp224_mul; in ec_group_set_gfp224()
H A Decp_192.c517 group->meth->field_mul = &ec_GFp_nistp192_mul; in ec_group_set_gfp192()
H A Decl_gf.c122 meth->field_mul = &ec_GFp_mul; in GFMethod_consGFp()
178 meth->field_mul = &ec_GF2m_mul; in GFMethod_consGF2m()
H A Decp_256.c435 group->meth->field_mul = &ec_GFp_nistp256_mul; in ec_group_set_gfp256()