Lines Matching refs:keyp
157 sshkey_load_public_rsa1(int fd, struct sshkey **keyp, char **commentp) in sshkey_load_public_rsa1() argument
162 if (keyp != NULL) in sshkey_load_public_rsa1()
163 *keyp = NULL; in sshkey_load_public_rsa1()
171 if ((r = sshkey_parse_public_rsa1_fileblob(b, keyp, commentp)) != 0) in sshkey_load_public_rsa1()
212 struct sshkey **keyp, char **commentp, int *perm_ok) in sshkey_load_private_type() argument
216 if (keyp != NULL) in sshkey_load_private_type()
217 *keyp = NULL; in sshkey_load_private_type()
235 r = sshkey_load_private_type_fd(fd, type, passphrase, keyp, commentp); in sshkey_load_private_type()
243 struct sshkey **keyp, char **commentp) in sshkey_load_private_type_fd() argument
248 if (keyp != NULL) in sshkey_load_private_type_fd()
249 *keyp = NULL; in sshkey_load_private_type_fd()
256 passphrase, keyp, commentp)) != 0) in sshkey_load_private_type_fd()
269 struct sshkey **keyp, char **commentp) in sshkey_load_private() argument
274 if (keyp != NULL) in sshkey_load_private()
275 *keyp = NULL; in sshkey_load_private()
291 (r = sshkey_parse_private_fileblob(buffer, passphrase, keyp, in sshkey_load_private()
350 sshkey_load_public(const char *filename, struct sshkey **keyp, char **commentp) in sshkey_load_public() argument
356 if (keyp != NULL) in sshkey_load_public()
357 *keyp = NULL; in sshkey_load_public()
367 r = sshkey_load_public_rsa1(fd, keyp, commentp); in sshkey_load_public()
385 if (keyp != NULL) in sshkey_load_public()
386 *keyp = pub; in sshkey_load_public()
396 if (keyp != NULL) in sshkey_load_public()
397 *keyp = pub; in sshkey_load_public()
411 if (keyp != NULL) in sshkey_load_public()
412 *keyp = pub; in sshkey_load_public()
422 sshkey_load_cert(const char *filename, struct sshkey **keyp) in sshkey_load_cert() argument
428 if (keyp != NULL) in sshkey_load_cert()
429 *keyp = NULL; in sshkey_load_cert()
440 if (keyp != NULL) { in sshkey_load_cert()
441 *keyp = pub; in sshkey_load_cert()
454 struct sshkey **keyp, int *perm_ok) in sshkey_load_private_cert() argument
459 if (keyp != NULL) in sshkey_load_private_cert()
460 *keyp = NULL; in sshkey_load_private_cert()
490 if (keyp != NULL) { in sshkey_load_private_cert()
491 *keyp = key; in sshkey_load_private_cert()