Lines Matching refs:keyp
96 struct sshkey **keyp, int allow_cert);
1508 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate() argument
1514 if (keyp == NULL || sshkey_type_is_cert(type)) in sshkey_generate()
1516 *keyp = NULL; in sshkey_generate()
1529 *keyp = k; in sshkey_generate()
2005 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal() argument
2017 if (keyp != NULL) in sshkey_from_blob_internal()
2018 *keyp = NULL; in sshkey_from_blob_internal()
2060 if (keyp != NULL) { in sshkey_from_blob_internal()
2061 *keyp = key; in sshkey_from_blob_internal()
2072 sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp) in sshkey_from_blob() argument
2079 r = sshkey_from_blob_internal(b, keyp, 1); in sshkey_from_blob()
2085 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp) in sshkey_fromb() argument
2087 return sshkey_from_blob_internal(b, keyp, 1); in sshkey_fromb()
2091 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp) in sshkey_froms() argument
2098 r = sshkey_from_blob_internal(b, keyp, 1); in sshkey_froms()
3205 struct sshkey **keyp, char **commentp) in sshkey_parse_private2() argument
3212 if (keyp != NULL) in sshkey_parse_private2()
3213 *keyp = NULL; in sshkey_parse_private2()
3246 if (keyp != NULL) { in sshkey_parse_private2()
3247 *keyp = k; in sshkey_parse_private2()
3265 struct sshkey **keyp) in sshkey_parse_private2_pubkey() argument
3272 if (keyp != NULL) in sshkey_parse_private2_pubkey()
3273 *keyp = NULL; in sshkey_parse_private2_pubkey()
3303 if (keyp != NULL) { in sshkey_parse_private2_pubkey()
3304 *keyp = pubkey; in sshkey_parse_private2_pubkey()
3539 const char *passphrase, struct sshkey **keyp) in sshkey_parse_private_pem_fileblob() argument
3548 if (keyp != NULL) in sshkey_parse_private_pem_fileblob()
3549 *keyp = NULL; in sshkey_parse_private_pem_fileblob()
3679 if (keyp != NULL) { in sshkey_parse_private_pem_fileblob()
3680 *keyp = prv; in sshkey_parse_private_pem_fileblob()
3697 const char *passphrase, struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob_type() argument
3701 if (keyp != NULL) in sshkey_parse_private_fileblob_type()
3702 *keyp = NULL; in sshkey_parse_private_fileblob_type()
3710 keyp, commentp); in sshkey_parse_private_fileblob_type()
3712 r = sshkey_parse_private2(blob, type, passphrase, keyp, in sshkey_parse_private_fileblob_type()
3719 passphrase, keyp); in sshkey_parse_private_fileblob_type()
3728 struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob() argument
3730 if (keyp != NULL) in sshkey_parse_private_fileblob()
3731 *keyp = NULL; in sshkey_parse_private_fileblob()
3736 passphrase, keyp, commentp); in sshkey_parse_private_fileblob()