Home
last modified time | relevance | path

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

/openssl/crypto/x509/
H A Dx509_cmp.c441 int curve_nid; in check_suite_b() local
450 curve_nid = OBJ_txt2nid(curve_name); in check_suite_b()
452 if (curve_nid == NID_secp384r1) { /* P-384 */ in check_suite_b()
462 } else if (curve_nid == NID_X9_62_prime256v1) { /* P-256 */ in check_suite_b()
/openssl/crypto/ec/
H A Dec_backend.c293 int ret = 0, curve_nid, encoding_flag; in ossl_ec_group_todata() local
326 curve_nid = EC_GROUP_get_curve_name(group); in ossl_ec_group_todata()
333 if (tmpl == NULL || curve_nid == NID_undef) in ossl_ec_group_todata()
337 if (curve_nid != NID_undef) { in ossl_ec_group_todata()
339 const char *curve_name = OSSL_EC_curve_nid2name(curve_nid); in ossl_ec_group_todata()
/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c475 int curve_nid = EC_GROUP_get_curve_name(group); in ec_param_to_text() local
478 if (curve_nid == NID_undef) in ec_param_to_text()
481 if (BIO_printf(out, "%s: %s\n", "ASN1 OID", OBJ_nid2sn(curve_nid)) <= 0) in ec_param_to_text()
484 curve_name = EC_curve_nid2nist(curve_nid); in ec_param_to_text()
H A Dencode_key2any.c671 int curve_nid; in prepare_ec_params() local
677 curve_nid = EC_GROUP_get_curve_name(group); in prepare_ec_params()
678 if (curve_nid != NID_undef) { in prepare_ec_params()
679 params = OBJ_nid2obj(curve_nid); in prepare_ec_params()
684 if (curve_nid != NID_undef in prepare_ec_params()
/openssl/ssl/
H A Dt1_lib.c1312 int curve_nid = ssl_get_EC_curve_nid(pkey); in tls1_get_group_id() local
1314 if (curve_nid == NID_undef) in tls1_get_group_id()
1316 return tls1_nid2group_id(curve_nid); in tls1_get_group_id()

Completed in 45 milliseconds