Lines Matching refs:altgroup
2699 EC_GROUP *group = NULL, *altgroup = NULL; in custom_params_test() local
2770 if (!TEST_ptr(altgroup = EC_GROUP_new_curve_GFp(p, a, b, ctx))) in custom_params_test()
2775 if (!TEST_ptr(altgroup = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) in custom_params_test()
2782 if (!TEST_ptr(G2 = EC_POINT_new(altgroup)) in custom_params_test()
2783 || !TEST_true(EC_POINT_oct2point(altgroup, G2, buf1, bsize, ctx)) in custom_params_test()
2784 || !TEST_int_eq(EC_POINT_is_on_curve(altgroup, G2, ctx), 1) in custom_params_test()
2785 || !TEST_true(EC_GROUP_set_generator(altgroup, G2, z, cof)) in custom_params_test()
2792 || !TEST_ptr(Q2 = EC_POINT_new(altgroup)) in custom_params_test()
2810 || !TEST_true(EC_POINT_mul(altgroup, Q2, k, NULL, NULL, ctx)) in custom_params_test()
2812 || !TEST_int_eq(EC_POINT_point2oct(altgroup, Q2, in custom_params_test()
2816 || !TEST_int_eq(EC_POINT_point2oct(altgroup, Q2, in custom_params_test()
2825 || !TEST_true(EC_KEY_set_group(eckey1, altgroup)) in custom_params_test()
2828 || !TEST_true(EC_KEY_set_group(eckey2, altgroup)) in custom_params_test()
2854 || !TEST_int_eq(EC_POINT_point2oct(altgroup, Q, in custom_params_test()
2858 || !TEST_int_eq(EC_POINT_point2oct(altgroup, Q, in custom_params_test()
2954 EC_GROUP_free(altgroup); in custom_params_test()