Lines Matching refs:gy
148 mp_int one, order_1, gx, gy, rx, ry, n; in ectest_curve_GFp() local
157 MP_CHECKOK(mp_init(&gy, kmflag)); in ectest_curve_GFp()
168 MP_CHECKOK(group->meth->field_dec(&group->geny, &gy, group->meth)); in ectest_curve_GFp()
171 MP_CHECKOK(mp_copy(&group->geny, &gy)); in ectest_curve_GFp()
178 MP_CHECKOK(mp_toradix(&gy, 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()
358 MP_CHECKOK(mp_add_d(&gy, 1, &ry)); 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()
404 mp_clear(&gy); in ectest_curve_GFp()