Lines Matching defs:px
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) {
88 /* M = 3 (px^2) + a*(pz^4) */
89 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth));
104 /* S = 4 * px * py^2 = 2 * px * t0 */
105 MP_CHECKOK(group->meth->field_mul(px, t0, S, group->meth));
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) {
164 MP_CHECKOK(mp_copy(px, rx));
177 /* C = A - px, D = B - py */
178 MP_CHECKOK(group->meth->field_sub(A, px, C, group->meth));
188 /* C = px * C^2 */
189 MP_CHECKOK(group->meth->field_mul(px, C2, C, group->meth));
193 /* rx = D^2 - (C^3 + 2 * (px * C^2)) */
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);
264 MP_CHECKOK(mp_copy(px, &precomp[8][0]));