Searched refs:hostkeys (Results 1 - 6 of 6) sorted by relevance

/freebsd-10.1-release/crypto/openssh/
H A Dhostfile.h32 struct hostkeys;
34 struct hostkeys *init_hostkeys(void);
35 void load_hostkeys(struct hostkeys *, const char *, const char *);
36 void free_hostkeys(struct hostkeys *);
38 HostStatus check_key_in_hostkeys(struct hostkeys *, Key *,
40 int lookup_key_in_hostkeys_by_type(struct hostkeys *, int,
H A Dhostfile.c60 struct hostkeys { struct
232 struct hostkeys *
235 struct hostkeys *ret = xcalloc(1, sizeof(*ret));
242 load_hostkeys(struct hostkeys *hostkeys, const char *host, const char *path) argument
312 hostkeys->entries = xrealloc(hostkeys->entries,
313 hostkeys->num_entries + 1, sizeof(*hostkeys->entries));
314 hostkeys
328 free_hostkeys(struct hostkeys *hostkeys) argument
344 check_key_not_revoked(struct hostkeys *hostkeys, Key *k) argument
378 check_hostkeys_by_key_or_type(struct hostkeys *hostkeys, Key *k, int keytype, const struct hostkey_entry **found) argument
437 check_key_in_hostkeys(struct hostkeys *hostkeys, Key *key, const struct hostkey_entry **found) argument
446 lookup_key_in_hostkeys_by_type(struct hostkeys *hostkeys, int keytype, const struct hostkey_entry **found) argument
[all...]
H A Dauth.c402 struct hostkeys *hostkeys; local
405 hostkeys = init_hostkeys();
406 load_hostkeys(hostkeys, host, sysfile);
420 load_hostkeys(hostkeys, host, user_hostfile);
425 host_status = check_key_in_hostkeys(hostkeys, key, &found);
435 free_hostkeys(hostkeys);
H A Dsshconnect.c81 static int show_other_keys(struct hostkeys *, Key *);
844 struct hostkeys *host_hostkeys, *ip_hostkeys;
1348 show_other_keys(struct hostkeys *hostkeys, Key *key) argument
1365 if (!lookup_key_in_hostkeys_by_type(hostkeys, type[i], &found))
H A Dsshconnect2.c119 struct hostkeys *hostkeys; local
123 /* Find all hostkeys for this hostname */
125 hostkeys = init_hostkeys();
127 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i]);
129 load_hostkeys(hostkeys, hostname, options.system_hostfiles[i]);
147 if (lookup_key_in_hostkeys_by_type(hostkeys,
162 free_hostkeys(hostkeys);
1534 debug("No more client hostkeys for hostbased authentication.");
/freebsd-10.1-release/crypto/openssh/regress/
H A Dssh-com-client.sh46 # add hostkeys to known hosts
47 mkdir -p ${OBJ}/${USER}/hostkeys
48 HK=${OBJ}/${USER}/hostkeys/key_${PORT}_127.0.0.1

Completed in 168 milliseconds