Home
last modified time | relevance | path

Searched refs:host_key (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/ssh/ssh/
H A Dsshconnect.c602 check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key, int in check_host_key() argument
607 char *type = key_type(host_key); in check_host_key()
687 file_key = key_new(host_key->type); in check_host_key()
694 host_status = check_host_in_hostfile(host_file, host, host_key, in check_host_key()
698 host_status = check_host_in_hostfile(host_file, host, host_key, in check_host_key()
706 Key *ip_key = key_new(host_key->type); in check_host_key()
709 ip_status = check_host_in_hostfile(ip_file, ip, host_key, in check_host_key()
714 host_key, ip_key, &ip_line); in check_host_key()
742 host_key, options.hash_known_hosts)) in check_host_key()
767 has_keys = show_other_keys(host, host_key); in check_host_key()
[all …]
H A Dsshconnect1.c333 try_rhosts_rsa_authentication(const char *local_user, Key * host_key) in try_rhosts_rsa_authentication() argument
343 packet_put_int(BN_num_bits(host_key->rsa->n)); in try_rhosts_rsa_authentication()
344 packet_put_bignum(host_key->rsa->e); in try_rhosts_rsa_authentication()
345 packet_put_bignum(host_key->rsa->n); in try_rhosts_rsa_authentication()
371 respond_to_rsa_challenge(challenge, host_key->rsa); in try_rhosts_rsa_authentication()
963 Key *host_key, *server_key; in ssh_kex() local
994 host_key = key_new(KEY_RSA1); in ssh_kex()
996 packet_get_bignum(host_key->rsa->e); in ssh_kex()
997 packet_get_bignum(host_key->rsa->n); in ssh_kex()
999 rbits = BN_num_bits(host_key->rsa->n); in ssh_kex()
[all …]