Lines Matching refs:ry
59 const mp_int *py, mp_int *rx, mp_int *ry) in ECPoint_mul() argument
80 MP_CHECKOK(group->base_point_mul(&kt, rx, ry, group)); in ECPoint_mul()
83 point_mul(&kt, &group->genx, &group->geny, rx, ry, in ECPoint_mul()
89 MP_CHECKOK(group->meth->field_enc(py, ry, group->meth)); in ECPoint_mul()
90 MP_CHECKOK(group->point_mul(&kt, rx, ry, rx, ry, group)); in ECPoint_mul()
92 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group)); in ECPoint_mul()
97 MP_CHECKOK(group->meth->field_dec(ry, ry, group->meth)); in ECPoint_mul()
113 const mp_int *py, mp_int *rx, mp_int *ry, in ec_pts_mul_basic() argument
126 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_basic()
128 return ECPoint_mul(group, k1, NULL, NULL, rx, ry); in ec_pts_mul_basic()
137 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry)); in ec_pts_mul_basic()
143 MP_CHECKOK(group->meth->field_enc(ry, ry, group->meth)); in ec_pts_mul_basic()
146 MP_CHECKOK(group->point_add(&sx, &sy, rx, ry, rx, ry, group)); in ec_pts_mul_basic()
150 MP_CHECKOK(group->meth->field_dec(ry, ry, group->meth)); in ec_pts_mul_basic()
168 const mp_int *py, mp_int *rx, mp_int *ry, in ec_pts_mul_simul_w2() argument
184 return ECPoint_mul(group, k2, px, py, rx, ry); in ec_pts_mul_simul_w2()
186 return ECPoint_mul(group, k1, NULL, NULL, rx, ry); in ec_pts_mul_simul_w2()
279 mp_zero(ry); in ec_pts_mul_simul_w2()
289 MP_CHECKOK(group->point_dbl(rx, ry, rx, ry, group)); in ec_pts_mul_simul_w2()
290 MP_CHECKOK(group->point_dbl(rx, ry, rx, ry, group)); in ec_pts_mul_simul_w2()
293 point_add(rx, ry, &precomp[ai][bi][0], in ec_pts_mul_simul_w2()
294 &precomp[ai][bi][1], rx, ry, group)); in ec_pts_mul_simul_w2()
299 MP_CHECKOK(group->meth->field_dec(ry, ry, group->meth)); in ec_pts_mul_simul_w2()
318 const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) in ECPoints_mul() argument
355 res = group->points_mul(k1p, k2p, px, py, rx, ry, group); in ECPoints_mul()
357 res = ec_pts_mul_simul_w2(k1p, k2p, px, py, rx, ry, group); in ECPoints_mul()