Home
last modified time | relevance | path

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

/third_party/openssl/crypto/x509/
Dx509_cmp.c430 int curve_nid; in check_suite_b() local
439 curve_nid = OBJ_txt2nid(curve_name); in check_suite_b()
441 if (curve_nid == NID_secp384r1) { /* P-384 */ in check_suite_b()
451 } else if (curve_nid == NID_X9_62_prime256v1) { /* P-256 */ in check_suite_b()
/third_party/openssl/crypto/ec/
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()
/third_party/openssl/providers/implementations/encode_decode/
Dencode_key2text.c474 int curve_nid = EC_GROUP_get_curve_name(group); in ec_param_to_text() local
477 if (curve_nid == NID_undef) in ec_param_to_text()
480 if (BIO_printf(out, "%s: %s\n", "ASN1 OID", OBJ_nid2sn(curve_nid)) <= 0) in ec_param_to_text()
483 curve_name = EC_curve_nid2nist(curve_nid); in ec_param_to_text()
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()
/third_party/openssl/ssl/
Dt1_lib.c899 int curve_nid = ssl_get_EC_curve_nid(pkey); in tls1_get_group_id() local
901 if (curve_nid == NID_undef) in tls1_get_group_id()
903 return tls1_nid2group_id(curve_nid); in tls1_get_group_id()
/third_party/node/src/
Dnode_crypto.cc6179 ECKeyPairGenerationConfig(int curve_nid, int param_encoding) in ECKeyPairGenerationConfig() argument
6180 : curve_nid_(curve_nid), param_encoding_(param_encoding) {} in ECKeyPairGenerationConfig()
6480 int curve_nid = EC_curve_nist2nid(*curve_name); in GenerateKeyPairEC() local
6481 if (curve_nid == NID_undef) in GenerateKeyPairEC()
6482 curve_nid = OBJ_sn2nid(*curve_name); in GenerateKeyPairEC()
6484 if (curve_nid == NID_undef) { in GenerateKeyPairEC()
6493 new ECKeyPairGenerationConfig(curve_nid, param_encoding)); in GenerateKeyPairEC()