Lines Matching defs:py
64 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz,
81 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) {
94 /* rz = 2 * py * pz */
95 MP_CHECKOK(group->meth->field_mul(py, pz, S, group->meth));
99 MP_CHECKOK(group->meth->field_sqr(py, t0, group->meth));
104 /* S = 4 * px * py^2 = 2 * px * t0 */
128 /* Computes R = P + Q where R is (rx, ry, rz), P is (px, py, pz) and Q is
134 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz,
155 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) {
165 MP_CHECKOK(mp_copy(py, ry));
177 /* C = A - px, D = B - py */
179 MP_CHECKOK(group->meth->field_sub(B, py, D, group->meth));
198 /* C3 = py * C^3 */
199 MP_CHECKOK(group->meth->field_mul(py, C3, C3, group->meth));
201 /* ry = D * (px * C^2 - rx) - py * C^3 */
224 ec_GFp_pt_mul_jm_wNAF(const mp_int *n, const mp_int *px, const mp_int *py,
247 ARGCHK((n != NULL) && (px != NULL) && (py != NULL), MP_BADARG);
265 MP_CHECKOK(mp_copy(py, &precomp[8][1]));