Lines Matching refs:idlist
300 typedef struct idlist Idlist;
311 TAILQ_HEAD(idlist, identity);
327 struct idlist keys;
722 TAILQ_FOREACH_REVERSE(id, &authctxt->keys, idlist, next) { in input_userauth_pk_ok()
1635 struct ssh_identitylist *idlist; in get_agent_identities() local
1648 if ((r = ssh_fetch_identitylist(agent_fd, &idlist)) != 0) { in get_agent_identities()
1655 *idlistp = idlist; in get_agent_identities()
1656 debug_f("agent returned %zu keys", idlist->nkeys); in get_agent_identities()
1672 struct idlist agent, files, *preferred; in pubkey_prepare()
1676 struct ssh_identitylist *idlist; in pubkey_prepare() local
1731 if ((r = get_agent_identities(ssh, &agent_fd, &idlist)) == 0) { in pubkey_prepare()
1732 for (j = 0; j < idlist->nkeys; j++) { in pubkey_prepare()
1733 if ((r = sshkey_check_rsa_length(idlist->keys[j], in pubkey_prepare()
1736 sshkey_ssh_name(idlist->keys[j])); in pubkey_prepare()
1745 if (sshkey_equal(idlist->keys[j], id->key)) { in pubkey_prepare()
1756 id->key = idlist->keys[j]; in pubkey_prepare()
1757 id->filename = idlist->comments[j]; in pubkey_prepare()
1758 idlist->keys[j] = NULL; in pubkey_prepare()
1759 idlist->comments[j] = NULL; in pubkey_prepare()
1764 ssh_free_identitylist(idlist); in pubkey_prepare()