Searched refs:ecdsa_nid (Results 1 – 10 of 10) sorted by relevance
157 return sshkey_ssh_name_from_type_nid(k->type, k->ecdsa_nid); in sshkey_ssh_name()164 k->ecdsa_nid); in sshkey_ssh_name_plain()278 return sshkey_curve_nid_to_bits(k->ecdsa_nid); in sshkey_size()470 k->ecdsa_nid = -1; in sshkey_new()743 typename = sshkey_ssh_name_from_type_nid(type, key->ecdsa_nid); in to_blob_buf()774 sshkey_curve_nid_to_name(key->ecdsa_nid))) != 0 || in to_blob_buf()1317 curve_nid != k->ecdsa_nid) { in sshkey_read()1356 ret->ecdsa_nid = k->ecdsa_nid; in sshkey_read()1358 k->ecdsa_nid = -1; in sshkey_read()1679 ret = ecdsa_generate_private_key(bits, &k->ecdsa_nid, in sshkey_generate()[all …]
67 if ((hash_alg = sshkey_ec_nid_to_hash_alg(key->ecdsa_nid)) == -1 || in ssh_ecdsa_sign()129 if ((hash_alg = sshkey_ec_nid_to_hash_alg(key->ecdsa_nid)) == -1 || in ssh_ecdsa_verify()
97 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_c25519_reply()
119 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_dh()
129 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_ecdh_reply()
443 (type != KEY_ECDSA || k->key->ecdsa_nid == nid)) in _ssh_host_public_key()458 (type != KEY_ECDSA || k->key->ecdsa_nid == nid)) in _ssh_host_private_key()
104 int ecdsa_nid; /* NID of curve */ member
174 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_dh_gex_reply()
869 (key->type != KEY_ECDSA || key->ecdsa_nid == nid))
643 (*k)->ecdsa_nid = sshkey_ecdsa_key_to_nid((*k)->ecdsa); in do_convert_from_pkcs8()