Lines Matching refs:sshbuf
75 static int sshkey_from_blob_internal(struct sshbuf *buf,
727 to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain) in to_blob_buf()
802 sshkey_putb(const struct sshkey *key, struct sshbuf *b) in sshkey_putb()
808 sshkey_puts(const struct sshkey *key, struct sshbuf *b) in sshkey_puts()
810 struct sshbuf *tmp; in sshkey_puts()
823 sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b) in sshkey_putb_plain()
833 struct sshbuf *b = NULL; in to_blob()
1239 struct sshbuf *blob; in sshkey_read()
1396 struct sshbuf *b = NULL; in sshkey_to_base64()
1422 sshkey_format_rsa1(const struct sshkey *key, struct sshbuf *b) in sshkey_format_rsa1()
1460 sshkey_format_text(const struct sshkey *key, struct sshbuf *b) in sshkey_format_text()
1485 struct sshbuf *b = NULL; in sshkey_write()
1839 cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf) in cert_parse()
1841 struct sshbuf *principals = NULL, *crit = NULL; in cert_parse()
1842 struct sshbuf *exts = NULL, *ca = NULL; in cert_parse()
1961 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal()
1969 struct sshbuf *copy; in sshkey_from_blob_internal()
2153 struct sshbuf *b; in sshkey_from_blob()
2164 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp) in sshkey_fromb()
2170 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp) in sshkey_froms()
2172 struct sshbuf *b; in sshkey_froms()
2383 struct sshbuf *principals = NULL; in sshkey_certify()
2387 struct sshbuf *cert; in sshkey_certify()
2582 sshkey_private_serialize(const struct sshkey *key, struct sshbuf *b) in sshkey_private_serialize()
2679 sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp) in sshkey_private_deserialize()
3038 sshkey_private_to_blob2(const struct sshkey *prv, struct sshbuf *blob, in sshkey_private_to_blob2()
3051 struct sshbuf *encoded = NULL, *encrypted = NULL, *kdf = NULL; in sshkey_private_to_blob2()
3189 sshkey_parse_private2(struct sshbuf *blob, int type, const char *passphrase, in sshkey_parse_private2()
3198 struct sshbuf *encoded = NULL, *decoded = NULL; in sshkey_parse_private2()
3199 struct sshbuf *kdf = NULL, *decrypted = NULL; in sshkey_parse_private2()
3415 sshkey_private_rsa1_to_blob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_rsa1_to_blob()
3418 struct sshbuf *buffer = NULL, *encrypted = NULL; in sshkey_private_rsa1_to_blob()
3510 sshkey_private_pem_to_blob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_pem_to_blob()
3567 sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_to_fileblob()
3601 sshkey_parse_public_rsa1_fileblob(struct sshbuf *blob, in sshkey_parse_public_rsa1_fileblob()
3606 struct sshbuf *copy = NULL; in sshkey_parse_public_rsa1_fileblob()
3659 sshkey_parse_private_rsa1(struct sshbuf *blob, const char *passphrase, in sshkey_parse_private_rsa1()
3665 struct sshbuf *decrypted = NULL, *copy = NULL; in sshkey_parse_private_rsa1()
3775 sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type, in sshkey_parse_private_pem_fileblob()
3912 sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type, in sshkey_parse_private_fileblob_type()
3956 sshkey_parse_private_fileblob(struct sshbuf *buffer, const char *passphrase, in sshkey_parse_private_fileblob()