Searched refs:curve_nid (Results 1 – 6 of 6) sorted by relevance
430 int curve_nid; in check_suite_b() local439 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()
293 int ret = 0, curve_nid, encoding_flag; in ossl_ec_group_todata() local326 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()
474 int curve_nid = EC_GROUP_get_curve_name(group); in ec_param_to_text() local477 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()
671 int curve_nid; in prepare_ec_params() local677 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()
899 int curve_nid = ssl_get_EC_curve_nid(pkey); in tls1_get_group_id() local901 if (curve_nid == NID_undef) in tls1_get_group_id()903 return tls1_nid2group_id(curve_nid); in tls1_get_group_id()
6179 ECKeyPairGenerationConfig(int curve_nid, int param_encoding) in ECKeyPairGenerationConfig() argument6180 : curve_nid_(curve_nid), param_encoding_(param_encoding) {} in ECKeyPairGenerationConfig()6480 int curve_nid = EC_curve_nist2nid(*curve_name); in GenerateKeyPairEC() local6481 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()