Lines Matching refs:keyp
92 struct sshkey **keyp, int allow_cert);
1369 sshkey_generate(int type, u_int bits, struct sshkey **keyp)
1375 if (keyp == NULL || sshkey_type_is_cert(type))
1377 *keyp = NULL;
1390 *keyp = k;
1868 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp,
1880 if (keyp != NULL)
1881 *keyp = NULL;
1923 if (keyp != NULL) {
1924 *keyp = key;
1935 sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp)
1942 r = sshkey_from_blob_internal(b, keyp, 1);
1948 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp)
1950 return sshkey_from_blob_internal(b, keyp, 1);
1954 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp)
1961 r = sshkey_from_blob_internal(b, keyp, 1);
3068 struct sshkey **keyp, char **commentp)
3075 if (keyp != NULL)
3076 *keyp = NULL;
3109 if (keyp != NULL) {
3110 *keyp = k;
3128 struct sshkey **keyp)
3135 if (keyp != NULL)
3136 *keyp = NULL;
3166 if (keyp != NULL) {
3167 *keyp = pubkey;
3390 const char *passphrase, struct sshkey **keyp)
3397 if (keyp != NULL)
3398 *keyp = NULL;
3514 if (keyp != NULL) {
3515 *keyp = prv;
3528 const char *passphrase, struct sshkey **keyp, char **commentp)
3532 if (keyp != NULL)
3533 *keyp = NULL;
3541 keyp, commentp);
3543 r = sshkey_parse_private2(blob, type, passphrase, keyp,
3550 passphrase, keyp);
3559 struct sshkey **keyp, char **commentp)
3561 if (keyp != NULL)
3562 *keyp = NULL;
3567 passphrase, keyp, commentp);