Home
last modified time | relevance | path

Searched refs:server_host_key (Results 1 – 4 of 4) sorted by relevance

/external/openssh/
Dkexc25519c.c76 struct sshkey *server_host_key = NULL; in input_kex_c25519_reply() local
93 &server_host_key)) != 0) in input_kex_c25519_reply()
95 if (server_host_key->type != kex->hostkey_type || in input_kex_c25519_reply()
97 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_c25519_reply()
101 if (kex->verify_host_key(server_host_key, ssh) == -1) { in input_kex_c25519_reply()
144 if ((r = sshkey_verify(server_host_key, signature, slen, hash, hashlen, in input_kex_c25519_reply()
167 sshkey_free(server_host_key); in input_kex_c25519_reply()
Dkexecdhc.c106 struct sshkey *server_host_key = NULL; in input_kex_ecdh_reply() local
125 &server_host_key)) != 0) in input_kex_ecdh_reply()
127 if (server_host_key->type != kex->hostkey_type || in input_kex_ecdh_reply()
129 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_ecdh_reply()
133 if (kex->verify_host_key(server_host_key, ssh) == -1) { in input_kex_ecdh_reply()
191 if ((r = sshkey_verify(server_host_key, signature, slen, hash, in input_kex_ecdh_reply()
222 sshkey_free(server_host_key); in input_kex_ecdh_reply()
Dkexdhc.c101 struct sshkey *server_host_key = NULL; in input_kex_dh() local
115 &server_host_key)) != 0) in input_kex_dh()
117 if (server_host_key->type != kex->hostkey_type || in input_kex_dh()
119 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_dh()
123 if (kex->verify_host_key(server_host_key, ssh) == -1) { in input_kex_dh()
178 if ((r = sshkey_verify(server_host_key, signature, slen, hash, hashlen, in input_kex_dh()
207 sshkey_free(server_host_key); in input_kex_dh()
Dkexgexc.c158 struct sshkey *server_host_key = NULL; in input_kex_dh_gex_reply() local
173 &server_host_key)) != 0) in input_kex_dh_gex_reply()
175 if (server_host_key->type != kex->hostkey_type) { in input_kex_dh_gex_reply()
179 if (server_host_key->type != kex->hostkey_type || in input_kex_dh_gex_reply()
181 server_host_key->ecdsa_nid != kex->hostkey_nid)) { in input_kex_dh_gex_reply()
185 if (kex->verify_host_key(server_host_key, ssh) == -1) { in input_kex_dh_gex_reply()
245 if ((r = sshkey_verify(server_host_key, signature, slen, hash, in input_kex_dh_gex_reply()
274 sshkey_free(server_host_key); in input_kex_dh_gex_reply()