Home
last modified time | relevance | path

Searched refs:altgroup (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dectest.c2699 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()
[all …]