Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Ddns.c190 struct sshkey *hostkey, int *flags) in verify_host_key_dns() argument
208 if (hostkey == NULL) in verify_host_key_dns()
252 &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.c716 struct sshkey *mkey = NULL, *hostkey = NULL; in parse_userauth_request() local
751 if ((r = sshkey_froms(b, &hostkey)) != 0) in parse_userauth_request()
773 *hostkeyp = hostkey; in parse_userauth_request()
774 hostkey = NULL; in parse_userauth_request()
784 sshkey_free(hostkey); in parse_userauth_request()
868 struct sshkey *key = NULL, *hostkey = NULL; in process_sign_request2() local
898 &hostkey) != 0) { in process_sign_request2()
926 if (e->nsession_ids > 1 && hostkey == NULL) { in process_sign_request2()
932 if (hostkey != NULL && !sshkey_equal(hostkey, in process_sign_request2()
1003 sshkey_free(hostkey); in process_sign_request2()
H A Dssh_api.c514 _ssh_verify_host_key(struct sshkey *hostkey, struct ssh *ssh) in _ssh_verify_host_key() argument
518 debug3_f("need %s", sshkey_type(hostkey)); in _ssh_verify_host_key()
521 if (sshkey_equal_public(hostkey, k->key)) in _ssh_verify_host_key()
H A Dauth2-pubkey.c93 struct sshkey *key = NULL, *hostkey = NULL; in userauth_pubkey() local
112 (r = sshkey_fromb(b, &hostkey)) != 0) in userauth_pubkey()
116 if (!sshkey_equal(hostkey, ssh->kex->initial_hostkey)) in userauth_pubkey()
306 sshkey_free(hostkey); in userauth_pubkey()
H A Dssh-keyscan.c206 key_print_wrapper(struct sshkey *hostkey, struct ssh *ssh) in key_print_wrapper() argument
211 keyprint(c, hostkey); in key_print_wrapper()
H A Dmonitor.c1377 struct sshkey *hostkey = NULL; in monitor_valid_userblob() local
1436 (hostbound && (r = sshkey_froms(b, &hostkey)) != 0)) in monitor_valid_userblob()
1441 if (hostkey != NULL) { in monitor_valid_userblob()
1447 if (get_hostkey_index(hostkey, 1, ssh) == -1) in monitor_valid_userblob()
1449 sshkey_free(hostkey); in monitor_valid_userblob()
H A Dsshconnect2.c91 verify_host_key_callback(struct sshkey *hostkey, struct ssh *ssh) in verify_host_key_callback() argument
95 if ((r = sshkey_check_rsa_length(hostkey, in verify_host_key_callback()
98 if (!key_type_allowed(hostkey, options.hostkeyalgorithms)) { in verify_host_key_callback()
100 sshkey_ssh_name(hostkey)); in verify_host_key_callback()
102 if (verify_host_key(xxx_host, (struct sockaddr *)&xxx_hostaddr, hostkey, in verify_host_key_callback()
H A DPROTOCOL336 2.5. connection: hostkey update and rotation "hostkeys-00@openssh.com"
343 https://datatracker.ietf.org/doc/draft-miller-sshm-hostkey-update/
H A DChangeLog51 cached hostkey that was being incorrectly freed early on some paths, possibly
769 upstream: fix multiple problems with testing hostkey types that are not
773 1) Add all hostkey types in the "multiple hostkeys" subtest.
775 only the last added hostkey type to be used.
776 2) Explicitly enable the hostkey types under test via
5511 upstream: memleak of hostkey when downgrading host cert->key; ok
9779 arranging the hostkey algorithms. AFAIK this code is unused in OpenSSH, but I
/freebsd/crypto/openssh/regress/
H A DREADME.regress123 cert-hostkey.sh certified host keys
132 hostkey-agent.sh: hostkey agent
134 hostkey-rotate.sh: hostkey rotate
H A DMakefile88 cert-hostkey \
97 hostkey-agent \
98 hostkey-rotate \
/freebsd/contrib/ntp/util/
H A Dntp-keygen.c316 int hostkey = 0; /* generate RSA keys */ in main() local
400 hostkey++; in main()
588 if (hostkey) in main()
/freebsd/contrib/ntp/
H A DCommitLog[all...]