HomeSort by: relevance | last modified time | path
    Searched defs:altgroup (Results 1 - 2 of 2) sorted by relevancy

  /src/crypto/external/apache2/openssl/dist/test/
ectest.c 3193 EC_GROUP *group = NULL, *altgroup = NULL; local
3265 if (!TEST_ptr(altgroup = EC_GROUP_new_curve_GFp(p, a, b, ctx)))
3270 if (!TEST_ptr(altgroup = EC_GROUP_new_curve_GF2m(p, a, b, ctx)))
3275 /* set 2*G as the generator of altgroup */
3277 if (!TEST_ptr(G2 = EC_POINT_new(altgroup))
3278 || !TEST_true(EC_POINT_oct2point(altgroup, G2, buf1, bsize, ctx))
3279 || !TEST_int_eq(EC_POINT_is_on_curve(altgroup, G2, ctx), 1)
3280 || !TEST_true(EC_GROUP_set_generator(altgroup, G2, z, cof)))
3284 if (/* allocate temporary points on group and altgroup */
3286 || !TEST_ptr(Q2 = EC_POINT_new(altgroup))
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
ectest.c 2699 EC_GROUP *group = NULL, *altgroup = NULL; local
2770 if (!TEST_ptr(altgroup = EC_GROUP_new_curve_GFp(p, a, b, ctx)))
2775 if (!TEST_ptr(altgroup = EC_GROUP_new_curve_GF2m(p, a, b, ctx)))
2780 /* set 2*G as the generator of altgroup */
2782 if (!TEST_ptr(G2 = EC_POINT_new(altgroup))
2783 || !TEST_true(EC_POINT_oct2point(altgroup, G2, buf1, bsize, ctx))
2784 || !TEST_int_eq(EC_POINT_is_on_curve(altgroup, G2, ctx), 1)
2785 || !TEST_true(EC_GROUP_set_generator(altgroup, G2, z, cof))
2790 if (/* allocate temporary points on group and altgroup */
2792 || !TEST_ptr(Q2 = EC_POINT_new(altgroup))
    [all...]

Completed in 34 milliseconds