Lines Matching refs:G2
2727 EC_POINT *G2 = NULL, *Q1 = NULL, *Q2 = NULL; in custom_generator_test() local
2753 || !TEST_ptr(G2 = EC_POINT_new(group)) in custom_generator_test()
2766 || !TEST_true(EC_POINT_dbl(group, G2, EC_GROUP_get0_generator(group), in custom_generator_test()
2768 || !TEST_true(EC_GROUP_set_generator(group, G2, in custom_generator_test()
2794 EC_POINT_free(G2); in custom_generator_test()
2812 EC_POINT *G2 = NULL, *Q1 = NULL, *Q2 = NULL; in custom_params_test() local
2863 || !TEST_ptr(G2 = EC_POINT_new(group)) in custom_params_test()
2865 || !TEST_true(EC_POINT_dbl(group, G2, in custom_params_test()
2868 || !TEST_int_eq(EC_POINT_point2oct(group, G2, in custom_params_test()
2872 || !TEST_int_eq(EC_POINT_point2oct(group, G2, in custom_params_test()
2893 EC_POINT_free(G2); /* discard G2 as it refers to the original group */ in custom_params_test()
2894 if (!TEST_ptr(G2 = EC_POINT_new(altgroup)) in custom_params_test()
2895 || !TEST_true(EC_POINT_oct2point(altgroup, G2, buf1, bsize, ctx)) in custom_params_test()
2896 || !TEST_int_eq(EC_POINT_is_on_curve(altgroup, G2, ctx), 1) in custom_params_test()
2897 || !TEST_true(EC_GROUP_set_generator(altgroup, G2, z, cof)) in custom_params_test()
3064 EC_POINT_free(G2); in custom_params_test()