Lines Matching refs:rz
65 const mp_int *paz4, mp_int *rx, mp_int *ry, mp_int *rz,
82 /* Set r = pt at infinity by setting rz = 0 */
84 MP_CHECKOK(ec_GFp_pt_set_inf_jac(rx, ry, rz));
94 /* rz = 2 * py * pz */
96 MP_CHECKOK(group->meth->field_add(S, S, rz, 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));
157 MP_CHECKOK(group->meth->field_sqr(rz, raz4, group->meth));
166 MP_CHECKOK(mp_copy(pz, rz));
185 /* rz = pz * C */
186 MP_CHECKOK(group->meth->field_mul(pz, C, rz, group->meth));
206 /* raz4 = a * rz^4 */
207 MP_CHECKOK(group->meth->field_sqr(rz, raz4, group->meth));
228 mp_int precomp[16][2], rz, tpx, tpy;
234 MP_DIGITS(&rz) = 0;
252 MP_CHECKOK(mp_init(&rz, FLAG(n)));
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,
316 &rz, &raz4, scratch, group);
321 MP_CHECKOK(ec_GFp_pt_jac2aff(rx, ry, &rz, rx, ry, group));
333 mp_clear(&rz);