Lines Matching refs:keyp

95     struct sshkey **keyp, int allow_cert);
1398 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate() argument
1404 if (keyp == NULL || sshkey_type_is_cert(type)) in sshkey_generate()
1406 *keyp = NULL; in sshkey_generate()
1419 *keyp = k; in sshkey_generate()
1897 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal() argument
1909 if (keyp != NULL) in sshkey_from_blob_internal()
1910 *keyp = NULL; in sshkey_from_blob_internal()
1952 if (keyp != NULL) { in sshkey_from_blob_internal()
1953 *keyp = key; in sshkey_from_blob_internal()
1964 sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp) in sshkey_from_blob() argument
1971 r = sshkey_from_blob_internal(b, keyp, 1); in sshkey_from_blob()
1977 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp) in sshkey_fromb() argument
1979 return sshkey_from_blob_internal(b, keyp, 1); in sshkey_fromb()
1983 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp) in sshkey_froms() argument
1990 r = sshkey_from_blob_internal(b, keyp, 1); in sshkey_froms()
3097 struct sshkey **keyp, char **commentp) in sshkey_parse_private2() argument
3104 if (keyp != NULL) in sshkey_parse_private2()
3105 *keyp = NULL; in sshkey_parse_private2()
3138 if (keyp != NULL) { in sshkey_parse_private2()
3139 *keyp = k; in sshkey_parse_private2()
3157 struct sshkey **keyp) in sshkey_parse_private2_pubkey() argument
3164 if (keyp != NULL) in sshkey_parse_private2_pubkey()
3165 *keyp = NULL; in sshkey_parse_private2_pubkey()
3195 if (keyp != NULL) { in sshkey_parse_private2_pubkey()
3196 *keyp = pubkey; in sshkey_parse_private2_pubkey()
3425 const char *passphrase, struct sshkey **keyp) in sshkey_parse_private_pem_fileblob() argument
3432 if (keyp != NULL) in sshkey_parse_private_pem_fileblob()
3433 *keyp = NULL; in sshkey_parse_private_pem_fileblob()
3553 if (keyp != NULL) { in sshkey_parse_private_pem_fileblob()
3554 *keyp = prv; in sshkey_parse_private_pem_fileblob()
3567 const char *passphrase, struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob_type() argument
3571 if (keyp != NULL) in sshkey_parse_private_fileblob_type()
3572 *keyp = NULL; in sshkey_parse_private_fileblob_type()
3580 keyp, commentp); in sshkey_parse_private_fileblob_type()
3582 r = sshkey_parse_private2(blob, type, passphrase, keyp, in sshkey_parse_private_fileblob_type()
3589 passphrase, keyp); in sshkey_parse_private_fileblob_type()
3598 struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob() argument
3600 if (keyp != NULL) in sshkey_parse_private_fileblob()
3601 *keyp = NULL; in sshkey_parse_private_fileblob()
3606 passphrase, keyp, commentp); in sshkey_parse_private_fileblob()