Home
last modified time | relevance | path

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

/external/openssh/
Dkexgexc.c150 struct sshkey *server_host_key = NULL; in input_kex_dh_gex_reply() local
165 if ((r = sshkey_fromb(tmp, &server_host_key)) != 0 || in input_kex_dh_gex_reply()
166 (r = kex_verify_host_key(ssh, server_host_key)) != 0) in input_kex_dh_gex_reply()
201 if ((r = sshkey_verify(server_host_key, signature, slen, hash, in input_kex_dh_gex_reply()
213 sshkey_free(server_host_key); in input_kex_dh_gex_reply()
Dkexgen.c142 struct sshkey *server_host_key = NULL; in input_kex_gen_reply() local
159 if ((r = sshkey_fromb(tmp, &server_host_key)) != 0) in input_kex_gen_reply()
161 if ((r = kex_verify_host_key(ssh, server_host_key)) != 0) in input_kex_gen_reply()
214 if ((r = sshkey_verify(server_host_key, signature, slen, hash, hashlen, in input_kex_gen_reply()
228 sshkey_free(server_host_key); in input_kex_gen_reply()
Dkex.c1116 kex_verify_host_key(struct ssh *ssh, struct sshkey *server_host_key) in kex_verify_host_key() argument
1124 if (server_host_key->type != kex->hostkey_type || in kex_verify_host_key()
1126 server_host_key->ecdsa_nid != kex->hostkey_nid)) in kex_verify_host_key()
1128 if (kex->verify_host_key(server_host_key, ssh) == -1) in kex_verify_host_key()