Lines Matching refs:keyp

119     struct sshkey **keyp, char **commentp)  in sshkey_load_private_type()  argument
123 if (keyp != NULL) in sshkey_load_private_type()
124 *keyp = NULL; in sshkey_load_private_type()
135 r = sshkey_load_private_type_fd(fd, type, passphrase, keyp, commentp); in sshkey_load_private_type()
136 if (r == 0 && keyp && *keyp) in sshkey_load_private_type()
137 r = sshkey_set_filename(*keyp, filename); in sshkey_load_private_type()
145 struct sshkey **keyp, char **commentp) in sshkey_load_private() argument
148 keyp, commentp); in sshkey_load_private()
153 struct sshkey **keyp, char **commentp) in sshkey_load_private_type_fd() argument
158 if (keyp != NULL) in sshkey_load_private_type_fd()
159 *keyp = NULL; in sshkey_load_private_type_fd()
162 passphrase, keyp, commentp)) != 0) in sshkey_load_private_type_fd()
263 sshkey_load_public(const char *filename, struct sshkey **keyp, char **commentp) in sshkey_load_public() argument
268 if (keyp != NULL) in sshkey_load_public()
269 *keyp = NULL; in sshkey_load_public()
273 if ((r = sshkey_try_load_public(keyp, filename, commentp)) == 0) in sshkey_load_public()
279 if ((r = sshkey_try_load_public(keyp, pubfile, commentp)) == 0) in sshkey_load_public()
283 if ((r = sshkey_load_pubkey_from_private(filename, keyp)) == 0) in sshkey_load_public()
299 sshkey_load_cert(const char *filename, struct sshkey **keyp) in sshkey_load_cert() argument
305 if (keyp != NULL) in sshkey_load_cert()
306 *keyp = NULL; in sshkey_load_cert()
311 r = sshkey_try_load_public(keyp, file, NULL); in sshkey_load_cert()
320 struct sshkey **keyp) in sshkey_load_private_cert() argument
325 if (keyp != NULL) in sshkey_load_private_cert()
326 *keyp = NULL; in sshkey_load_private_cert()
357 if (keyp != NULL) { in sshkey_load_private_cert()
358 *keyp = key; in sshkey_load_private_cert()