Lines Matching refs:host_key

708 check_host_cert(const char *host, const Key *host_key)  in check_host_cert()  argument
712 if (key_cert_check_authority(host_key, 1, 0, host, &reason) != 0) { in check_host_cert()
716 if (buffer_len(host_key->cert->critical) != 0) { in check_host_cert()
806 Key *host_key, int readonly, in check_host_key() argument
820 int r, want_cert = key_is_cert(host_key), host_ip_differ = 0; in check_host_key()
871 want_cert = key_is_cert(host_key); in check_host_key()
872 type = key_type(host_key); in check_host_key()
878 host_status = check_key_in_hostkeys(host_hostkeys, host_key, in check_host_key()
887 ip_status = check_key_in_hostkeys(ip_hostkeys, host_key, in check_host_key()
904 if (want_cert && !check_host_cert(hostname, host_key)) in check_host_key()
912 host_key, options.hash_known_hosts)) in check_host_key()
922 fp = sshkey_fingerprint(host_key, in check_host_key()
924 ra = sshkey_fingerprint(host_key, in check_host_key()
938 if (check_host_key(hostname, hostaddr, 0, host_key, in check_host_key()
960 if (show_other_keys(host_hostkeys, host_key)) in check_host_key()
967 fp = sshkey_fingerprint(host_key, in check_host_key()
969 ra = sshkey_fingerprint(host_key, in check_host_key()
1010 host, host_key, options.hash_known_hosts) && in check_host_key()
1012 host_key, options.hash_known_hosts); in check_host_key()
1016 hostline, host_key, in check_host_key()
1021 host_key, options.hash_known_hosts); in check_host_key()
1086 warn_changed_key(host_key); in check_host_key()
1218 raw_key = key_from_private(host_key); in check_host_key()
1221 host_key = raw_key; in check_host_key()
1237 verify_host_key(char *host, struct sockaddr *hostaddr, Key *host_key) in verify_host_key() argument
1243 if ((fp = sshkey_fingerprint(host_key, in verify_host_key()
1251 compat20 ? sshkey_ssh_name(host_key) : sshkey_type(host_key), fp); in verify_host_key()
1253 if (sshkey_equal(previous_host_key, host_key)) { in verify_host_key()
1255 __func__, sshkey_type(host_key), fp); in verify_host_key()
1262 r = sshkey_check_revoked(host_key, options.revoked_host_keys); in verify_host_key()
1268 sshkey_type(host_key), fp, in verify_host_key()
1274 "revoked keys file %s: %s", sshkey_type(host_key), in verify_host_key()
1286 if ((r = sshkey_from_private(host_key, &plain)) != 0) in verify_host_key()
1309 r = check_host_key(host, hostaddr, options.port, host_key, RDRW, in verify_host_key()
1316 if (r == 0 && host_key != NULL) { in verify_host_key()
1318 previous_host_key = key_from_private(host_key); in verify_host_key()
1428 warn_changed_key(Key *host_key) in warn_changed_key() argument
1432 fp = sshkey_fingerprint(host_key, options.fingerprint_hash, in warn_changed_key()
1444 key_type(host_key), fp); in warn_changed_key()