Lines Matching defs:px
55 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz,
72 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) {
79 /* M = 3 (px^2) + a*(pz^4) */
80 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth));
95 /* S = 4 * px * py^2 = 2 * px * t0 */
96 MP_CHECKOK(group->meth->field_mul(px, t0, S, group->meth));
119 /* Computes R = P + Q where R is (rx, ry, rz), P is (px, py, pz) and Q is
125 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz,
146 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) {
155 MP_CHECKOK(mp_copy(px, rx));
168 /* C = A - px, D = B - py */
169 MP_CHECKOK(group->meth->field_sub(A, px, C, group->meth));
179 /* C = px * C^2 */
180 MP_CHECKOK(group->meth->field_mul(px, C2, C, group->meth));
184 /* rx = D^2 - (C^3 + 2 * (px * C^2)) */
192 /* ry = D * (px * C^2 - rx) - py * C^3 */
215 ec_GFp_pt_mul_jm_wNAF(const mp_int *n, const mp_int *px, const mp_int *py,
238 ARGCHK((n != NULL) && (px != NULL) && (py != NULL), MP_BADARG);
255 MP_CHECKOK(mp_copy(px, &precomp[8][0]));