Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dhostfile.c216 struct hostkeys *
219 struct hostkeys *ret = xcalloc(1, sizeof(*ret)); in init_hostkeys()
228 struct hostkeys *hostkeys; member
235 struct hostkeys *hostkeys = ctx->hostkeys; in record_hostkey() local
249 if ((tmp = recallocarray(hostkeys->entries, hostkeys->num_entries, in record_hostkey()
250 hostkeys->num_entries + 1, sizeof(*hostkeys->entries))) == NULL) in record_hostkey()
252 hostkeys->entries = tmp; in record_hostkey()
253 hostkeys->entries[hostkeys->num_entries].host = xstrdup(ctx->host); in record_hostkey()
254 hostkeys->entries[hostkeys->num_entries].file = xstrdup(l->path); in record_hostkey()
255 hostkeys->entries[hostkeys->num_entries].line = l->linenum; in record_hostkey()
[all …]
H A Dhostfile.h34 struct hostkeys { struct
39 struct hostkeys *init_hostkeys(void); argument
40 void load_hostkeys(struct hostkeys *, const char *,
42 void load_hostkeys_file(struct hostkeys *, const char *,
44 void free_hostkeys(struct hostkeys *);
46 HostStatus check_key_in_hostkeys(struct hostkeys *, struct sshkey *,
48 int lookup_key_in_hostkeys_by_type(struct hostkeys *, int, int,
50 int lookup_marker_in_hostkeys(struct hostkeys *, int);
H A Dsshconnect.h53 struct hostkeys;
97 void load_hostkeys_command(struct hostkeys *, const char *,
H A Dsshconnect.c82 static int show_other_keys(struct hostkeys *, struct sshkey *);
908 load_hostkeys_command(struct hostkeys *hostkeys, const char *command_template, in load_hostkeys_command() argument
967 load_hostkeys_file(hostkeys, hostfile_hostname, tag, f, 1); in load_hostkeys_command()
1011 struct hostkeys *host_hostkeys, *ip_hostkeys; in check_host_key()
1660 show_other_keys(struct hostkeys *hostkeys, struct sshkey *key) in show_other_keys() argument
1679 if (!lookup_key_in_hostkeys_by_type(hostkeys, type[i], in show_other_keys()
H A DPROTOCOL367 2.5. connection: hostkey update and rotation "hostkeys-00@openssh.com"
368 and "hostkeys-prove-00@openssh.com"
375 string "hostkeys-00@openssh.com"
377 string[] hostkeys
386 it should send a "hostkeys-prove@openssh.com" message to request the
390 string "hostkeys-prove-00@openssh.com"
392 string[] hostkeys
397 string "hostkeys-prove-00@openssh.com"
402 the hostkeys in the request: