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

/freebsd-10.3-release/crypto/openssh/regress/unittests/
H A DMakefile3 SUBDIR= test_helper sshbuf sshkey bitmap kex hostkeys
/freebsd-10.3-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 *, struct sshkey *,
40 int lookup_key_in_hostkeys_by_type(struct hostkeys *, int,
60 * Iterate through a hostkeys file, optionally parsing keys and matching
104 /* Iterate over a hostkeys file */
H A Dhostfile.c65 struct hostkeys { struct
222 struct hostkeys *
225 struct hostkeys *ret = xcalloc(1, sizeof(*ret));
234 struct hostkeys *hostkeys; member in struct:load_callback_ctx
241 struct hostkeys *hostkeys = ctx->hostkeys; local
246 debug("%s:%ld: parse error in hostkeys file",
255 if ((tmp = reallocarray(hostkeys
272 load_hostkeys(struct hostkeys *hostkeys, const char *host, const char *path) argument
293 free_hostkeys(struct hostkeys *hostkeys) argument
309 check_key_not_revoked(struct hostkeys *hostkeys, struct sshkey *k) argument
343 check_hostkeys_by_key_or_type(struct hostkeys *hostkeys, struct sshkey *k, int keytype, const struct hostkey_entry **found) argument
402 check_key_in_hostkeys(struct hostkeys *hostkeys, struct sshkey *key, const struct hostkey_entry **found) argument
411 lookup_key_in_hostkeys_by_type(struct hostkeys *hostkeys, int keytype, const struct hostkey_entry **found) argument
[all...]
H A Dauth.c419 struct hostkeys *hostkeys; local
422 hostkeys = init_hostkeys();
423 load_hostkeys(hostkeys, host, sysfile);
437 load_hostkeys(hostkeys, host, user_hostfile);
442 host_status = check_key_in_hostkeys(hostkeys, key, &found);
452 free_hostkeys(hostkeys);
H A Dsshconnect.c85 static int show_other_keys(struct hostkeys *, Key *);
826 struct hostkeys *host_hostkeys, *ip_hostkeys;
1417 show_other_keys(struct hostkeys *hostkeys, Key *key) argument
1434 if (!lookup_key_in_hostkeys_by_type(hostkeys, type[i], &found))
H A Dsshconnect2.c107 struct hostkeys *hostkeys; local
111 /* Find all hostkeys for this hostname */
113 hostkeys = init_hostkeys();
115 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i]);
117 load_hostkeys(hostkeys, hostname, options.system_hostfiles[i]);
135 if (lookup_key_in_hostkeys_by_type(hostkeys,
151 free_hostkeys(hostkeys);
1741 debug("No more client hostkeys for hostbased authentication.");
/freebsd-10.3-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
H A DMakefile220 $$V ${.OBJDIR}/unittests/hostkeys/test_hostkeys \
221 -d ${.CURDIR}/unittests/hostkeys/testdata ; \

Completed in 174 milliseconds