Lines Matching refs:host

112 host_hash(const char *host, const char *name_from_hostfile, u_int src_len)  in host_hash()  argument
134 HMAC_Update(&mac_ctx, (u_char *) host, strlen(host)); in host_hash()
176 hostfile_check_key(int bits, const Key *key, const char *host, const char *filename, int linenum) in hostfile_check_key() argument
183 filename, linenum, host, BN_num_bits(key->rsa->n), bits); in hostfile_check_key()
202 const char *host, const Key *key, int keytype, Key *found, int *numret) in check_host_in_hostfile_by_key_or_type() argument
241 if (match_hostname(host, cp, (u_int) (cp2 - cp)) != 1) { in check_host_in_hostfile_by_key_or_type()
244 hashed_host = host_hash(host, cp, (u_int) (cp2 - cp)); in check_host_in_hostfile_by_key_or_type()
276 if (!hostfile_check_key(kbits, found, host, filename, linenum)) in check_host_in_hostfile_by_key_or_type()
304 check_host_in_hostfile(const char *filename, const char *host, const Key *key, in check_host_in_hostfile() argument
309 return (check_host_in_hostfile_by_key_or_type(filename, host, key, 0, in check_host_in_hostfile()
314 lookup_key_in_hostfile_by_type(const char *filename, const char *host, in lookup_key_in_hostfile_by_type() argument
317 return (check_host_in_hostfile_by_key_or_type(filename, host, NULL, in lookup_key_in_hostfile_by_type()
327 add_host_to_hostfile(const char *filename, const char *host, const Key *key, in add_host_to_hostfile() argument
341 if ((hashed_host = host_hash(host, NULL, 0)) == NULL) { in add_host_to_hostfile()
347 fprintf(f, "%s ", store_hash ? hashed_host : host); in add_host_to_hostfile()