Lines Matching refs:G
43 const EC_POINT *G = NULL; in group_order_tests() local
51 || !TEST_ptr(G = EC_GROUP_get0_generator(group)) in group_order_tests()
66 || !TEST_true(EC_POINT_copy(P, G)) in group_order_tests()
88 || (i == 1 && !TEST_int_eq(0, EC_POINT_cmp(group, P, G, ctx))) in group_order_tests()
1319 EC_POINT *G = NULL, *P = NULL, *Q = NULL, *Q_CHECK = NULL; in nistp_single_test() local
1341 || !TEST_ptr(G = EC_POINT_new(NISTP)) in nistp_single_test()
1358 || !TEST_true(EC_POINT_set_affine_coordinates(NISTP, G, x, y, ctx)) in nistp_single_test()
1360 || !TEST_true(EC_GROUP_set_generator(NISTP, G, order, BN_value_one())) in nistp_single_test()
1372 EC_POINT_mul(NISTP, Q, NULL, G, n, ctx); in nistp_single_test()
1376 || !TEST_true(EC_POINT_dbl(NISTP, P, G, ctx)) in nistp_single_test()
1408 || !TEST_true(EC_GROUP_set_generator(NISTP, G, order, BN_value_one()))) in nistp_single_test()
1415 EC_POINT_mul(NISTP, Q, NULL, G, n, ctx); in nistp_single_test()
1422 || !TEST_true(EC_POINT_copy(P, G)) in nistp_single_test()
1425 || !TEST_int_eq(0, EC_POINT_cmp(NISTP, Q, G, ctx))) in nistp_single_test()
1431 EC_POINT_free(G); in nistp_single_test()
2458 const EC_POINT *G = NULL; in ec_point_hex2point_test() local
2466 || !TEST_ptr(G = EC_GROUP_get0_generator(group)) in ec_point_hex2point_test()
2467 || !TEST_ptr(P = EC_POINT_dup(G, group))) in ec_point_hex2point_test()