Searched refs:hostkey_type (Results 1 – 3 of 3) sorted by relevance
886 k->hostkey_type = sshkey_type_from_name(k->hostkey_alg); in choose_hostkeyalg()887 if (k->hostkey_type == KEY_UNSPEC) { in choose_hostkeyalg()1174 *pubp = kex->load_host_public_key(kex->hostkey_type, in kex_load_hostkey()1176 *prvp = kex->load_host_private_key(kex->hostkey_type, in kex_load_hostkey()1192 if (server_host_key->type != kex->hostkey_type || in kex_verify_host_key()1193 (kex->hostkey_type == KEY_ECDSA && in kex_verify_host_key()
149 int hostkey_type; member
2353 (r = sshbuf_put_u32(m, kex->hostkey_type)) != 0 || in kex_to_blob() 2516 (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_type)) != 0 || in kex_from_blob()