Searched refs:curve_nid (Results 1 – 3 of 3) sorted by relevance
93 int curve_nid; in export_key_der() local96 curve_nid = NID_secp224r1; in export_key_der()99 curve_nid = NID_X9_62_prime256v1; in export_key_der()102 curve_nid = NID_secp384r1; in export_key_der()105 curve_nid = NID_secp521r1; in export_key_der()113 bssl::UniquePtr<EC_GROUP> ec_group(EC_GROUP_new_by_curve_name(curve_nid)); in export_key_der()116 << (uint32_t)curve_nid << ") failed"; in export_key_der()138 bssl::UniquePtr<EC_KEY> ec_key(EC_KEY_new_by_curve_name(curve_nid)); in export_key_der()
358 int curve_nid; in check_suite_b() local363 curve_nid = EC_GROUP_get_curve_name(grp); in check_suite_b()365 if (curve_nid == NID_secp384r1) { /* P-384 */ in check_suite_b()375 } else if (curve_nid == NID_X9_62_prime256v1) { /* P-256 */ in check_suite_b()
1238 int r, type, curve_nid = -1; in sshkey_read() local1284 (curve_nid = sshkey_ecdsa_nid_from_name(cp)) == -1) in sshkey_read()1321 curve_nid != k->ecdsa_nid) { in sshkey_read()