Lines Matching refs:gx
150 mp_int one, order_1, gx, gy, rx, ry, n; in ectest_curve_GFp() local
158 MP_CHECKOK(mp_init(&gx, kmflag)); in ectest_curve_GFp()
169 MP_CHECKOK(group->meth->field_dec(&group->genx, &gx, group->meth)); in ectest_curve_GFp()
172 MP_CHECKOK(mp_copy(&group->genx, &gx)); in ectest_curve_GFp()
178 MP_CHECKOK(mp_toradix(&gx, 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()
261 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
321 MP_CHECKOK(ECPoint_mul(group, &group->order, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
337 (group, &order_1, &order_1, &gx, &gy, &rx, &ry)); in ectest_curve_GFp()
348 if ((mp_cmp(&rx, &gx) != 0) || (mp_cmp(&ry, &gy) != 0)) { in ectest_curve_GFp()
355 if (ECPoint_validate(group, &gx, &gy) != MP_YES) { in ectest_curve_GFp()
361 if (ECPoint_validate(group, &gx, &ry) != MP_NO) { in ectest_curve_GFp()
388 (group, &n, &n, &gx, &gy, &rx, &ry)), 100); 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()
405 mp_clear(&gx); in ectest_curve_GFp()