Home
last modified time | relevance | path

Searched refs:ecdsa_nid (Results 1 – 12 of 12) sorted by relevance

/external/openssh/
Dsshkey.c161 return sshkey_ssh_name_from_type_nid(k->type, k->ecdsa_nid); in sshkey_ssh_name()
168 k->ecdsa_nid); in sshkey_ssh_name_plain()
284 return sshkey_curve_nid_to_bits(k->ecdsa_nid); in sshkey_size()
470 k->ecdsa_nid = -1; in sshkey_new()
742 typename = sshkey_ssh_name_from_type_nid(type, key->ecdsa_nid); in to_blob_buf()
773 sshkey_curve_nid_to_name(key->ecdsa_nid))) != 0 || in to_blob_buf()
1321 curve_nid != k->ecdsa_nid) { in sshkey_read()
1361 ret->ecdsa_nid = k->ecdsa_nid; in sshkey_read()
1363 k->ecdsa_nid = -1; in sshkey_read()
1686 ret = ecdsa_generate_private_key(bits, &k->ecdsa_nid, in sshkey_generate()
[all …]
Dssh-ecdsa.c67 if ((hash_alg = sshkey_ec_nid_to_hash_alg(key->ecdsa_nid)) == -1 || in ssh_ecdsa_sign()
128 if ((hash_alg = sshkey_ec_nid_to_hash_alg(key->ecdsa_nid)) == -1 || in ssh_ecdsa_verify()
Dkexc25519c.c97 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_c25519_reply()
Dkexecdhc.c129 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_ecdh_reply()
Dkexdhc.c126 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_dh()
Dssh_api.c447 (type != KEY_ECDSA || k->key->ecdsa_nid == nid)) in _ssh_host_public_key()
462 (type != KEY_ECDSA || k->key->ecdsa_nid == nid)) in _ssh_host_private_key()
Dsshkey.h104 int ecdsa_nid; /* NID of curve */ member
Dkexgexc.c174 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_dh_gex_reply()
Dsshd.c783 (key->type != KEY_ECDSA || key->ecdsa_nid == nid))
Dssh-keygen.c645 (*k)->ecdsa_nid = sshkey_ecdsa_key_to_nid((*k)->ecdsa); in do_convert_from_pkcs8()
/external/openssh/regress/unittests/sshkey/
Dtest_sshkey.c368 ASSERT_INT_EQ(k1->ecdsa_nid, ke->ecdsa_nid); in sshkey_tests()
Dtest_file.c294 OBJ_nid2sn(k1->ecdsa_nid)); in sshkey_file_tests()