Lines Matching refs:sshkey

92 int	sshkey_private_serialize_opt(struct sshkey *key,
95 struct sshkey **keyp, int allow_cert);
201 sshkey_impl_from_key(const struct sshkey *k) in sshkey_impl_from_key()
209 sshkey_type(const struct sshkey *k) in sshkey_type()
239 sshkey_ssh_name(const struct sshkey *k) in sshkey_ssh_name()
245 sshkey_ssh_name_plain(const struct sshkey *k) in sshkey_ssh_name_plain()
391 sshkey_size(const struct sshkey *k) in sshkey_size()
414 sshkey_is_cert(const struct sshkey *k) in sshkey_is_cert()
422 sshkey_is_sk(const struct sshkey *k) in sshkey_is_sk()
608 struct sshkey *
611 struct sshkey *k; in sshkey_new()
641 sshkey_sk_cleanup(struct sshkey *k) in sshkey_sk_cleanup()
651 sshkey_free_contents(struct sshkey *k) in sshkey_free_contents()
667 sshkey_free(struct sshkey *k) in sshkey_free()
690 sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_sk_fields_equal()
704 sshkey_equal_public(const struct sshkey *a, const struct sshkey *b) in sshkey_equal_public()
717 sshkey_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_equal()
731 sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b) in sshkey_serialize_sk()
742 to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain, in to_blob_buf()
774 sshkey_putb(const struct sshkey *key, struct sshbuf *b) in sshkey_putb()
780 sshkey_puts_opts(const struct sshkey *key, struct sshbuf *b, in sshkey_puts_opts()
796 sshkey_puts(const struct sshkey *key, struct sshbuf *b) in sshkey_puts()
802 sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b) in sshkey_putb_plain()
808 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain, in to_blob()
840 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob()
846 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob()
852 sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint_raw()
1015 const struct sshkey *k) in fingerprint_randomart()
1111 sshkey_fingerprint(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint()
1175 sshkey_read(struct sshkey *ret, char **cpp) in sshkey_read()
1177 struct sshkey *k; in sshkey_read()
1249 sshkey_to_base64(const struct sshkey *key, char **b64p) in sshkey_to_base64()
1278 sshkey_format_text(const struct sshkey *key, struct sshbuf *b) in sshkey_format_text()
1295 sshkey_write(const struct sshkey *key, FILE *f) in sshkey_write()
1318 sshkey_cert_type(const struct sshkey *k) in sshkey_cert_type()
1331 sshkey_check_rsa_length(const struct sshkey *k, int min_size) in sshkey_check_rsa_length()
1398 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate()
1400 struct sshkey *k; in sshkey_generate()
1424 sshkey_cert_copy(const struct sshkey *from_key, struct sshkey *to_key) in sshkey_cert_copy()
1494 sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to) in sshkey_copy_public_sk()
1503 sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) in sshkey_from_private()
1505 struct sshkey *n = NULL; in sshkey_from_private()
1530 sshkey_is_shielded(struct sshkey *k) in sshkey_is_shielded()
1536 sshkey_shield_private(struct sshkey *k) in sshkey_shield_private()
1543 struct sshkey *kswap = NULL, tmp; in sshkey_shield_private()
1673 sshkey_unshield_private(struct sshkey *k) in sshkey_unshield_private()
1679 struct sshkey *kswap = NULL, tmp; in sshkey_unshield_private()
1762 cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf) in cert_parse()
1888 sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key) in sshkey_deserialize_sk()
1897 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal()
1902 struct sshkey *key = NULL; in sshkey_from_blob_internal()
1964 sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp) in sshkey_from_blob()
1977 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp) in sshkey_fromb()
1983 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp) in sshkey_froms()
2028 sshkey_check_cert_sigtype(const struct sshkey *key, const char *allowed) in sshkey_check_cert_sigtype()
2088 sshkey_sign(struct sshkey *key, in sshkey_sign()
2128 sshkey_verify(const struct sshkey *key, in sshkey_verify()
2147 sshkey_to_certified(struct sshkey *k) in sshkey_to_certified()
2161 sshkey_drop_cert(struct sshkey *k) in sshkey_drop_cert()
2173 sshkey_certify_custom(struct sshkey *k, struct sshkey *ca, const char *alg, in sshkey_certify_custom()
2284 default_key_sign(struct sshkey *key, u_char **sigp, size_t *lenp, in default_key_sign()
2296 sshkey_certify(struct sshkey *k, struct sshkey *ca, const char *alg, in sshkey_certify()
2304 sshkey_cert_check_authority(const struct sshkey *k, in sshkey_cert_check_authority()
2364 sshkey_cert_check_authority_now(const struct sshkey *k, in sshkey_cert_check_authority_now()
2380 sshkey_cert_check_host(const struct sshkey *key, const char *host, in sshkey_cert_check_host()
2428 sshkey_serialize_private_sk(const struct sshkey *key, struct sshbuf *b) in sshkey_serialize_private_sk()
2442 sshkey_private_serialize_opt(struct sshkey *key, struct sshbuf *buf, in sshkey_private_serialize_opt()
2486 sshkey_private_serialize(struct sshkey *key, struct sshbuf *b) in sshkey_private_serialize()
2494 sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k) in sshkey_private_deserialize_sk()
2511 sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp) in sshkey_private_deserialize()
2517 struct sshkey *k = NULL; in sshkey_private_deserialize()
2748 sshkey_private_to_blob2(struct sshkey *prv, struct sshbuf *blob, in sshkey_private_to_blob2()
2950 struct sshbuf **decryptedp, struct sshkey **pubkeyp) in private2_decrypt()
2958 struct sshkey *pubkey = NULL; in private2_decrypt()
3097 struct sshkey **keyp, char **commentp) in sshkey_parse_private2()
3102 struct sshkey *k = NULL, *pubkey = NULL; in sshkey_parse_private2()
3157 struct sshkey **keyp) in sshkey_parse_private2_pubkey()
3161 struct sshkey *pubkey = NULL; in sshkey_parse_private2_pubkey()
3208 sshkey_private_to_blob_pem_pkcs8(struct sshkey *key, struct sshbuf *buf, in sshkey_private_to_blob_pem_pkcs8()
3302 sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_to_fileblob()
3425 const char *passphrase, struct sshkey **keyp) in sshkey_parse_private_pem_fileblob()
3428 struct sshkey *prv = NULL; in sshkey_parse_private_pem_fileblob()
3567 const char *passphrase, struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob_type()
3598 struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob()
3617 struct sshkey **pubkeyp) in sshkey_parse_pubkey_from_private_fileblob_type()
3635 sshkey_private_serialize_maxsign(struct sshkey *k, struct sshbuf *b, in sshkey_private_serialize_maxsign()
3659 sshkey_signatures_left(const struct sshkey *k) in sshkey_signatures_left()
3667 sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign) in sshkey_enable_maxsign()
3675 sshkey_set_filename(struct sshkey *k, const char *filename) in sshkey_set_filename()
3689 sshkey_private_serialize_maxsign(struct sshkey *k, struct sshbuf *b, in sshkey_private_serialize_maxsign()
3696 sshkey_signatures_left(const struct sshkey *k) in sshkey_signatures_left()
3702 sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign) in sshkey_enable_maxsign()
3708 sshkey_set_filename(struct sshkey *k, const char *filename) in sshkey_set_filename()