Lines Matching refs:sshkey

93 int	sshkey_private_serialize_opt(struct sshkey *key,
96 struct sshkey **keyp, int allow_cert);
202 sshkey_impl_from_key(const struct sshkey *k) in sshkey_impl_from_key()
210 sshkey_type(const struct sshkey *k) in sshkey_type()
240 sshkey_ssh_name(const struct sshkey *k) in sshkey_ssh_name()
246 sshkey_ssh_name_plain(const struct sshkey *k) in sshkey_ssh_name_plain()
406 sshkey_size(const struct sshkey *k) in sshkey_size()
429 sshkey_is_cert(const struct sshkey *k) in sshkey_is_cert()
437 sshkey_is_sk(const struct sshkey *k) in sshkey_is_sk()
715 struct sshkey *
718 struct sshkey *k; in sshkey_new()
748 sshkey_sk_cleanup(struct sshkey *k) in sshkey_sk_cleanup()
790 sshkey_free_contents(struct sshkey *k) in sshkey_free_contents()
806 sshkey_free(struct sshkey *k) in sshkey_free()
829 sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_sk_fields_equal()
843 sshkey_equal_public(const struct sshkey *a, const struct sshkey *b) in sshkey_equal_public()
856 sshkey_equal(const struct sshkey *a, const struct sshkey *b) in sshkey_equal()
870 sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b) in sshkey_serialize_sk()
881 to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain, in to_blob_buf()
913 sshkey_putb(const struct sshkey *key, struct sshbuf *b) in sshkey_putb()
919 sshkey_puts_opts(const struct sshkey *key, struct sshbuf *b, in sshkey_puts_opts()
935 sshkey_puts(const struct sshkey *key, struct sshbuf *b) in sshkey_puts()
941 sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b) in sshkey_putb_plain()
947 to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain, in to_blob()
979 sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_to_blob()
985 sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp) in sshkey_plain_to_blob()
991 sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint_raw()
1154 const struct sshkey *k) in fingerprint_randomart()
1250 sshkey_fingerprint(const struct sshkey *k, int dgst_alg, in sshkey_fingerprint()
1314 sshkey_read(struct sshkey *ret, char **cpp) in sshkey_read()
1316 struct sshkey *k; in sshkey_read()
1388 sshkey_to_base64(const struct sshkey *key, char **b64p) in sshkey_to_base64()
1417 sshkey_format_text(const struct sshkey *key, struct sshbuf *b) in sshkey_format_text()
1434 sshkey_write(const struct sshkey *key, FILE *f) in sshkey_write()
1457 sshkey_cert_type(const struct sshkey *k) in sshkey_cert_type()
1470 sshkey_check_rsa_length(const struct sshkey *k, int min_size) in sshkey_check_rsa_length()
1508 sshkey_generate(int type, u_int bits, struct sshkey **keyp) in sshkey_generate()
1510 struct sshkey *k; in sshkey_generate()
1534 sshkey_cert_copy(const struct sshkey *from_key, struct sshkey *to_key) in sshkey_cert_copy()
1604 sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to) in sshkey_copy_public_sk()
1613 sshkey_from_private(const struct sshkey *k, struct sshkey **pkp) in sshkey_from_private()
1615 struct sshkey *n = NULL; in sshkey_from_private()
1640 sshkey_is_shielded(struct sshkey *k) in sshkey_is_shielded()
1646 sshkey_shield_private(struct sshkey *k) in sshkey_shield_private()
1653 struct sshkey *kswap = NULL, tmp; in sshkey_shield_private()
1781 sshkey_unshield_private(struct sshkey *k) in sshkey_unshield_private()
1787 struct sshkey *kswap = NULL, tmp; in sshkey_unshield_private()
1870 cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf) in cert_parse()
1996 sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key) in sshkey_deserialize_sk()
2005 sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, in sshkey_from_blob_internal()
2010 struct sshkey *key = NULL; in sshkey_from_blob_internal()
2072 sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp) in sshkey_from_blob()
2085 sshkey_fromb(struct sshbuf *b, struct sshkey **keyp) in sshkey_fromb()
2091 sshkey_froms(struct sshbuf *buf, struct sshkey **keyp) in sshkey_froms()
2136 sshkey_check_cert_sigtype(const struct sshkey *key, const char *allowed) in sshkey_check_cert_sigtype()
2196 sshkey_sign(struct sshkey *key, in sshkey_sign()
2236 sshkey_verify(const struct sshkey *key, in sshkey_verify()
2255 sshkey_to_certified(struct sshkey *k) in sshkey_to_certified()
2269 sshkey_drop_cert(struct sshkey *k) in sshkey_drop_cert()
2281 sshkey_certify_custom(struct sshkey *k, struct sshkey *ca, const char *alg, in sshkey_certify_custom()
2392 default_key_sign(struct sshkey *key, u_char **sigp, size_t *lenp, in default_key_sign()
2404 sshkey_certify(struct sshkey *k, struct sshkey *ca, const char *alg, in sshkey_certify()
2412 sshkey_cert_check_authority(const struct sshkey *k, in sshkey_cert_check_authority()
2472 sshkey_cert_check_authority_now(const struct sshkey *k, in sshkey_cert_check_authority_now()
2488 sshkey_cert_check_host(const struct sshkey *key, const char *host, in sshkey_cert_check_host()
2536 sshkey_serialize_private_sk(const struct sshkey *key, struct sshbuf *b) in sshkey_serialize_private_sk()
2550 sshkey_private_serialize_opt(struct sshkey *key, struct sshbuf *buf, in sshkey_private_serialize_opt()
2594 sshkey_private_serialize(struct sshkey *key, struct sshbuf *b) in sshkey_private_serialize()
2602 sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k) in sshkey_private_deserialize_sk()
2619 sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp) in sshkey_private_deserialize()
2625 struct sshkey *k = NULL; in sshkey_private_deserialize()
2856 sshkey_private_to_blob2(struct sshkey *prv, struct sshbuf *blob, in sshkey_private_to_blob2()
3058 struct sshbuf **decryptedp, struct sshkey **pubkeyp) in private2_decrypt()
3066 struct sshkey *pubkey = NULL; in private2_decrypt()
3205 struct sshkey **keyp, char **commentp) in sshkey_parse_private2()
3210 struct sshkey *k = NULL, *pubkey = NULL; in sshkey_parse_private2()
3265 struct sshkey **keyp) in sshkey_parse_private2_pubkey()
3269 struct sshkey *pubkey = NULL; in sshkey_parse_private2_pubkey()
3316 sshkey_private_to_blob_pem_pkcs8(struct sshkey *key, struct sshbuf *buf, in sshkey_private_to_blob_pem_pkcs8()
3416 sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob, in sshkey_private_to_fileblob()
3539 const char *passphrase, struct sshkey **keyp) in sshkey_parse_private_pem_fileblob()
3542 struct sshkey *prv = NULL; in sshkey_parse_private_pem_fileblob()
3697 const char *passphrase, struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob_type()
3728 struct sshkey **keyp, char **commentp) in sshkey_parse_private_fileblob()
3747 struct sshkey **pubkeyp) in sshkey_parse_pubkey_from_private_fileblob_type()
3765 sshkey_private_serialize_maxsign(struct sshkey *k, struct sshbuf *b, in sshkey_private_serialize_maxsign()
3789 sshkey_signatures_left(const struct sshkey *k) in sshkey_signatures_left()
3797 sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign) in sshkey_enable_maxsign()
3805 sshkey_set_filename(struct sshkey *k, const char *filename) in sshkey_set_filename()
3819 sshkey_private_serialize_maxsign(struct sshkey *k, struct sshbuf *b, in sshkey_private_serialize_maxsign()
3826 sshkey_signatures_left(const struct sshkey *k) in sshkey_signatures_left()
3832 sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign) in sshkey_enable_maxsign()
3838 sshkey_set_filename(struct sshkey *k, const char *filename) in sshkey_set_filename()