Searched refs:curves (Results 1 - 9 of 9) sorted by relevance

/freebsd-current/crypto/openssl/apps/
H A Decparam.c71 EC_builtin_curve *curves = NULL; local
74 curves = app_malloc((int)sizeof(*curves) * crv_len, "list curves");
75 if (!EC_get_builtin_curves(curves, crv_len))
79 const char *comment = curves[n].comment;
80 const char *sname = OBJ_nid2sn(curves[n].nid);
92 OPENSSL_free(curves);
313 * for named curves. This can be achieved using:
/freebsd-current/contrib/bearssl/tools/
H A Dnames.c326 } curves[] = { variable in typeref:struct:__anon237
560 for (u = 0; curves[u].name; u ++) {
561 if (curves[u].id == id) {
562 return curves[u].name;
676 for (u = 0; curves[u].name; u ++) {
679 for (v = 0; curves[u].sid[v]; v ++) {
687 printf("%s", curves[u].sid[v]);
1031 for (u = 0; curves[u].name; u ++) {
1032 for (v = 0; curves[u].sid[v]; v ++) {
1033 if (eqstr(curves[
[all...]
/freebsd-current/crypto/openssl/test/
H A Decdsatest.c32 static EC_builtin_curve *curves = NULL; variable
101 return TEST_skip("skip non approved curves");
199 nid = curves[n].nid;
201 /* skip built-in curves where ord(G) is not prime */
208 * skip SM2 curve if 'as' is equal to EVP_PKEY_EC or, skip all curves
370 TEST_note("Elliptic curves are disabled.");
376 /* get a list of all internal curves */
378 if (!TEST_ptr(curves = OPENSSL_malloc(sizeof(*curves) * crv_len))
379 || !TEST_true(EC_get_builtin_curves(curves, crv_le
[all...]
H A Dec_internal_test.c22 static EC_builtin_curve *curves = NULL; variable
172 int nid = curves[n].nid;
400 int nid = curves[n].nid;
439 if (!TEST_ptr(curves = OPENSSL_malloc(sizeof(*curves) * crv_len))
440 || !TEST_true(EC_get_builtin_curves(curves, crv_len)))
461 OPENSSL_free(curves);
H A Dectest.c36 static EC_builtin_curve *curves = NULL; variable
1140 int nid = curves[n].nid;
1158 int r, nid = curves[n].nid;
1209 * several NIST curves with characteristic > 3.
1514 nid = curves[id].nid;
1562 /* Only NIST curves pass */
1702 nid = curves[id].nid;
1814 * EC_GROUP for built-in curves.
1841 nid = curves[id].nid;
1942 * match with the built-in curves
[all...]
/freebsd-current/contrib/bearssl/inc/
H A Dbearssl_ssl.h3117 * the cipher suites, hash functions and elliptic curves
3437 * Curves supported by the client (bit mask, for named curves).
3439 uint32_t curves; member in struct:br_ssl_server_context_
3744 * \brief Get the elliptic curves supported by the client.
3749 * \return the client-supported elliptic curves.
3754 return cc->curves;
/freebsd-current/crypto/openssl/ssl/
H A Dssl_local.h2045 * example based on supported signature algorithms or curves.
2658 int *curves, size_t ncurves);
/freebsd-current/contrib/bearssl/test/
H A Dtest_crypto.c8380 test_EC_keygen(const char *name, const br_ec_impl *impl, uint32_t curves) argument
8397 if (curve < 0 || curve >= 32 || ((curves >> curve) & 1) == 0) {
/freebsd-current/contrib/bearssl/src/ssl/
H A Dssl_hs_server.c499 0x01, T0_INT2(offsetof(br_ssl_server_context, curves)), 0x00, 0x00,
1665 /* supported-curves */

Completed in 179 milliseconds