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

/external/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.c61 struct hostkeys { struct
229 struct hostkeys *
232 struct hostkeys *ret = xcalloc(1, sizeof(*ret));
239 load_hostkeys(struct hostkeys *hostkeys, const char *host, const char *path) argument
309 hostkeys->entries = xrealloc(hostkeys->entries,
310 hostkeys->num_entries + 1, sizeof(*hostkeys->entries));
311 hostkeys
325 free_hostkeys(struct hostkeys *hostkeys) argument
343 check_key_not_revoked(struct hostkeys *hostkeys, Key *k) argument
377 check_hostkeys_by_key_or_type(struct hostkeys *hostkeys, Key *k, int keytype, const struct hostkey_entry **found) argument
436 check_key_in_hostkeys(struct hostkeys *hostkeys, Key *key, const struct hostkey_entry **found) argument
445 lookup_key_in_hostkeys_by_type(struct hostkeys *hostkeys, int keytype, const struct hostkey_entry **found) argument
[all...]
H A Dauth.c373 struct hostkeys *hostkeys; local
376 hostkeys = init_hostkeys();
377 load_hostkeys(hostkeys, host, sysfile);
391 load_hostkeys(hostkeys, host, user_hostfile);
396 host_status = check_key_in_hostkeys(hostkeys, key, &found);
406 free_hostkeys(hostkeys);
H A Dsshconnect.c78 static int show_other_keys(struct hostkeys *, Key *);
708 struct hostkeys *host_hostkeys, *ip_hostkeys;
1204 show_other_keys(struct hostkeys *hostkeys, Key *key) argument
1214 if (!lookup_key_in_hostkeys_by_type(hostkeys, type[i], &found))
H A Dsshconnect2.c110 struct hostkeys *hostkeys; local
114 /* Find all hostkeys for this hostname */
116 hostkeys = init_hostkeys();
118 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i]);
120 load_hostkeys(hostkeys, hostname, options.system_hostfiles[i]);
138 if (lookup_key_in_hostkeys_by_type(hostkeys,
153 free_hostkeys(hostkeys);
1673 debug("No more client hostkeys for hostbased authentication.");
/external/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 289 milliseconds