Home
last modified time | relevance | path

Searched refs:hostkeys (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/crypto/openssh/
H A Dhostfile.c227 struct hostkeys *hostkeys; member
234 struct hostkeys *hostkeys = ctx->hostkeys; in record_hostkey() local
254 hostkeys->entries[hostkeys->num_entries].line = l->linenum; in record_hostkey()
255 hostkeys->entries[hostkeys->num_entries].key = l->key; in record_hostkey()
257 hostkeys->entries[hostkeys->num_entries].marker = l->marker; in record_hostkey()
258 hostkeys->entries[hostkeys->num_entries].note = l->note; in record_hostkey()
266 load_hostkeys_file(struct hostkeys *hostkeys, const char *host, in load_hostkeys_file() argument
274 ctx.hostkeys = hostkeys; in load_hostkeys_file()
301 free_hostkeys(struct hostkeys *hostkeys) in free_hostkeys() argument
312 freezero(hostkeys, sizeof(*hostkeys)); in free_hostkeys()
[all …]
H A Dhostfile.h33 struct hostkeys { struct
38 struct hostkeys *init_hostkeys(void); argument
39 void load_hostkeys(struct hostkeys *, const char *,
41 void load_hostkeys_file(struct hostkeys *, const char *,
43 void free_hostkeys(struct hostkeys *);
45 HostStatus check_key_in_hostkeys(struct hostkeys *, struct sshkey *,
47 int lookup_key_in_hostkeys_by_type(struct hostkeys *, int, int,
49 int lookup_marker_in_hostkeys(struct hostkeys *, int);
H A Dsshconnect.h50 struct hostkeys;
94 void load_hostkeys_command(struct hostkeys *, const char *,
H A Dauth.c428 struct hostkeys *hostkeys; in check_key_in_hostfiles() local
431 hostkeys = init_hostkeys(); in check_key_in_hostfiles()
432 load_hostkeys(hostkeys, host, sysfile, 0); in check_key_in_hostfiles()
446 load_hostkeys(hostkeys, host, user_hostfile, 0); in check_key_in_hostfiles()
451 host_status = check_key_in_hostkeys(hostkeys, key, &found); in check_key_in_hostfiles()
461 free_hostkeys(hostkeys); in check_key_in_hostfiles()
H A Dssh-add.c695 struct hostkeys *hostkeys; in parse_dest_constraint_hop() local
722 hostkeys = init_hostkeys(); in parse_dest_constraint_hop()
726 load_hostkeys(hostkeys, host, path, 0); in parse_dest_constraint_hop()
731 for (i = 0; i < hostkeys->num_entries; i++) { in parse_dest_constraint_hop()
732 hke = hostkeys->entries + i; in parse_dest_constraint_hop()
752 free_hostkeys(hostkeys); in parse_dest_constraint_hop()
H A Dsshconnect.c83 static int show_other_keys(struct hostkeys *, struct sshkey *);
848 load_hostkeys_command(struct hostkeys *hostkeys, const char *command_template, in load_hostkeys_command() argument
907 load_hostkeys_file(hostkeys, hostfile_hostname, tag, f, 1); in load_hostkeys_command()
951 struct hostkeys *host_hostkeys, *ip_hostkeys; in check_host_key()
1594 show_other_keys(struct hostkeys *hostkeys, struct sshkey *key) in show_other_keys() argument
1613 if (!lookup_key_in_hostkeys_by_type(hostkeys, type[i], in show_other_keys()
H A Dsshconnect2.c128 struct hostkeys *hostkeys = NULL; in order_hostkeyalgs() local
134 hostkeys = init_hostkeys(); in order_hostkeyalgs()
136 load_hostkeys(hostkeys, hostname, options.user_hostfiles[i], 0); in order_hostkeyalgs()
138 load_hostkeys(hostkeys, hostname, in order_hostkeyalgs()
142 load_hostkeys_command(hostkeys, options.known_hosts_command, in order_hostkeyalgs()
153 if (lookup_key_in_hostkeys_by_type(hostkeys, in order_hostkeyalgs()
187 lookup_marker_in_hostkeys(hostkeys, MRK_CA)) { in order_hostkeyalgs()
192 if (lookup_key_in_hostkeys_by_type(hostkeys, in order_hostkeyalgs()
214 free_hostkeys(hostkeys); in order_hostkeyalgs()
H A DPROTOCOL367 2.5. connection: hostkey update and rotation "hostkeys[email protected]"
368 and "hostkeys[email protected]"
375 string "hostkeys[email protected]"
377 string[] hostkeys
386 it should send a "hostkeys[email protected]" message to request the
390 string "hostkeys[email protected]"
392 string[] hostkeys
397 string "hostkeys[email protected]"
402 the hostkeys in the request:
H A DChangeLog3437 upstream: Re-split the merge of the reorder-hostkeys test.
3440 reordering hostkeys with the actual reordering, but kex_assemble_names
5277 "hostkeys[email protected]" message; no functional change
/freebsd-14.2/crypto/openssh/regress/
H A Dssh-com-client.sh47 mkdir -p ${OBJ}/${USER}/hostkeys
48 HK=${OBJ}/${USER}/hostkeys/key_${PORT}_127.0.0.1
H A DMakefile307 $$V ${.OBJDIR}/unittests/hostkeys/test_hostkeys \
308 -d ${.CURDIR}/unittests/hostkeys/testdata ; \
/freebsd-14.2/crypto/openssh/regress/unittests/
H A DMakefile3 SUBDIR= test_helper sshbuf sshkey bitmap kex hostkeys utf8 match conversion