Lines Matching refs:py

56 ec_GF2m_pt_is_inf_aff(const mp_int *px, const mp_int *py)  in ec_GF2m_pt_is_inf_aff()  argument
59 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) { in ec_GF2m_pt_is_inf_aff()
69 ec_GF2m_pt_set_inf_aff(mp_int *px, mp_int *py) in ec_GF2m_pt_set_inf_aff() argument
72 mp_zero(py); in ec_GF2m_pt_set_inf_aff()
79 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, in ec_GF2m_pt_add_aff() argument
93 if (ec_GF2m_pt_is_inf_aff(px, py) == 0) { in ec_GF2m_pt_add_aff()
102 MP_CHECKOK(mp_copy(py, ry)); in ec_GF2m_pt_add_aff()
109 MP_CHECKOK(group->meth->field_add(py, qy, &tempy, group->meth)); in ec_GF2m_pt_add_aff()
124 if (((mp_cmp(py, qy) != 0)) || (mp_cmp_z(qx) == 0)) { in ec_GF2m_pt_add_aff()
161 ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, in ec_GF2m_pt_sub_aff() argument
172 MP_CHECKOK(group->point_add(px, py, qx, &nqy, rx, ry, group)); in ec_GF2m_pt_sub_aff()
181 ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, in ec_GF2m_pt_dbl_aff() argument
184 return group->point_add(px, py, px, py, rx, ry, group); in ec_GF2m_pt_dbl_aff()
192 ec_GF2m_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, in ec_GF2m_pt_mul_aff() argument
221 MP_CHECKOK(mp_copy(py, &qy)); in ec_GF2m_pt_mul_aff()
285 ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) in ec_GF2m_validate_point() argument
302 if (ec_GF2m_pt_is_inf_aff(px, py) == MP_YES) { in ec_GF2m_validate_point()
310 (MP_SIGN(py) == MP_NEG) || (mp_cmp(py, &group->meth->irr) >= 0)) { in ec_GF2m_validate_point()
317 group->meth->field_enc(py, &pyt, group->meth); in ec_GF2m_validate_point()
320 mp_copy(py, &pyt); in ec_GF2m_validate_point()
341 MP_CHECKOK( ECPoint_mul(group, &group->order, px, py, &pxt, &pyt) ); in ec_GF2m_validate_point()