Lines Matching refs:sshkey

79 int	sshkey_private_serialize_opt(const struct sshkey *key,
82 struct sshkey **keyp, int allow_cert);
149 sshkey_type(const struct sshkey *k) in sshkey_type()
185 sshkey_ssh_name(const struct sshkey *k) in sshkey_ssh_name()
191 sshkey_ssh_name_plain(const struct sshkey *k) in sshkey_ssh_name_plain()
291 sshkey_size(const struct sshkey *k) in sshkey_size()
340 sshkey_is_cert(const struct sshkey *k) in sshkey_is_cert()
490 struct sshkey *
493 struct sshkey *k; in sshkey_new()
558 struct sshkey *
561 struct sshkey *k = sshkey_new(type); in sshkey_new_private()
569 sshkey_free(struct sshkey *k) in sshkey_free()
644 sshkey_equal_public(const struct sshkey *a, const struct sshkey *b) in sshkey_equal_public()
721 sshkey_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_equal()
733 to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain, in to_blob_buf()
831 sshkey_putb(const struct sshkey *key, struct sshbuf *b) in sshkey_putb()
837 sshkey_puts_opts(const struct sshkey *key, struct sshbuf *b, in sshkey_puts_opts()
853 sshkey_puts(const struct sshkey *key, struct sshbuf *b) in sshkey_puts()
859 sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b) in sshkey_putb_plain()
865 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain, in to_blob()
897 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob()
903 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob()
909 sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint_raw()
1076 const struct sshkey *k) in fingerprint_randomart()
1172 sshkey_fingerprint(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint()
1236 sshkey_read(struct sshkey *ret, char **cpp) in sshkey_read()
1238 struct sshkey *k; in sshkey_read()
1399 sshkey_to_base64(const struct sshkey *key, char **b64p) in sshkey_to_base64()
1428 sshkey_format_text(const struct sshkey *key, struct sshbuf *b) in sshkey_format_text()
1445 sshkey_write(const struct sshkey *key, FILE *f) in sshkey_write()
1468 sshkey_cert_type(const struct sshkey *k) in sshkey_cert_type()
1622 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate()
1624 struct sshkey *k; in sshkey_generate()
1673 sshkey_cert_copy(const struct sshkey *from_key, struct sshkey *to_key) in sshkey_cert_copy()
1729 sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) in sshkey_from_private()
1731 struct sshkey *n = NULL; in sshkey_from_private()
1873 cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf) in cert_parse()
2009 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal()
2014 struct sshkey *key = NULL; in sshkey_from_blob_internal()
2264 sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp) in sshkey_from_blob()
2277 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp) in sshkey_fromb()
2283 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp) in sshkey_froms()
2365 sshkey_sign(const struct sshkey *key, in sshkey_sign()
2407 sshkey_verify(const struct sshkey *key, in sshkey_verify()
2442 sshkey_to_certified(struct sshkey *k) in sshkey_to_certified()
2477 sshkey_drop_cert(struct sshkey *k) in sshkey_drop_cert()
2489 sshkey_certify_custom(struct sshkey *k, struct sshkey *ca, const char *alg, in sshkey_certify_custom()
2615 default_key_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in default_key_sign()
2625 sshkey_certify(struct sshkey *k, struct sshkey *ca, const char *alg) in sshkey_certify()
2631 sshkey_cert_check_authority(const struct sshkey *k, in sshkey_cert_check_authority()
2725 sshkey_private_serialize_opt(const struct sshkey *key, struct sshbuf *b, in sshkey_private_serialize_opt()
2866 sshkey_private_serialize(const struct sshkey *key, struct sshbuf *b) in sshkey_private_serialize()
2873 sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp) in sshkey_private_deserialize()
2876 struct sshkey *k = NULL; in sshkey_private_deserialize()
3353 sshkey_private_to_blob2(const struct sshkey *prv, struct sshbuf *blob, in sshkey_private_to_blob2()
3502 struct sshkey **keyp, char **commentp) in sshkey_parse_private2()
3513 struct sshkey *k = NULL; in sshkey_parse_private2()
3723 sshkey_private_pem_to_blob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_pem_to_blob()
3776 sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_to_fileblob()
3867 const char *passphrase, struct sshkey **keyp) in sshkey_parse_private_pem_fileblob()
3870 struct sshkey *prv = NULL; in sshkey_parse_private_pem_fileblob()
3961 const char *passphrase, struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob_type()
4003 struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob()
4020 sshkey_private_serialize_maxsign(const struct sshkey *k, struct sshbuf *b, in sshkey_private_serialize_maxsign()
4044 sshkey_signatures_left(const struct sshkey *k) in sshkey_signatures_left()
4052 sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign) in sshkey_enable_maxsign()
4060 sshkey_set_filename(struct sshkey *k, const char *filename) in sshkey_set_filename()
4074 sshkey_private_serialize_maxsign(const struct sshkey *k, struct sshbuf *b, in sshkey_private_serialize_maxsign()
4081 sshkey_signatures_left(const struct sshkey *k) in sshkey_signatures_left()
4087 sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign) in sshkey_enable_maxsign()
4093 sshkey_set_filename(struct sshkey *k, const char *filename) in sshkey_set_filename()