Lines Matching defs:curves
36 static EC_builtin_curve *curves = NULL;
1116 int nid = curves[n].nid;
1134 int r, nid = curves[n].nid;
1184 * several NIST curves with characteristic > 3.
1497 nid = curves[id].nid;
1543 /* Only NIST curves pass */
1683 nid = curves[id].nid;
1794 * EC_GROUP for built-in curves.
1821 nid = curves[id].nid;
1918 * match with the built-in curves
2186 * Test two random 256-bit explicit parameters curves with absent cofactor.
2187 * The two curves are chosen to roughly straddle the bounds at which the lib
2193 * For standards-compliant curves, cofactor is chosen as small as possible.
2194 * So you can see neither of these curves are fit for cryptographic use.
2198 * will always succeed in computing the cofactor. Neither of these curves
2224 * For named curves, test that:
2232 int nid = curves[n].nid;
2321 || !TEST_ptr(key = EC_KEY_new_by_curve_name(curves[id].nid))
2339 /* test for binary curves */
2345 /* test for prime curves */
2425 nid = curves[id].nid;
2696 nid = curves[id].nid;
2772 * check creation of curves from explicit params through the public API
2796 nid = curves[id].nid;
2819 ret = TEST_skip("binary curves not supported in this build");
3104 if (!TEST_ptr(curves = OPENSSL_malloc(sizeof(*curves) * crv_len))
3105 || !TEST_true(EC_get_builtin_curves(curves, crv_len)))
3135 OPENSSL_free(curves);