Lines Matching refs:ry
53 * projective coordinates R(rx, ry, rz). Assumes input is already
58 mp_int *ry, mp_int *rz, const ECGroup *group)
63 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, rz));
66 MP_CHECKOK(mp_copy(py, ry));
77 * affine coordinates R(rx, ry). P and R can share x and y coordinates.
82 mp_int *rx, mp_int *ry, const ECGroup *group)
96 MP_CHECKOK(ec_GFp_pt_set_inf_aff(rx, ry));
103 MP_CHECKOK(mp_copy(py, ry));
109 MP_CHECKOK(group->meth->field_mul(py, &z3, ry, group->meth));
136 /* Computes R = P + Q where R is (rx, ry, rz), P is (px, py, pz) and Q is
146 mp_int *ry, mp_int *rz, const ECGroup *group)
167 MP_CHECKOK(ec_GFp_pt_aff2jac(qx, qy, rx, ry, rz, group));
172 MP_CHECKOK(mp_copy(py, ry));
207 /* ry = D * (px * C^2 - rx) - py * C^3 */
208 MP_CHECKOK(group->meth->field_sub(&C, rx, ry, group->meth));
209 MP_CHECKOK(group->meth->field_mul(&D, ry, ry, group->meth));
210 MP_CHECKOK(group->meth->field_sub(ry, &C3, ry, group->meth));
234 mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group)
249 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, rz));
299 /* ry = M * (S - rx) - 8 * py^4 */
307 MP_CHECKOK(group->meth->field_sub(&M, &t1, ry, group->meth));
319 /* Computes R = nP where R is (rx, ry) and P is (px, py). The parameters
327 mp_int *rx, mp_int *ry, const ECGroup *group)
364 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, &rz));
376 MP_CHECKOK(ec_GFp_pt_dbl_jac(rx, ry, &rz, rx, ry, &rz, group));
377 MP_CHECKOK(ec_GFp_pt_dbl_jac(rx, ry, &rz, rx, ry, &rz, group));
378 MP_CHECKOK(ec_GFp_pt_dbl_jac(rx, ry, &rz, rx, ry, &rz, group));
379 MP_CHECKOK(ec_GFp_pt_dbl_jac(rx, ry, &rz, rx, ry, &rz, group));
382 (rx, ry, &rz, &precomp[ni][0], &precomp[ni][1], rx, ry,
387 MP_CHECKOK(ec_GFp_pt_jac2aff(rx, ry, &rz, rx, ry, group));
408 const mp_int *py, mp_int *rx, mp_int *ry,
433 return ECPoint_mul(group, k2, px, py, rx, ry);
435 return ECPoint_mul(group, k1, NULL, NULL, rx, ry);
520 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, &rz));
530 MP_CHECKOK(ec_GFp_pt_dbl_jac(rx, ry, &rz, rx, ry, &rz, group));
531 MP_CHECKOK(ec_GFp_pt_dbl_jac(rx, ry, &rz, rx, ry, &rz, group));
534 (rx, ry, &rz, &precomp[ai][bi][0], &precomp[ai][bi][1],
535 rx, ry, &rz, group));
538 MP_CHECKOK(ec_GFp_pt_jac2aff(rx, ry, &rz, rx, ry, group));
542 MP_CHECKOK(group->meth->field_dec(ry, ry, group->meth));