Home
last modified time | relevance | path

Searched refs:hostkey (Results 1 – 10 of 10) sorted by relevance

/openbsd/usr.bin/ssh/
H A Ddns.c195 struct sshkey *hostkey, int *flags) in verify_host_key_dns() argument
213 if (hostkey == NULL) in verify_host_key_dns()
257 &hostkey_digest, &hostkey_digest_len, hostkey)) { in verify_host_key_dns()
H A DPROTOCOL.agent18 string hostkey
23 Where 'hostkey' is the encoded server host public key, 'session
26 identifier using the private hostkey, as sent in the final
H A Dssh-agent.c687 struct sshkey *mkey = NULL, *hostkey = NULL; in parse_userauth_request() local
722 if ((r = sshkey_froms(b, &hostkey)) != 0) in parse_userauth_request()
744 *hostkeyp = hostkey; in parse_userauth_request()
745 hostkey = NULL; in parse_userauth_request()
755 sshkey_free(hostkey); in parse_userauth_request()
839 struct sshkey *key = NULL, *hostkey = NULL; in process_sign_request2() local
869 &hostkey) != 0) { in process_sign_request2()
897 if (e->nsession_ids > 1 && hostkey == NULL) { in process_sign_request2()
903 if (hostkey != NULL && !sshkey_equal(hostkey, in process_sign_request2()
974 sshkey_free(hostkey); in process_sign_request2()
H A Dssh_api.c508 _ssh_verify_host_key(struct sshkey *hostkey, struct ssh *ssh) in _ssh_verify_host_key() argument
512 debug3_f("need %s", sshkey_type(hostkey)); in _ssh_verify_host_key()
515 if (sshkey_equal_public(hostkey, k->key)) in _ssh_verify_host_key()
H A Dauth2-pubkey.c92 struct sshkey *key = NULL, *hostkey = NULL; in userauth_pubkey() local
111 (r = sshkey_fromb(b, &hostkey)) != 0) in userauth_pubkey()
115 if (!sshkey_equal(hostkey, ssh->kex->initial_hostkey)) in userauth_pubkey()
304 sshkey_free(hostkey); in userauth_pubkey()
H A Dmonitor.c1106 struct sshkey *hostkey = NULL; in monitor_valid_userblob() local
1165 (hostbound && (r = sshkey_froms(b, &hostkey)) != 0)) in monitor_valid_userblob()
1170 if (hostkey != NULL) { in monitor_valid_userblob()
1176 if (get_hostkey_index(hostkey, 1, ssh) == -1) in monitor_valid_userblob()
1178 sshkey_free(hostkey); in monitor_valid_userblob()
H A Dssh-keyscan.c186 key_print_wrapper(struct sshkey *hostkey, struct ssh *ssh) in key_print_wrapper() argument
191 keyprint(c, hostkey); in key_print_wrapper()
H A Dsshconnect2.c89 verify_host_key_callback(struct sshkey *hostkey, struct ssh *ssh) in verify_host_key_callback() argument
93 if ((r = sshkey_check_rsa_length(hostkey, in verify_host_key_callback()
96 if (verify_host_key(xxx_host, xxx_hostaddr, hostkey, in verify_host_key_callback()
H A DPROTOCOL367 2.5. connection: hostkey update and rotation "hostkeys-00@openssh.com"
399 string hostkey
/openbsd/regress/usr.bin/ssh/
H A DMakefile79 cert-hostkey \
88 hostkey-agent \
89 hostkey-rotate \