Home
last modified time | relevance | path

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

/external/nos/host/android/hals/keymaster/
Dexport_key.cpp93 int curve_nid; in export_key_der() local
96 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()
/external/boringssl/src/crypto/x509/
Dx509_cmp.c358 int curve_nid; in check_suite_b() local
363 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()
/external/openssh/
Dsshkey.c1238 int r, type, curve_nid = -1; in sshkey_read() local
1284 (curve_nid = sshkey_ecdsa_nid_from_name(cp)) == -1) in sshkey_read()
1321 curve_nid != k->ecdsa_nid) { in sshkey_read()