/titanic_50/usr/src/common/crypto/ecc/ |
H A D | ec2_mont.c | 72 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 D | ecp_jm.c | 95 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 D | ecp_jac.c | 116 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 D | ecp_aff.c | 135 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 D | ec2_aff.c | 144 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 D | ecp_521.c | 175 group->meth->field_mul = &ec_GFp_nistp521_mul; in ec_group_set_gfp521()
|
H A D | ecp_mont.c | 85 meth->field_mul = &ec_GFp_mul_mont; in GFMethod_consGFp_mont()
|
H A D | ec2_163.c | 266 group->meth->field_mul = &ec_GF2m_163_mul; in ec_group_set_gf2m163()
|
H A D | ec2_193.c | 283 group->meth->field_mul = &ec_GF2m_193_mul; in ec_group_set_gf2m193()
|
H A D | ecp_384.c | 299 group->meth->field_mul = &ec_GFp_nistp384_mul; in ec_group_set_gfp384()
|
H A D | ec2_233.c | 306 group->meth->field_mul = &ec_GF2m_233_mul; in ec_group_set_gf2m233()
|
H A D | ecl-priv.h | 138 mp_err (*field_mul) (const mp_int *a, const mp_int *b, mp_int *r, member
|
H A D | ecp_224.c | 377 group->meth->field_mul = &ec_GFp_nistp224_mul; in ec_group_set_gfp224()
|
H A D | ecp_192.c | 517 group->meth->field_mul = &ec_GFp_nistp192_mul; in ec_group_set_gfp192()
|
H A D | ecl_gf.c | 122 meth->field_mul = &ec_GFp_mul; in GFMethod_consGFp() 178 meth->field_mul = &ec_GF2m_mul; in GFMethod_consGF2m()
|
H A D | ecp_256.c | 435 group->meth->field_mul = &ec_GFp_nistp256_mul; in ec_group_set_gfp256()
|