Lines Matching refs:sshkey
77 struct sshkey **keyp, int allow_cert);
123 sshkey_type(const struct sshkey *k) in sshkey_type()
159 sshkey_ssh_name(const struct sshkey *k) in sshkey_ssh_name()
165 sshkey_ssh_name_plain(const struct sshkey *k) in sshkey_ssh_name_plain()
269 sshkey_size(const struct sshkey *k) in sshkey_size()
294 sshkey_cert_is_legacy(const struct sshkey *k) in sshkey_cert_is_legacy()
320 sshkey_is_cert(const struct sshkey *k) in sshkey_is_cert()
477 struct sshkey *
480 struct sshkey *k; in sshkey_new()
555 sshkey_add_private(struct sshkey *k) in sshkey_add_private()
596 struct sshkey *
599 struct sshkey *k = sshkey_new(type); in sshkey_new_private()
611 sshkey_free(struct sshkey *k) in sshkey_free()
685 sshkey_equal_public(const struct sshkey *a, const struct sshkey *b) in sshkey_equal_public()
744 sshkey_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_equal()
756 to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain) in to_blob_buf()
827 sshkey_putb(const struct sshkey *key, struct sshbuf *b) in sshkey_putb()
833 sshkey_puts(const struct sshkey *key, struct sshbuf *b) in sshkey_puts()
848 sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b) in sshkey_putb_plain()
854 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain) in to_blob()
885 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob()
891 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob()
897 sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint_raw()
1079 const struct sshkey *k) in fingerprint_randomart()
1175 sshkey_fingerprint(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint()
1255 sshkey_read(struct sshkey *ret, char **cpp) in sshkey_read()
1257 struct sshkey *k; in sshkey_read()
1412 sshkey_write(const struct sshkey *key, FILE *f) in sshkey_write()
1507 sshkey_cert_type(const struct sshkey *k) in sshkey_cert_type()
1662 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate()
1664 struct sshkey *k; in sshkey_generate()
1709 sshkey_cert_copy(const struct sshkey *from_key, struct sshkey *to_key) in sshkey_cert_copy()
1765 sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) in sshkey_from_private()
1767 struct sshkey *n = NULL; in sshkey_from_private()
1845 cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf) in cert_parse()
1970 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal()
1975 struct sshkey *key = NULL; in sshkey_from_blob_internal()
2159 sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp) in sshkey_from_blob()
2172 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp) in sshkey_fromb()
2178 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp) in sshkey_froms()
2191 sshkey_sign(const struct sshkey *key, in sshkey_sign()
2229 sshkey_verify(const struct sshkey *key, in sshkey_verify()
2261 sshkey_demote(const struct sshkey *k, struct sshkey **dkp) in sshkey_demote()
2263 struct sshkey *pk; in sshkey_demote()
2355 sshkey_to_certified(struct sshkey *k, int legacy) in sshkey_to_certified()
2389 sshkey_drop_cert(struct sshkey *k) in sshkey_drop_cert()
2401 sshkey_certify(struct sshkey *k, struct sshkey *ca) in sshkey_certify()
2533 sshkey_cert_check_authority(const struct sshkey *k, in sshkey_cert_check_authority()
2590 sshkey_private_serialize(const struct sshkey *key, struct sshbuf *b) in sshkey_private_serialize()
2689 sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp) in sshkey_private_deserialize()
2692 struct sshkey *k = NULL; in sshkey_private_deserialize()
3043 sshkey_private_to_blob2(const struct sshkey *prv, struct sshbuf *blob, in sshkey_private_to_blob2()
3197 struct sshkey **keyp, char **commentp) in sshkey_parse_private2()
3208 struct sshkey *k = NULL; in sshkey_parse_private2()
3416 sshkey_private_rsa1_to_blob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_rsa1_to_blob()
3515 sshkey_private_pem_to_blob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_pem_to_blob()
3572 sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_to_fileblob()
3607 struct sshkey **keyp, char **commentp) in sshkey_parse_public_rsa1_fileblob()
3610 struct sshkey *pub = NULL; in sshkey_parse_public_rsa1_fileblob()
3669 struct sshkey **keyp, char **commentp) in sshkey_parse_private_rsa1()
3679 struct sshkey *prv = NULL; in sshkey_parse_private_rsa1()
3790 const char *passphrase, struct sshkey **keyp) in sshkey_parse_private_pem_fileblob()
3793 struct sshkey *prv = NULL; in sshkey_parse_private_pem_fileblob()
3880 const char *passphrase, struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob_type()
3921 const char *filename, struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob()