Lines Matching refs:gx
148 mp_int one, order_1, gx, gy, rx, ry, n; in ectest_curve_GFp() local
156 MP_CHECKOK(mp_init(&gx, kmflag)); in ectest_curve_GFp()
167 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth)); in ectest_curve_GFp()
170 MP_CHECKOK(mp_copy(&group->genx, &gx)); in ectest_curve_GFp()
176 MP_CHECKOK(mp_toradix(&gx, 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()
259 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
319 MP_CHECKOK(ECPoint_mul(group, &group->order, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
335 (group, &order_1, &order_1, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
346 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
353 if (ECPoint_validate(group, &gx, &gy) != MP_YES) { in ectest_curve_GFp()
359 if (ECPoint_validate(group, &gx, &ry) != MP_NO) { in ectest_curve_GFp()
386 (group, &n, &n, &gx, &gy, &rx, &ry)), 100); 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()
403 mp_clear(&gx); in ectest_curve_GFp()