Lines Matching refs:sshkey

91 int	sshkey_private_serialize_opt(struct sshkey *key,
94 struct sshkey **keyp, int allow_cert);
163 sshkey_type(const struct sshkey *k) in sshkey_type()
199 sshkey_ssh_name(const struct sshkey *k) in sshkey_ssh_name()
205 sshkey_ssh_name_plain(const struct sshkey *k) in sshkey_ssh_name_plain()
318 sshkey_size(const struct sshkey *k) in sshkey_size()
373 sshkey_is_cert(const struct sshkey *k) in sshkey_is_cert()
381 sshkey_is_sk(const struct sshkey *k) in sshkey_is_sk()
543 struct sshkey *
546 struct sshkey *k; in sshkey_new()
615 sshkey_free(struct sshkey *k) in sshkey_free()
704 sshkey_equal_public(const struct sshkey *a, const struct sshkey *b) in sshkey_equal_public()
787 sshkey_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_equal()
799 to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain, in to_blob_buf()
911 sshkey_putb(const struct sshkey *key, struct sshbuf *b) in sshkey_putb()
917 sshkey_puts_opts(const struct sshkey *key, struct sshbuf *b, in sshkey_puts_opts()
933 sshkey_puts(const struct sshkey *key, struct sshbuf *b) in sshkey_puts()
939 sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b) in sshkey_putb_plain()
945 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain, in to_blob()
977 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob()
983 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob()
989 sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint_raw()
1152 const struct sshkey *k) in fingerprint_randomart()
1248 sshkey_fingerprint(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint()
1310 sshkey_read(struct sshkey *ret, char **cpp) in sshkey_read()
1312 struct sshkey *k; in sshkey_read()
1497 sshkey_to_base64(const struct sshkey *key, char **b64p) in sshkey_to_base64()
1526 sshkey_format_text(const struct sshkey *key, struct sshbuf *b) in sshkey_format_text()
1543 sshkey_write(const struct sshkey *key, FILE *f) in sshkey_write()
1566 sshkey_cert_type(const struct sshkey *k) in sshkey_cert_type()
1714 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate()
1716 struct sshkey *k; in sshkey_generate()
1765 sshkey_cert_copy(const struct sshkey *from_key, struct sshkey *to_key) in sshkey_cert_copy()
1835 sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) in sshkey_from_private()
1837 struct sshkey *n = NULL; in sshkey_from_private()
1982 sshkey_is_shielded(struct sshkey *k) in sshkey_is_shielded()
1988 sshkey_shield_private(struct sshkey *k) in sshkey_shield_private()
1995 struct sshkey *kswap = NULL, tmp; in sshkey_shield_private()
2100 sshkey_unshield_private(struct sshkey *k) in sshkey_unshield_private()
2107 struct sshkey *kswap = NULL, tmp; in sshkey_unshield_private()
2197 cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf) in cert_parse()
2336 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal()
2341 struct sshkey *key = NULL; in sshkey_from_blob_internal()
2605 sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp) in sshkey_from_blob()
2618 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp) in sshkey_fromb()
2624 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp) in sshkey_froms()
2669 sshkey_check_cert_sigtype(const struct sshkey *key, const char *allowed) in sshkey_check_cert_sigtype()
2727 sshkey_sign(struct sshkey *key, in sshkey_sign()
2791 sshkey_verify(const struct sshkey *key, in sshkey_verify()
2837 sshkey_to_certified(struct sshkey *k) in sshkey_to_certified()
2878 sshkey_drop_cert(struct sshkey *k) in sshkey_drop_cert()
2890 sshkey_certify_custom(struct sshkey *k, struct sshkey *ca, const char *alg, in sshkey_certify_custom()
3058 default_key_sign(struct sshkey *key, u_char **sigp, size_t *lenp, in default_key_sign()
3070 sshkey_certify(struct sshkey *k, struct sshkey *ca, const char *alg, in sshkey_certify()
3078 sshkey_cert_check_authority(const struct sshkey *k, in sshkey_cert_check_authority()
3138 sshkey_cert_check_authority_now(const struct sshkey *k, in sshkey_cert_check_authority_now()
3154 sshkey_cert_check_host(const struct sshkey *key, const char *host, in sshkey_cert_check_host()
3201 sshkey_private_serialize_opt(struct sshkey *key, struct sshbuf *buf, in sshkey_private_serialize_opt()
3402 sshkey_private_serialize(struct sshkey *key, struct sshbuf *b) in sshkey_private_serialize()
3409 sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp) in sshkey_private_deserialize()
3413 struct sshkey *k = NULL; in sshkey_private_deserialize()
3881 sshkey_private_to_blob2(struct sshkey *prv, struct sshbuf *blob, in sshkey_private_to_blob2()
4086 struct sshbuf **decryptedp, struct sshkey **pubkeyp) in private2_decrypt()
4094 struct sshkey *pubkey = NULL; in private2_decrypt()
4258 struct sshkey **keyp, char **commentp) in sshkey_parse_private2()
4263 struct sshkey *k = NULL, *pubkey = NULL; in sshkey_parse_private2()
4318 struct sshkey **keyp) in sshkey_parse_private2_pubkey()
4322 struct sshkey *pubkey = NULL; in sshkey_parse_private2_pubkey()
4369 sshkey_private_to_blob_pem_pkcs8(struct sshkey *key, struct sshbuf *buf, in sshkey_private_to_blob_pem_pkcs8()
4461 sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_to_fileblob()
4578 const char *passphrase, struct sshkey **keyp) in sshkey_parse_private_pem_fileblob()
4581 struct sshkey *prv = NULL; in sshkey_parse_private_pem_fileblob()
4681 const char *passphrase, struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob_type()
4713 struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob()
4732 struct sshkey **pubkeyp) in sshkey_parse_pubkey_from_private_fileblob_type()
4750 sshkey_private_serialize_maxsign(struct sshkey *k, struct sshbuf *b, in sshkey_private_serialize_maxsign()
4774 sshkey_signatures_left(const struct sshkey *k) in sshkey_signatures_left()
4782 sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign) in sshkey_enable_maxsign()
4790 sshkey_set_filename(struct sshkey *k, const char *filename) in sshkey_set_filename()
4804 sshkey_private_serialize_maxsign(struct sshkey *k, struct sshbuf *b, in sshkey_private_serialize_maxsign()
4811 sshkey_signatures_left(const struct sshkey *k) in sshkey_signatures_left()
4817 sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign) in sshkey_enable_maxsign()
4823 sshkey_set_filename(struct sshkey *k, const char *filename) in sshkey_set_filename()