Lines Matching refs:rx
150 mp_int one, order_1, gx, gy, rx, ry, n; in ectest_curve_GFp() local
160 MP_CHECKOK(mp_init(&rx, kmflag)); in ectest_curve_GFp()
195 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); in ectest_curve_GFp()
198 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
204 if ((mp_cmp(&rx, &group->genx) != 0) in ectest_curve_GFp()
216 (&order_1, &group->genx, &group->geny, &rx, &ry, group)); in ectest_curve_GFp()
219 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
225 if ((mp_cmp(&rx, &group->genx) != 0) in ectest_curve_GFp()
235 MP_CHECKOK(ECPoint_mul(group, &order_1, NULL, NULL, &rx, &ry)); in ectest_curve_GFp()
238 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
244 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
252 MP_CHECKOK(ECPoint_mul(group, &order_1, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
255 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
261 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
270 (&group->order, &group->genx, &group->geny, &rx, &ry, in ectest_curve_GFp()
274 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
279 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) { in ectest_curve_GFp()
289 (&group->order, &group->genx, &group->geny, &rx, &ry, in ectest_curve_GFp()
293 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
298 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) { in ectest_curve_GFp()
306 MP_CHECKOK(ECPoint_mul(group, &group->order, NULL, NULL, &rx, &ry)); in ectest_curve_GFp()
309 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
314 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) { in ectest_curve_GFp()
321 MP_CHECKOK(ECPoint_mul(group, &group->order, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
324 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
329 if (ec_GFp_pt_is_inf_aff(&rx, &ry) != MP_YES) { in ectest_curve_GFp()
337 (group, &order_1, &order_1, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
338 MP_CHECKOK(ECPoints_mul(group, &one, &one, &rx, &ry, &rx, &ry)); in ectest_curve_GFp()
342 MP_CHECKOK(mp_toradix(&rx, s, 16)); in ectest_curve_GFp()
348 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
380 (&n, &group->genx, &group->geny, &rx, &ry, in ectest_curve_GFp()
384 (ECPoint_mul(group, &n, NULL, NULL, &rx, &ry)), in ectest_curve_GFp()
388 (group, &n, &n, &gx, &gy, &rx, &ry)), 100); in ectest_curve_GFp()
391 (ECPoint_mul(group, &n, NULL, NULL, &rx, &ry)), in ectest_curve_GFp()
394 (ECPoint_mul(group, &n, &gx, &gy, &rx, &ry)), in ectest_curve_GFp()
398 (group, &n, &n, &gx, &gy, &rx, &ry)), 100); in ectest_curve_GFp()
407 mp_clear(&rx); in ectest_curve_GFp()