Lines Matching refs:rx
65 const mp_int *paz4, mp_int *rx, mp_int *ry, mp_int *rz,
84 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, rz));
109 /* rx = M^2 - 2S */
110 MP_CHECKOK(group->meth->field_sqr(M, rx, group->meth));
111 MP_CHECKOK(group->meth->field_sub(rx, S, rx, group->meth));
112 MP_CHECKOK(group->meth->field_sub(rx, S, rx, group->meth));
114 /* ry = M * (S - rx) - t1 */
115 MP_CHECKOK(group->meth->field_sub(S, rx, S, group->meth));
128 /* Computes R = P + Q where R is (rx, ry, rz), P is (px, py, pz) and Q is
136 const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz,
156 MP_CHECKOK(ec_GFp_pt_aff2jac(qx, qy, rx, ry, rz, group));
164 MP_CHECKOK(mp_copy(px, rx));
193 /* rx = D^2 - (C^3 + 2 * (px * C^2)) */
194 MP_CHECKOK(group->meth->field_add(C, C, rx, group->meth));
195 MP_CHECKOK(group->meth->field_add(C3, rx, rx, group->meth));
196 MP_CHECKOK(group->meth->field_sub(A, rx, rx, group->meth));
201 /* ry = D * (px * C^2 - rx) - py * C^3 */
202 MP_CHECKOK(group->meth->field_sub(C, rx, ry, group->meth));
215 /* Computes R = nP where R is (rx, ry) and P is the base point. Elliptic
225 mp_int *rx, mp_int *ry, const ECGroup *group)
289 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, &rz));
310 ec_GFp_pt_dbl_jm(rx, ry, &rz, &raz4, rx, ry, &rz,
313 ec_GFp_pt_add_jm_aff(rx, ry, &rz, &raz4,
315 &precomp[(naf[i] + 15) / 2][1], rx, ry,
321 MP_CHECKOK(ec_GFp_pt_jac2aff(rx, ry, &rz, rx, ry, group));