Searched refs:hostkey_type (Results 1 – 3 of 3) sorted by relevance
891 k->hostkey_type = sshkey_type_from_name(k->hostkey_alg); in choose_hostkeyalg()892 if (k->hostkey_type == KEY_UNSPEC) { in choose_hostkeyalg()1179 *pubp = kex->load_host_public_key(kex->hostkey_type, in kex_load_hostkey()1181 *prvp = kex->load_host_private_key(kex->hostkey_type, in kex_load_hostkey()1197 if (server_host_key->type != kex->hostkey_type || in kex_verify_host_key()1198 (kex->hostkey_type == KEY_ECDSA && in kex_verify_host_key()
154 int hostkey_type; member
2413 (r = sshbuf_put_u32(m, kex->hostkey_type)) != 0 || in kex_to_blob()2580 (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_type)) != 0 || in kex_from_blob()