Searched refs:ecdsa_nid (Results 1 – 12 of 12) sorted by relevance
161 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 …]
67 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()
97 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_c25519_reply()
129 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_ecdh_reply()
126 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_dh()
447 (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()
104 int ecdsa_nid; /* NID of curve */ member
174 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_dh_gex_reply()
783 (key->type != KEY_ECDSA || key->ecdsa_nid == nid))
645 (*k)->ecdsa_nid = sshkey_ecdsa_key_to_nid((*k)->ecdsa); in do_convert_from_pkcs8()
368 ASSERT_INT_EQ(k1->ecdsa_nid, ke->ecdsa_nid); in sshkey_tests()
294 OBJ_nid2sn(k1->ecdsa_nid)); in sshkey_file_tests()