Lines Matching full:rx

148 	mp_int one, order_1, gx, gy, rx, ry, n;  in ectest_curve_GFp()  local
158 MP_CHECKOK(mp_init(&rx, kmflag)); in ectest_curve_GFp()
193 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); in ectest_curve_GFp()
196 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
202 if ((mp_cmp(&rx, &group->genx) != 0) in ectest_curve_GFp()
214 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); in ectest_curve_GFp()
217 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
223 if ((mp_cmp(&rx, &group->genx) != 0) in ectest_curve_GFp()
233 MP_CHECKOK(ECPoint_mul(group, &order_1, NULL, NULL, &rx, &ry)); in ectest_curve_GFp()
236 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
242 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
250 MP_CHECKOK(ECPoint_mul(group, &order_1, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
253 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
259 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
268 (&group->order, &group->genx, &group->geny, &rx, &ry, in ectest_curve_GFp()
272 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
277 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) { in ectest_curve_GFp()
287 (&group->order, &group->genx, &group->geny, &rx, &ry, in ectest_curve_GFp()
291 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
296 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) { in ectest_curve_GFp()
304 MP_CHECKOK(ECPoint_mul(group, &group->order, NULL, NULL, &rx, &ry)); in ectest_curve_GFp()
307 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
312 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) { in ectest_curve_GFp()
319 MP_CHECKOK(ECPoint_mul(group, &group->order, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
322 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
327 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) { in ectest_curve_GFp()
335 (group, &order_1, &order_1, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
336 MP_CHECKOK(ECPoints_mul(group, &one, &one, &rx, &ry, &rx, &ry)); in ectest_curve_GFp()
340 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
346 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
378 (&n, &group->genx, &group->geny, &rx, &ry, in ectest_curve_GFp()
382 (ECPoint_mul(group, &n, NULL, NULL, &rx, &ry)), in ectest_curve_GFp()
386 (group, &n, &n, &gx, &gy, &rx, &ry)), 100); in ectest_curve_GFp()
389 (ECPoint_mul(group, &n, NULL, NULL, &rx, &ry)), in ectest_curve_GFp()
392 (ECPoint_mul(group, &n, &gx, &gy, &rx, &ry)), in ectest_curve_GFp()
396 (group, &n, &n, &gx, &gy, &rx, &ry)), 100); in ectest_curve_GFp()
405 mp_clear(&rx); in ectest_curve_GFp()