Lines Matching defs:psk
102 struct pam_ssh_key *psk;
131 if ((psk = malloc(sizeof(*psk))) == NULL) {
136 psk->key = key;
137 psk->comment = comment;
138 return (psk);
148 struct pam_ssh_key *psk;
150 psk = data;
151 key_free(psk->key);
152 free(psk->comment);
153 free(psk);
163 struct pam_ssh_key *psk;
198 psk = pam_ssh_load_key(pwd->pw_dir, *kfn, passphrase, nullok);
199 if (psk != NULL) {
200 pam_set_data(pamh, *kfn, psk, pam_ssh_free_key);
327 const struct pam_ssh_key *psk;
351 psk = item;
352 if (ssh_add_identity(fd, psk->key, psk->comment) == 0)
354 "added %s to ssh agent", psk->comment);
357 "to add %s to ssh agent", psk->comment);