crypto/openssh/auth-options.c
503
sshauthopt_from_cert(struct sshkey *k)
crypto/openssh/auth-options.h
23
struct sshkey;
crypto/openssh/auth-options.h
98
struct sshauthopt *sshauthopt_from_cert(struct sshkey *k);
crypto/openssh/auth.c
231
const struct sshkey *key = authctxt->auth_method_key;
crypto/openssh/auth.c
417
check_key_in_hostfiles(struct passwd *pw, struct sshkey *key, const char *host,
crypto/openssh/auth.c
528
auth_key_is_revoked(struct sshkey *key)
crypto/openssh/auth.h
141
const char *, char *, struct sshkey *);
crypto/openssh/auth.h
142
int user_key_allowed(struct ssh *ssh, struct passwd *, struct sshkey *,
crypto/openssh/auth.h
144
int auth2_key_already_used(Authctxt *, const struct sshkey *);
crypto/openssh/auth.h
151
void auth2_record_key(Authctxt *, int, const struct sshkey *);
crypto/openssh/auth.h
198
int auth_key_is_revoked(struct sshkey *);
crypto/openssh/auth.h
203
check_key_in_hostfiles(struct passwd *, struct sshkey *, const char *,
crypto/openssh/auth.h
207
struct sshkey *get_hostkey_by_index(int);
crypto/openssh/auth.h
208
struct sshkey *get_hostkey_public_by_index(int, struct ssh *);
crypto/openssh/auth.h
209
struct sshkey *get_hostkey_public_by_type(int, int, struct ssh *);
crypto/openssh/auth.h
210
struct sshkey *get_hostkey_private_by_type(int, int, struct ssh *);
crypto/openssh/auth.h
211
int get_hostkey_index(struct sshkey *, int, struct ssh *);
crypto/openssh/auth.h
212
int sshd_hostkey_sign(struct ssh *, struct sshkey *, struct sshkey *,
crypto/openssh/auth.h
235
int auth_check_authkey_line(struct passwd *, struct sshkey *,
crypto/openssh/auth.h
238
struct sshkey *, const char *, const char *, struct sshauthopt **);
crypto/openssh/auth.h
47
struct sshkey;
crypto/openssh/auth.h
89
struct sshkey **prev_keys;
crypto/openssh/auth.h
93
struct sshkey *auth_method_key;
crypto/openssh/auth2-hostbased.c
171
const char *cuser, char *chost, struct sshkey *key)
crypto/openssh/auth2-hostbased.c
64
struct sshkey *key = NULL;
crypto/openssh/auth2-pubkey.c
344
match_principals_command(struct passwd *user_pw, const struct sshkey *key,
crypto/openssh/auth2-pubkey.c
481
user_cert_trusted_ca(struct passwd *pw, struct sshkey *key,
crypto/openssh/auth2-pubkey.c
588
user_key_allowed2(struct passwd *pw, struct sshkey *key,
crypto/openssh/auth2-pubkey.c
617
user_key_command_allowed2(struct passwd *user_pw, struct sshkey *key,
crypto/openssh/auth2-pubkey.c
753
user_key_allowed(struct ssh *ssh, struct passwd *pw, struct sshkey *key,
crypto/openssh/auth2-pubkey.c
78
format_key(const struct sshkey *key)
crypto/openssh/auth2-pubkey.c
94
struct sshkey *key = NULL, *hostkey = NULL;
crypto/openssh/auth2-pubkeyfile.c
264
auth_check_authkey_line(struct passwd *pw, struct sshkey *key,
crypto/openssh/auth2-pubkeyfile.c
269
struct sshkey *found = NULL;
crypto/openssh/auth2-pubkeyfile.c
407
struct sshkey *key, const char *remote_ip,
crypto/openssh/auth2.c
719
const struct sshkey *key)
crypto/openssh/auth2.c
721
struct sshkey **tmp, *dup;
crypto/openssh/auth2.c
747
auth2_key_already_used(Authctxt *authctxt, const struct sshkey *key)
crypto/openssh/authfd.c
236
deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp)
crypto/openssh/authfd.c
358
ssh_agent_has_key(int sock, const struct sshkey *key)
crypto/openssh/authfd.c
389
agent_encode_alg(const struct sshkey *key, const char *alg)
crypto/openssh/authfd.c
404
ssh_agent_sign(int sock, const struct sshkey *key,
crypto/openssh/authfd.c
510
int cert_only, struct sshkey **certs, size_t ncerts)
crypto/openssh/authfd.c
587
ssh_add_identity_constrained(int sock, struct sshkey *key,
crypto/openssh/authfd.c
648
ssh_remove_identity(int sock, const struct sshkey *key)
crypto/openssh/authfd.c
688
int cert_only, struct sshkey **certs, size_t ncerts)
crypto/openssh/authfd.c
753
ssh_agent_bind_hostkey(int sock, const struct sshkey *key,
crypto/openssh/authfd.h
20
struct sshkey;
crypto/openssh/authfd.h
25
struct sshkey **keys;
crypto/openssh/authfd.h
35
struct sshkey **keys;
crypto/openssh/authfd.h
50
int ssh_add_identity_constrained(int sock, struct sshkey *key,
crypto/openssh/authfd.h
54
int ssh_agent_has_key(int sock, const struct sshkey *key);
crypto/openssh/authfd.h
55
int ssh_remove_identity(int sock, const struct sshkey *key);
crypto/openssh/authfd.h
60
int cert_only, struct sshkey **certs, size_t ncerts);
crypto/openssh/authfd.h
63
int ssh_agent_sign(int sock, const struct sshkey *key,
crypto/openssh/authfd.h
67
int ssh_agent_bind_hostkey(int sock, const struct sshkey *key,
crypto/openssh/authfile.c
119
struct sshkey **keyp, char **commentp)
crypto/openssh/authfile.c
145
struct sshkey **keyp, char **commentp)
crypto/openssh/authfile.c
153
struct sshkey **keyp, char **commentp)
crypto/openssh/authfile.c
174
sshkey_load_pubkey_from_private(const char *filename, struct sshkey **pubkeyp)
crypto/openssh/authfile.c
177
struct sshkey *pubkey = NULL;
crypto/openssh/authfile.c
205
sshkey_try_load_public(struct sshkey **kp, const char *filename,
crypto/openssh/authfile.c
212
struct sshkey *k = NULL;
crypto/openssh/authfile.c
265
sshkey_load_public(const char *filename, struct sshkey **keyp, char **commentp)
crypto/openssh/authfile.c
301
sshkey_load_cert(const char *filename, struct sshkey **keyp)
crypto/openssh/authfile.c
303
struct sshkey *pub = NULL;
crypto/openssh/authfile.c
322
struct sshkey **keyp)
crypto/openssh/authfile.c
324
struct sshkey *key = NULL, *cert = NULL;
crypto/openssh/authfile.c
378
sshkey_in_file(struct sshkey *key, const char *filename, int strict_type,
crypto/openssh/authfile.c
385
struct sshkey *pub = NULL;
crypto/openssh/authfile.c
387
int (*sshkey_compare)(const struct sshkey *, const struct sshkey *) =
crypto/openssh/authfile.c
445
sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file)
crypto/openssh/authfile.c
495
sshkey_save_public(const struct sshkey *key, const char *path,
crypto/openssh/authfile.c
68
sshkey_save_private(struct sshkey *key, const char *filename,
crypto/openssh/authfile.h
31
struct sshkey;
crypto/openssh/authfile.h
36
int sshkey_save_private(struct sshkey *, const char *,
crypto/openssh/authfile.h
38
int sshkey_load_cert(const char *, struct sshkey **);
crypto/openssh/authfile.h
39
int sshkey_load_public(const char *, struct sshkey **, char **);
crypto/openssh/authfile.h
40
int sshkey_load_private(const char *, const char *, struct sshkey **, char **);
crypto/openssh/authfile.h
42
struct sshkey **);
crypto/openssh/authfile.h
44
struct sshkey **, char **);
crypto/openssh/authfile.h
46
struct sshkey **keyp, char **commentp);
crypto/openssh/authfile.h
48
int sshkey_in_file(struct sshkey *, const char *, int, int);
crypto/openssh/authfile.h
49
int sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file);
crypto/openssh/authfile.h
51
int sshkey_save_public(const struct sshkey *key, const char *path,
crypto/openssh/clientloop.c
2023
struct sshkey **keys;
crypto/openssh/clientloop.c
2033
struct sshkey **old_keys;
crypto/openssh/clientloop.c
2092
struct sshkey **tmp;
crypto/openssh/clientloop.c
2438
struct sshkey *key = NULL, **tmp;
crypto/openssh/dns.c
197
struct sshkey *hostkey, int *flags)
crypto/openssh/dns.c
305
export_dns_rr(const char *hostname, struct sshkey *key, FILE *f, int generic,
crypto/openssh/dns.c
82
u_char **digest, size_t *digest_len, struct sshkey *key)
crypto/openssh/dns.h
56
struct sshkey *, int *);
crypto/openssh/dns.h
57
int export_dns_rr(const char *, struct sshkey *, FILE *, int, int);
crypto/openssh/hostfile.c
158
hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret)
crypto/openssh/hostfile.c
316
check_key_not_revoked(struct hostkeys *hostkeys, struct sshkey *k)
crypto/openssh/hostfile.c
351
struct sshkey *k, int keytype, int nid, const struct hostkey_entry **found)
crypto/openssh/hostfile.c
408
check_key_in_hostkeys(struct hostkeys *hostkeys, struct sshkey *key,
crypto/openssh/hostfile.c
438
const struct sshkey *key, int store_hash)
crypto/openssh/hostfile.c
515
const struct sshkey *key, int store_hash)
crypto/openssh/hostfile.c
545
struct sshkey * const *keys;
crypto/openssh/hostfile.c
596
struct sshkey **keys, size_t nkeys, int store_hash, int quiet, int hash_alg)
crypto/openssh/hostfile.h
101
struct sshkey *key; /* Key, if parsed ok and HKF_WANT_MATCH_HOST set */
crypto/openssh/hostfile.h
29
struct sshkey *key;
crypto/openssh/hostfile.h
45
HostStatus check_key_in_hostkeys(struct hostkeys *, struct sshkey *,
crypto/openssh/hostfile.h
51
int hostfile_read_key(char **, u_int *, struct sshkey *);
crypto/openssh/hostfile.h
53
const struct sshkey *, int);
crypto/openssh/hostfile.h
56
const char *host, const char *ip, struct sshkey **keys, size_t nkeys,
crypto/openssh/kex.c
1165
kex_load_hostkey(struct ssh *ssh, struct sshkey **prvp, struct sshkey **pubp)
crypto/openssh/kex.c
1186
kex_verify_host_key(struct ssh *ssh, struct sshkey *server_host_key)
crypto/openssh/kex.h
162
struct sshkey *initial_hostkey;
crypto/openssh/kex.h
168
int (*verify_host_key)(struct sshkey *, struct ssh *);
crypto/openssh/kex.h
169
struct sshkey *(*load_host_public_key)(int, int, struct ssh *);
crypto/openssh/kex.h
170
struct sshkey *(*load_host_private_key)(int, int, struct ssh *);
crypto/openssh/kex.h
171
int (*host_key_index)(struct sshkey *, int, struct ssh *);
crypto/openssh/kex.h
172
int (*sign)(struct ssh *, struct sshkey *, struct sshkey *,
crypto/openssh/kex.h
210
int kex_load_hostkey(struct ssh *, struct sshkey **, struct sshkey **);
crypto/openssh/kex.h
211
int kex_verify_host_key(struct ssh *, struct sshkey *);
crypto/openssh/kexecdh.c
218
struct sshkey;
crypto/openssh/kexgen.c
142
struct sshkey *server_host_key = NULL;
crypto/openssh/kexgen.c
269
struct sshkey *server_host_private, *server_host_public;
crypto/openssh/kexgexc.c
152
struct sshkey *server_host_key = NULL;
crypto/openssh/kexgexs.c
134
struct sshkey *server_host_public, *server_host_private;
crypto/openssh/kexsntrup761x25519.c
229
struct sshkey;
crypto/openssh/krl.c
1156
is_cert_revoked(const struct sshkey *key, struct revoked_certs *rc)
crypto/openssh/krl.c
1190
is_key_revoked(struct ssh_krl *krl, const struct sshkey *key)
crypto/openssh/krl.c
1253
ssh_krl_check_key(struct ssh_krl *krl, const struct sshkey *key)
crypto/openssh/krl.c
1270
ssh_krl_file_contains_key(const char *path, const struct sshkey *key)
crypto/openssh/krl.c
1297
struct sshkey *key = NULL;
crypto/openssh/krl.c
216
revoked_certs_for_ca_key(struct ssh_krl *krl, const struct sshkey *ca_key,
crypto/openssh/krl.c
320
ssh_krl_revoke_cert_by_serial(struct ssh_krl *krl, const struct sshkey *ca_key,
crypto/openssh/krl.c
328
const struct sshkey *ca_key, u_int64_t lo, u_int64_t hi)
crypto/openssh/krl.c
341
ssh_krl_revoke_cert_by_key_id(struct ssh_krl *krl, const struct sshkey *ca_key,
crypto/openssh/krl.c
367
plain_key_blob(const struct sshkey *key, u_char **blob, size_t *blen)
crypto/openssh/krl.c
369
struct sshkey *kcopy;
crypto/openssh/krl.c
404
ssh_krl_revoke_key_explicit(struct ssh_krl *krl, const struct sshkey *key)
crypto/openssh/krl.c
452
ssh_krl_revoke_key(struct ssh_krl *krl, const struct sshkey *key)
crypto/openssh/krl.c
86
struct sshkey *ca_key;
crypto/openssh/krl.c
875
struct sshkey *ca_key = NULL;
crypto/openssh/krl.h
42
struct sshkey;
crypto/openssh/krl.h
51
const struct sshkey *ca_key, u_int64_t serial);
crypto/openssh/krl.h
53
const struct sshkey *ca_key, u_int64_t lo, u_int64_t hi);
crypto/openssh/krl.h
55
const struct sshkey *ca_key, const char *key_id);
crypto/openssh/krl.h
56
int ssh_krl_revoke_key_explicit(struct ssh_krl *krl, const struct sshkey *key);
crypto/openssh/krl.h
59
int ssh_krl_revoke_key(struct ssh_krl *krl, const struct sshkey *key);
crypto/openssh/krl.h
62
int ssh_krl_check_key(struct ssh_krl *krl, const struct sshkey *key);
crypto/openssh/krl.h
63
int ssh_krl_file_contains_key(const char *path, const struct sshkey *key);
crypto/openssh/monitor.c
1169
struct sshkey *key = NULL;
crypto/openssh/monitor.c
1262
struct sshkey *hostkey = NULL;
crypto/openssh/monitor.c
1411
struct sshkey *key;
crypto/openssh/monitor.c
615
struct sshkey *key;
crypto/openssh/monitor.c
870
key_base_type_match(const char *method, const struct sshkey *key,
crypto/openssh/monitor_wrap.c
263
mm_sshkey_sign(struct ssh *ssh, struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/monitor_wrap.c
494
mm_user_key_allowed(struct ssh *ssh, struct passwd *pw, struct sshkey *key,
crypto/openssh/monitor_wrap.c
503
const char *user, const char *host, struct sshkey *key)
crypto/openssh/monitor_wrap.c
510
struct sshkey *key, int pubkey_auth_attempt, struct sshauthopt **authoptp)
crypto/openssh/monitor_wrap.c
559
mm_sshkey_verify(const struct sshkey *key, const u_char *sig, size_t siglen,
crypto/openssh/monitor_wrap.h
36
struct sshkey;
crypto/openssh/monitor_wrap.h
45
int mm_sshkey_sign(struct ssh *, struct sshkey *, u_char **, size_t *,
crypto/openssh/monitor_wrap.h
52
int mm_key_allowed(enum mm_keytype, const char *, const char *, struct sshkey *,
crypto/openssh/monitor_wrap.h
54
int mm_user_key_allowed(struct ssh *ssh, struct passwd *, struct sshkey *, int,
crypto/openssh/monitor_wrap.h
57
const char *, struct sshkey *);
crypto/openssh/monitor_wrap.h
58
int mm_sshkey_verify(const struct sshkey *, const u_char *, size_t,
crypto/openssh/packet.h
41
struct sshkey;
crypto/openssh/packet.h
49
struct sshkey *key;
crypto/openssh/readconf.h
93
struct sshkey *identity_keys[SSH_MAX_IDENTITY_FILES];
crypto/openssh/readconf.h
98
struct sshkey *certificates[SSH_MAX_CERTIFICATE_FILES];
crypto/openssh/serverloop.c
649
struct sshkey *key = NULL, *key_pub = NULL, *key_prv = NULL;
crypto/openssh/ssh-add.c
118
delete_one(int agent_fd, const struct sshkey *key, const char *comment,
crypto/openssh/ssh-add.c
140
struct sshkey *key = NULL;
crypto/openssh/ssh-add.c
174
struct sshkey *public, *cert = NULL;
crypto/openssh/ssh-add.c
251
struct sshkey *private, *cert;
crypto/openssh/ssh-add.c
465
struct sshkey **certs, size_t ncerts)
crypto/openssh/ssh-add.c
499
struct sshkey *key = NULL;
crypto/openssh/ssh-add.c
610
struct sshkey *key;
crypto/openssh/ssh-add.c
820
struct sshkey *k, **certs = NULL;
crypto/openssh/ssh-agent.c
1075
struct sshkey *k = NULL;
crypto/openssh/ssh-agent.c
1179
struct sshkey ***certs, size_t *ncerts)
crypto/openssh/ssh-agent.c
1185
struct sshkey *k;
crypto/openssh/ssh-agent.c
120
struct sshkey *key;
crypto/openssh/ssh-agent.c
1272
parse_key_constraints(struct sshbuf *m, struct sshkey *k, time_t *deathp,
crypto/openssh/ssh-agent.c
1275
int *cert_onlyp, size_t *ncerts, struct sshkey ***certs)
crypto/openssh/ssh-agent.c
1357
struct sshkey *k = NULL;
crypto/openssh/ssh-agent.c
141
struct sshkey *key;
crypto/openssh/ssh-agent.c
1532
add_p11_identity(struct sshkey *key, char *comment, const char *provider,
crypto/openssh/ssh-agent.c
1564
struct sshkey **keys = NULL, *k;
crypto/openssh/ssh-agent.c
1567
struct sshkey **certs = NULL;
crypto/openssh/ssh-agent.c
1691
struct sshkey *key = NULL;
crypto/openssh/ssh-agent.c
358
match_key_hop(const char *tag, const struct sshkey *key,
crypto/openssh/ssh-agent.c
413
permitted_by_dest_constraints(const struct sshkey *fromkey,
crypto/openssh/ssh-agent.c
414
const struct sshkey *tokey, Identity *id, const char *user,
crypto/openssh/ssh-agent.c
475
const struct sshkey *fromkey = NULL;
crypto/openssh/ssh-agent.c
576
lookup_identity(struct sshkey *key)
crypto/openssh/ssh-agent.c
664
agent_decode_alg(struct sshkey *key, u_int flags)
crypto/openssh/ssh-agent.c
688
parse_userauth_request(struct sshbuf *msg, const struct sshkey *expected_key,
crypto/openssh/ssh-agent.c
689
char **userp, struct sshbuf **sess_idp, struct sshkey **hostkeyp)
crypto/openssh/ssh-agent.c
695
struct sshkey *mkey = NULL, *hostkey = NULL;
crypto/openssh/ssh-agent.c
806
check_websafe_message_contents(struct sshkey *key, struct sshbuf *data)
crypto/openssh/ssh-agent.c
847
struct sshkey *key = NULL, *hostkey = NULL;
crypto/openssh/ssh-agent.c
996
struct sshkey *key = NULL;
crypto/openssh/ssh-dss.c
105
ssh_dss_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-dss.c
128
ssh_dss_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-dss.c
146
ssh_dss_generate(struct sshkey *k, int bits)
crypto/openssh/ssh-dss.c
164
ssh_dss_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-dss.c
202
struct sshkey *key)
crypto/openssh/ssh-dss.c
239
struct sshkey *key)
crypto/openssh/ssh-dss.c
259
ssh_dss_sign(struct sshkey *key,
crypto/openssh/ssh-dss.c
329
ssh_dss_verify(const struct sshkey *key,
crypto/openssh/ssh-dss.c
51
ssh_dss_size(const struct sshkey *key)
crypto/openssh/ssh-dss.c
62
ssh_dss_alloc(struct sshkey *k)
crypto/openssh/ssh-dss.c
70
ssh_dss_cleanup(struct sshkey *k)
crypto/openssh/ssh-dss.c
77
ssh_dss_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-ecdsa-sk.c
116
ssh_ecdsa_sk_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-ecdsa-sk.c
129
struct sshkey *key)
crypto/openssh/ssh-ecdsa-sk.c
142
struct sshkey *key)
crypto/openssh/ssh-ecdsa-sk.c
234
ssh_ecdsa_sk_verify(const struct sshkey *key,
crypto/openssh/ssh-ecdsa-sk.c
55
ssh_ecdsa_sk_verify(const struct sshkey *key,
crypto/openssh/ssh-ecdsa-sk.c
68
ssh_ecdsa_sk_cleanup(struct sshkey *k)
crypto/openssh/ssh-ecdsa-sk.c
75
ssh_ecdsa_sk_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-ecdsa-sk.c
85
ssh_ecdsa_sk_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ecdsa-sk.c
99
ssh_ecdsa_sk_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ecdsa.c
111
ssh_ecdsa_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ecdsa.c
127
ssh_ecdsa_generate(struct sshkey *k, int bits)
crypto/openssh/ssh-ecdsa.c
145
ssh_ecdsa_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-ecdsa.c
158
struct sshkey *key)
crypto/openssh/ssh-ecdsa.c
201
struct sshkey *key)
crypto/openssh/ssh-ecdsa.c
226
ssh_ecdsa_sign(struct sshkey *key,
crypto/openssh/ssh-ecdsa.c
291
ssh_ecdsa_verify(const struct sshkey *key,
crypto/openssh/ssh-ecdsa.c
49
ssh_ecdsa_size(const struct sshkey *key)
crypto/openssh/ssh-ecdsa.c
66
ssh_ecdsa_cleanup(struct sshkey *k)
crypto/openssh/ssh-ecdsa.c
73
ssh_ecdsa_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-ecdsa.c
95
ssh_ecdsa_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ed25519-sk.c
100
struct sshkey *key)
crypto/openssh/ssh-ed25519-sk.c
113
struct sshkey *key)
crypto/openssh/ssh-ed25519-sk.c
125
ssh_ed25519_sk_verify(const struct sshkey *key,
crypto/openssh/ssh-ed25519-sk.c
42
ssh_ed25519_sk_cleanup(struct sshkey *k)
crypto/openssh/ssh-ed25519-sk.c
49
ssh_ed25519_sk_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-ed25519-sk.c
59
ssh_ed25519_sk_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ed25519-sk.c
73
ssh_ed25519_sk_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ed25519-sk.c
87
ssh_ed25519_sk_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-ed25519.c
104
struct sshkey *key)
crypto/openssh/ssh-ed25519.c
122
struct sshkey *key)
crypto/openssh/ssh-ed25519.c
146
ssh_ed25519_sign(struct sshkey *key,
crypto/openssh/ssh-ed25519.c
205
ssh_ed25519_verify(const struct sshkey *key,
crypto/openssh/ssh-ed25519.c
36
ssh_ed25519_cleanup(struct sshkey *k)
crypto/openssh/ssh-ed25519.c
45
ssh_ed25519_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-ed25519.c
55
ssh_ed25519_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ed25519.c
69
ssh_ed25519_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ed25519.c
82
ssh_ed25519_generate(struct sshkey *k, int bits)
crypto/openssh/ssh-ed25519.c
92
ssh_ed25519_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-keygen.c
1080
struct sshkey *private, *public;
crypto/openssh/ssh-keygen.c
1422
struct sshkey *private;
crypto/openssh/ssh-keygen.c
1499
struct sshkey *public;
crypto/openssh/ssh-keygen.c
1536
struct sshkey *private;
crypto/openssh/ssh-keygen.c
1537
struct sshkey *public;
crypto/openssh/ssh-keygen.c
1723
static struct sshkey *
crypto/openssh/ssh-keygen.c
1727
struct sshkey **keys = NULL, *public, *private = NULL;
crypto/openssh/ssh-keygen.c
1755
agent_signer(struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/ssh-keygen.c
1773
struct sshkey *ca, *public;
crypto/openssh/ssh-keygen.c
2127
print_cert(struct sshkey *key)
crypto/openssh/ssh-keygen.c
2176
struct sshkey *key = NULL;
crypto/openssh/ssh-keygen.c
2282
const struct sshkey *ca, struct ssh_krl *krl)
crypto/openssh/ssh-keygen.c
2284
struct sshkey *key = NULL;
crypto/openssh/ssh-keygen.c
2441
struct sshkey *ca = NULL;
crypto/openssh/ssh-keygen.c
2496
struct sshkey *k;
crypto/openssh/ssh-keygen.c
2519
static struct sshkey *
crypto/openssh/ssh-keygen.c
2520
load_sign_key(const char *keypath, const struct sshkey *pubkey)
crypto/openssh/ssh-keygen.c
2525
struct sshkey *ret = NULL, *privkey = NULL;
crypto/openssh/ssh-keygen.c
2582
sign_one(struct sshkey *signkey, const char *filename, int fd,
crypto/openssh/ssh-keygen.c
2723
struct sshkey *pubkey = NULL, *privkey = NULL, *signkey = NULL;
crypto/openssh/ssh-keygen.c
2807
struct sshkey *sign_key = NULL;
crypto/openssh/ssh-keygen.c
2897
struct sshkey *sign_key = NULL;
crypto/openssh/ssh-keygen.c
313
static struct sshkey *
crypto/openssh/ssh-keygen.c
3169
struct sshkey *key;
crypto/openssh/ssh-keygen.c
317
struct sshkey *prv;
crypto/openssh/ssh-keygen.c
3346
struct sshkey *private, *public;
crypto/openssh/ssh-keygen.c
344
do_convert_to_ssh2(struct passwd *pw, struct sshkey *k)
crypto/openssh/ssh-keygen.c
374
do_convert_to_pkcs8(struct sshkey *k)
crypto/openssh/ssh-keygen.c
400
do_convert_to_pem(struct sshkey *k)
crypto/openssh/ssh-keygen.c
428
struct sshkey *k;
crypto/openssh/ssh-keygen.c
476
static struct sshkey *
crypto/openssh/ssh-keygen.c
479
struct sshkey *key = NULL;
crypto/openssh/ssh-keygen.c
646
do_convert_from_ssh2(struct passwd *pw, struct sshkey **k, int *private)
crypto/openssh/ssh-keygen.c
698
do_convert_from_pkcs8(struct sshkey **k, int *private)
crypto/openssh/ssh-keygen.c
743
do_convert_from_pem(struct sshkey **k, int *private)
crypto/openssh/ssh-keygen.c
764
struct sshkey *k = NULL;
crypto/openssh/ssh-keygen.c
825
struct sshkey *prv;
crypto/openssh/ssh-keygen.c
853
struct sshkey **keys = NULL;
crypto/openssh/ssh-keygen.c
896
static struct sshkey *
crypto/openssh/ssh-keygen.c
899
struct sshkey *ret;
crypto/openssh/ssh-keygen.c
912
fingerprint_one_key(const struct sshkey *public, const char *comment)
crypto/openssh/ssh-keygen.c
937
struct sshkey *privkey = NULL, *pubkey = NULL;
crypto/openssh/ssh-keygen.c
963
struct sshkey *public = NULL;
crypto/openssh/ssh-keyscan.c
124
static void keyprint(con *c, struct sshkey *key);
crypto/openssh/ssh-keyscan.c
210
key_print_wrapper(struct sshkey *hostkey, struct ssh *ssh)
crypto/openssh/ssh-keyscan.c
315
keyprint_one(const char *host, struct sshkey *key)
crypto/openssh/ssh-keyscan.c
342
keyprint(con *c, struct sshkey *key)
crypto/openssh/ssh-keysign.c
181
struct sshkey *keys[NUM_KEYTYPES], *key = NULL;
crypto/openssh/ssh-keysign.c
65
valid_request(struct passwd *pw, char *host, struct sshkey **ret, char **pkalgp,
crypto/openssh/ssh-keysign.c
69
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11-client.c
255
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11-client.c
330
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11-client.c
409
wrap_key(struct helper *helper, struct sshkey *k)
crypto/openssh/ssh-pkcs11-client.c
434
pkcs11_make_cert(const struct sshkey *priv,
crypto/openssh/ssh-pkcs11-client.c
435
const struct sshkey *certpub, struct sshkey **certprivp)
crypto/openssh/ssh-pkcs11-client.c
438
struct sshkey *ret;
crypto/openssh/ssh-pkcs11-client.c
585
pkcs11_add_provider(char *name, char *pin, struct sshkey ***keysp,
crypto/openssh/ssh-pkcs11-client.c
588
struct sshkey *k;
crypto/openssh/ssh-pkcs11-client.c
614
*keysp = xcalloc(nkeys, sizeof(struct sshkey *));
crypto/openssh/ssh-pkcs11-helper.c
122
struct sshkey **keys = NULL;
crypto/openssh/ssh-pkcs11-helper.c
190
struct sshkey *key, *found;
crypto/openssh/ssh-pkcs11-helper.c
52
struct sshkey *key;
crypto/openssh/ssh-pkcs11-helper.c
66
add_key(struct sshkey *k, char *name, char *label)
crypto/openssh/ssh-pkcs11-helper.c
95
static struct sshkey *
crypto/openssh/ssh-pkcs11-helper.c
96
lookup_key(struct sshkey *k)
crypto/openssh/ssh-pkcs11.c
1088
struct sshkey *key)
crypto/openssh/ssh-pkcs11.c
1109
struct sshkey ***keysp, char ***labelsp, int *nkeys)
crypto/openssh/ssh-pkcs11.c
1111
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.c
1184
*nkeys + 1, sizeof(struct sshkey *));
crypto/openssh/ssh-pkcs11.c
1214
struct sshkey ***keysp, char ***labelsp, int *nkeys)
crypto/openssh/ssh-pkcs11.c
1216
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.c
1298
*nkeys + 1, sizeof(struct sshkey *));
crypto/openssh/ssh-pkcs11.c
1325
static struct sshkey *
crypto/openssh/ssh-pkcs11.c
1445
static struct sshkey *
crypto/openssh/ssh-pkcs11.c
1525
struct sshkey ***keyp, char ***labelsp,
crypto/openssh/ssh-pkcs11.c
1685
pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp,
crypto/openssh/ssh-pkcs11.c
1707
struct sshkey *
crypto/openssh/ssh-pkcs11.c
1715
struct sshkey *k = NULL;
crypto/openssh/ssh-pkcs11.c
1773
struct sshkey *
crypto/openssh/ssh-pkcs11.c
1779
struct sshkey *k = NULL;
crypto/openssh/ssh-pkcs11.c
1889
pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp,
crypto/openssh/ssh-pkcs11.c
691
pkcs11_key_included(struct sshkey ***keysp, int *nkeys, struct sshkey *key)
crypto/openssh/ssh-pkcs11.c
702
static struct sshkey *
crypto/openssh/ssh-pkcs11.c
713
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.c
826
static struct sshkey *
crypto/openssh/ssh-pkcs11.c
836
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.c
917
CK_OBJECT_HANDLE *obj, struct sshkey **keyp, char **labelp)
crypto/openssh/ssh-pkcs11.c
930
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.h
27
int pkcs11_add_provider(char *, char *, struct sshkey ***, char ***);
crypto/openssh/ssh-pkcs11.h
30
struct sshkey *
crypto/openssh/ssh-pkcs11.h
33
struct sshkey *
crypto/openssh/ssh-pkcs11.h
39
int pkcs11_make_cert(const struct sshkey *,
crypto/openssh/ssh-pkcs11.h
40
const struct sshkey *, struct sshkey **);
crypto/openssh/ssh-rsa.c
106
ssh_rsa_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-rsa.c
132
ssh_rsa_generate(struct sshkey *k, int bits)
crypto/openssh/ssh-rsa.c
160
ssh_rsa_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-rsa.c
187
struct sshkey *key)
crypto/openssh/ssh-rsa.c
217
struct sshkey *key)
crypto/openssh/ssh-rsa.c
336
ssh_rsa_complete_crt_parameters(struct sshkey *key, const BIGNUM *iqmp)
crypto/openssh/ssh-rsa.c
391
ssh_rsa_sign(struct sshkey *key,
crypto/openssh/ssh-rsa.c
42
ssh_rsa_size(const struct sshkey *key)
crypto/openssh/ssh-rsa.c
474
ssh_rsa_verify(const struct sshkey *key,
crypto/openssh/ssh-rsa.c
53
ssh_rsa_alloc(struct sshkey *k)
crypto/openssh/ssh-rsa.c
61
ssh_rsa_cleanup(struct sshkey *k)
crypto/openssh/ssh-rsa.c
68
ssh_rsa_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-rsa.c
89
ssh_rsa_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-sk-client.c
230
sshsk_sign(const char *provider, struct sshkey *key,
crypto/openssh/ssh-sk-client.c
297
struct sshkey **keyp, struct sshbuf *attest)
crypto/openssh/ssh-sk-client.c
301
struct sshkey *key = NULL;
crypto/openssh/ssh-sk-client.c
402
struct sshkey *key = NULL;
crypto/openssh/ssh-sk.h
22
struct sshkey;
crypto/openssh/ssh-sk.h
35
struct sshkey *key;
crypto/openssh/ssh-sk.h
53
struct sshkey **keyp, struct sshbuf *attest);
crypto/openssh/ssh-sk.h
61
int sshsk_sign(const char *provider_path, struct sshkey *key,
crypto/openssh/ssh-xmss.c
107
ssh_xmss_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-xmss.c
133
struct sshkey *key)
crypto/openssh/ssh-xmss.c
165
struct sshkey *key)
crypto/openssh/ssh-xmss.c
201
ssh_xmss_sign(struct sshkey *key,
crypto/openssh/ssh-xmss.c
277
ssh_xmss_verify(const struct sshkey *key,
crypto/openssh/ssh-xmss.c
43
ssh_xmss_cleanup(struct sshkey *k)
crypto/openssh/ssh-xmss.c
57
ssh_xmss_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-xmss.c
69
ssh_xmss_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-xmss.c
87
ssh_xmss_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh.c
2317
struct sshkey *public;
crypto/openssh/ssh.c
2321
struct sshkey *identity_keys[SSH_MAX_IDENTITY_FILES];
crypto/openssh/ssh.c
2324
struct sshkey *certificates[SSH_MAX_CERTIFICATE_FILES];
crypto/openssh/ssh.c
2327
struct sshkey **keys = NULL;
crypto/openssh/ssh.c
529
check_load(int r, struct sshkey **k, const char *path, const char *message)
crypto/openssh/ssh_api.c
201
ssh_add_hostkey(struct ssh *ssh, struct sshkey *key)
crypto/openssh/ssh_api.c
203
struct sshkey *pubkey = NULL;
crypto/openssh/ssh_api.c
236
int (*cb)(struct sshkey *, struct ssh *))
crypto/openssh/ssh_api.c
46
int _ssh_verify_host_key(struct sshkey *, struct ssh *);
crypto/openssh/ssh_api.c
47
struct sshkey *_ssh_host_public_key(int, int, struct ssh *);
crypto/openssh/ssh_api.c
48
struct sshkey *_ssh_host_private_key(int, int, struct ssh *);
crypto/openssh/ssh_api.c
481
struct sshkey *
crypto/openssh/ssh_api.c
49
int _ssh_host_key_sign(struct ssh *, struct sshkey *, struct sshkey *,
crypto/openssh/ssh_api.c
496
struct sshkey *
crypto/openssh/ssh_api.c
512
_ssh_verify_host_key(struct sshkey *hostkey, struct ssh *ssh)
crypto/openssh/ssh_api.c
55
int mm_sshkey_sign(struct sshkey *, u_char **, u_int *,
crypto/openssh/ssh_api.c
579
_ssh_host_key_sign(struct ssh *ssh, struct sshkey *privkey,
crypto/openssh/ssh_api.c
580
struct sshkey *pubkey, u_char **signature, size_t *slen,
crypto/openssh/ssh_api.c
63
mm_sshkey_sign(struct sshkey *key, u_char **sigp, u_int *lenp,
crypto/openssh/ssh_api.h
64
int ssh_add_hostkey(struct ssh *ssh, struct sshkey *key);
crypto/openssh/ssh_api.h
73
int (*cb)(struct sshkey *, struct ssh *));
crypto/openssh/sshconnect.c
1471
verify_host_key(char *host, struct sockaddr *hostaddr, struct sshkey *host_key,
crypto/openssh/sshconnect.c
1477
struct sshkey *plain = NULL;
crypto/openssh/sshconnect.c
1624
show_other_keys(struct hostkeys *hostkeys, struct sshkey *key)
crypto/openssh/sshconnect.c
1668
warn_changed_key(struct sshkey *host_key)
crypto/openssh/sshconnect.c
1731
maybe_add_key_to_agent(const char *authfile, struct sshkey *private,
crypto/openssh/sshconnect.c
690
const struct sshkey *key;
crypto/openssh/sshconnect.c
726
hostkey_accepted_by_hostkeyalgs(const struct sshkey *key)
crypto/openssh/sshconnect.c
73
struct sshkey *previous_host_key = NULL;
crypto/openssh/sshconnect.c
795
hostkeys_find_by_key(const char *host, const char *ip, const struct sshkey *key,
crypto/openssh/sshconnect.c
838
const struct sshkey *key,
crypto/openssh/sshconnect.c
84
static int show_other_keys(struct hostkeys *, struct sshkey *);
crypto/openssh/sshconnect.c
85
static void warn_changed_key(struct sshkey *);
crypto/openssh/sshconnect.c
874
const struct sshkey *host_key, const char *hostfile_hostname)
crypto/openssh/sshconnect.c
959
struct sshkey *host_key, int readonly, int clobber_port,
crypto/openssh/sshconnect.c
965
struct sshkey *raw_key = NULL;
crypto/openssh/sshconnect.h
100
int hostkey_accepted_by_hostkeyalgs(const struct sshkey *);
crypto/openssh/sshconnect.h
27
struct sshkey;
crypto/openssh/sshconnect.h
31
struct sshkey **keys;
crypto/openssh/sshconnect.h
79
int verify_host_key(char *, struct sockaddr *, struct sshkey *,
crypto/openssh/sshconnect.h
93
void maybe_add_key_to_agent(const char *, struct sshkey *,
crypto/openssh/sshconnect.h
98
const struct sshkey *, const char *);
crypto/openssh/sshconnect2.c
1152
key_sig_algorithm(struct ssh *ssh, const struct sshkey *key)
crypto/openssh/sshconnect2.c
1204
struct sshkey *sign_key = NULL, *prv = NULL;
crypto/openssh/sshconnect2.c
1517
static struct sshkey *
crypto/openssh/sshconnect2.c
1520
struct sshkey *private = NULL;
crypto/openssh/sshconnect2.c
1597
key_type_allowed_by_config(struct sshkey *key)
crypto/openssh/sshconnect2.c
1669
struct sshkey *key;
crypto/openssh/sshconnect2.c
2010
ssh_keysign(struct ssh *ssh, struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/sshconnect2.c
2129
struct sshkey *private = NULL;
crypto/openssh/sshconnect2.c
304
struct sshkey *key; /* public/private key */
crypto/openssh/sshconnect2.c
379
static struct sshkey *load_identity_file(Identity *);
crypto/openssh/sshconnect2.c
683
struct sshkey *key = NULL;
crypto/openssh/sshconnect2.c
94
verify_host_key_callback(struct sshkey *hostkey, struct ssh *ssh)
crypto/openssh/sshd-session.c
1394
sshd_hostkey_sign(struct ssh *ssh, struct sshkey *privkey,
crypto/openssh/sshd-session.c
1395
struct sshkey *pubkey, u_char **signature, size_t *slenp,
crypto/openssh/sshd-session.c
159
struct sshkey **host_keys; /* all private host keys */
crypto/openssh/sshd-session.c
160
struct sshkey **host_pubkeys; /* all public host keys */
crypto/openssh/sshd-session.c
161
struct sshkey **host_certificates; /* all public host certificates */
crypto/openssh/sshd-session.c
246
struct sshkey *tmp;
crypto/openssh/sshd-session.c
463
struct sshkey *key;
crypto/openssh/sshd-session.c
519
static struct sshkey *
crypto/openssh/sshd-session.c
523
struct sshkey *key;
crypto/openssh/sshd-session.c
560
struct sshkey *
crypto/openssh/sshd-session.c
566
struct sshkey *
crypto/openssh/sshd-session.c
572
struct sshkey *
crypto/openssh/sshd-session.c
580
struct sshkey *
crypto/openssh/sshd-session.c
589
get_hostkey_index(struct sshkey *key, int compare, struct ssh *ssh)
crypto/openssh/sshd-session.c
619
struct sshkey *key;
crypto/openssh/sshd-session.c
682
struct sshkey *k;
crypto/openssh/sshd.c
1120
struct sshkey *key)
crypto/openssh/sshd.c
1193
struct sshkey *key;
crypto/openssh/sshd.c
1194
struct sshkey *pubkey;
crypto/openssh/sshd.c
135
struct sshkey **host_keys; /* all private host keys */
crypto/openssh/sshd.c
136
struct sshkey **host_pubkeys; /* all public host keys */
crypto/openssh/sshd.c
137
struct sshkey **host_certificates; /* all public host certificates */
crypto/openssh/sshd.c
1454
sizeof(struct sshkey *));
crypto/openssh/sshd.c
1456
sizeof(struct sshkey *));
crypto/openssh/sshd.c
1564
sizeof(struct sshkey *));
crypto/openssh/sshkey-xmss.c
1085
sshkey_xmss_signatures_left(const struct sshkey *k)
crypto/openssh/sshkey-xmss.c
1100
sshkey_xmss_enable_maxsign(struct sshkey *k, u_int32_t maxsign)
crypto/openssh/sshkey-xmss.c
138
sshkey_xmss_free_state(struct sshkey *key)
crypto/openssh/sshkey-xmss.c
164
sshkey_xmss_init_bds_state(struct sshkey *key)
crypto/openssh/sshkey-xmss.c
190
sshkey_xmss_free_bds(struct sshkey *key)
crypto/openssh/sshkey-xmss.c
213
sshkey_xmss_params(const struct sshkey *key)
crypto/openssh/sshkey-xmss.c
223
sshkey_xmss_bds_state(const struct sshkey *key)
crypto/openssh/sshkey-xmss.c
233
sshkey_xmss_siglen(const struct sshkey *key, size_t *lenp)
crypto/openssh/sshkey-xmss.c
248
sshkey_xmss_pklen(const struct sshkey *key)
crypto/openssh/sshkey-xmss.c
258
sshkey_xmss_sklen(const struct sshkey *key)
crypto/openssh/sshkey-xmss.c
268
sshkey_xmss_init_enc_key(struct sshkey *k, const char *ciphername)
crypto/openssh/sshkey-xmss.c
293
sshkey_xmss_serialize_enc_key(const struct sshkey *k, struct sshbuf *b)
crypto/openssh/sshkey-xmss.c
309
sshkey_xmss_deserialize_enc_key(struct sshkey *k, struct sshbuf *b)
crypto/openssh/sshkey-xmss.c
325
sshkey_xmss_serialize_pk_info(const struct sshkey *k, struct sshbuf *b,
crypto/openssh/sshkey-xmss.c
346
sshkey_xmss_deserialize_pk_info(struct sshkey *k, struct sshbuf *b)
crypto/openssh/sshkey-xmss.c
368
sshkey_xmss_generate_private_key(struct sshkey *k, int bits)
crypto/openssh/sshkey-xmss.c
396
sshkey_xmss_get_state_from_file(struct sshkey *k, const char *filename,
crypto/openssh/sshkey-xmss.c
445
sshkey_xmss_get_state(const struct sshkey *k, int printerror)
crypto/openssh/sshkey-xmss.c
497
if ((r = sshkey_xmss_get_state_from_file((struct sshkey *)k,
crypto/openssh/sshkey-xmss.c
499
if ((r = sshkey_xmss_get_state_from_file((struct sshkey *)k,
crypto/openssh/sshkey-xmss.c
535
sshkey_xmss_forward_state(const struct sshkey *k, u_int32_t reserve)
crypto/openssh/sshkey-xmss.c
568
sshkey_xmss_update_state(const struct sshkey *k, int printerror)
crypto/openssh/sshkey-xmss.c
678
sshkey_xmss_serialize_state(const struct sshkey *k, struct sshbuf *b)
crypto/openssh/sshkey-xmss.c
715
sshkey_xmss_serialize_state_opt(const struct sshkey *k, struct sshbuf *b,
crypto/openssh/sshkey-xmss.c
772
sshkey_xmss_deserialize_state(struct sshkey *k, struct sshbuf *b)
crypto/openssh/sshkey-xmss.c
79
int sshkey_xmss_init_bds_state(struct sshkey *);
crypto/openssh/sshkey-xmss.c
80
int sshkey_xmss_init_enc_key(struct sshkey *, const char *);
crypto/openssh/sshkey-xmss.c
81
void sshkey_xmss_free_bds(struct sshkey *);
crypto/openssh/sshkey-xmss.c
82
int sshkey_xmss_get_state_from_file(struct sshkey *, const char *,
crypto/openssh/sshkey-xmss.c
837
sshkey_xmss_deserialize_state_opt(struct sshkey *k, struct sshbuf *b)
crypto/openssh/sshkey-xmss.c
84
int sshkey_xmss_encrypt_state(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey-xmss.c
86
int sshkey_xmss_decrypt_state(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey-xmss.c
88
int sshkey_xmss_serialize_enc_key(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey-xmss.c
889
sshkey_xmss_encrypt_state(const struct sshkey *k, struct sshbuf *b,
crypto/openssh/sshkey-xmss.c
89
int sshkey_xmss_deserialize_enc_key(struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey-xmss.c
95
sshkey_xmss_init(struct sshkey *key, const char *name)
crypto/openssh/sshkey-xmss.c
980
sshkey_xmss_decrypt_state(const struct sshkey *k, struct sshbuf *encoded,
crypto/openssh/sshkey-xmss.h
33
size_t sshkey_xmss_pklen(const struct sshkey *);
crypto/openssh/sshkey-xmss.h
34
size_t sshkey_xmss_sklen(const struct sshkey *);
crypto/openssh/sshkey-xmss.h
35
int sshkey_xmss_init(struct sshkey *, const char *);
crypto/openssh/sshkey-xmss.h
36
void sshkey_xmss_free_state(struct sshkey *);
crypto/openssh/sshkey-xmss.h
37
int sshkey_xmss_generate_private_key(struct sshkey *, int);
crypto/openssh/sshkey-xmss.h
38
int sshkey_xmss_serialize_state(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey-xmss.h
39
int sshkey_xmss_serialize_state_opt(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey-xmss.h
41
int sshkey_xmss_serialize_pk_info(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey-xmss.h
43
int sshkey_xmss_deserialize_state(struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey-xmss.h
44
int sshkey_xmss_deserialize_state_opt(struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey-xmss.h
45
int sshkey_xmss_deserialize_pk_info(struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey-xmss.h
47
int sshkey_xmss_siglen(const struct sshkey *, size_t *);
crypto/openssh/sshkey-xmss.h
48
void *sshkey_xmss_params(const struct sshkey *);
crypto/openssh/sshkey-xmss.h
49
void *sshkey_xmss_bds_state(const struct sshkey *);
crypto/openssh/sshkey-xmss.h
50
int sshkey_xmss_get_state(const struct sshkey *, int);
crypto/openssh/sshkey-xmss.h
51
int sshkey_xmss_enable_maxsign(struct sshkey *, u_int32_t);
crypto/openssh/sshkey-xmss.h
52
int sshkey_xmss_forward_state(const struct sshkey *, u_int32_t);
crypto/openssh/sshkey-xmss.h
53
int sshkey_xmss_update_state(const struct sshkey *, int);
crypto/openssh/sshkey-xmss.h
54
u_int32_t sshkey_xmss_signatures_left(const struct sshkey *);
crypto/openssh/sshkey.c
1015
const struct sshkey *k)
crypto/openssh/sshkey.c
1111
sshkey_fingerprint(const struct sshkey *k, int dgst_alg,
crypto/openssh/sshkey.c
1175
sshkey_read(struct sshkey *ret, char **cpp)
crypto/openssh/sshkey.c
1177
struct sshkey *k;
crypto/openssh/sshkey.c
1249
sshkey_to_base64(const struct sshkey *key, char **b64p)
crypto/openssh/sshkey.c
1278
sshkey_format_text(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
1295
sshkey_write(const struct sshkey *key, FILE *f)
crypto/openssh/sshkey.c
1318
sshkey_cert_type(const struct sshkey *k)
crypto/openssh/sshkey.c
1331
sshkey_check_rsa_length(const struct sshkey *k, int min_size)
crypto/openssh/sshkey.c
1398
sshkey_generate(int type, u_int bits, struct sshkey **keyp)
crypto/openssh/sshkey.c
1400
struct sshkey *k;
crypto/openssh/sshkey.c
1424
sshkey_cert_copy(const struct sshkey *from_key, struct sshkey *to_key)
crypto/openssh/sshkey.c
1494
sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to)
crypto/openssh/sshkey.c
1503
sshkey_from_private(const struct sshkey *k, struct sshkey **pkp)
crypto/openssh/sshkey.c
1505
struct sshkey *n = NULL;
crypto/openssh/sshkey.c
1530
sshkey_is_shielded(struct sshkey *k)
crypto/openssh/sshkey.c
1536
sshkey_shield_private(struct sshkey *k)
crypto/openssh/sshkey.c
1543
struct sshkey *kswap = NULL, tmp;
crypto/openssh/sshkey.c
1673
sshkey_unshield_private(struct sshkey *k)
crypto/openssh/sshkey.c
1679
struct sshkey *kswap = NULL, tmp;
crypto/openssh/sshkey.c
1762
cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf)
crypto/openssh/sshkey.c
1888
sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key)
crypto/openssh/sshkey.c
1897
sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp,
crypto/openssh/sshkey.c
1902
struct sshkey *key = NULL;
crypto/openssh/sshkey.c
1964
sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp)
crypto/openssh/sshkey.c
1977
sshkey_fromb(struct sshbuf *b, struct sshkey **keyp)
crypto/openssh/sshkey.c
1983
sshkey_froms(struct sshbuf *buf, struct sshkey **keyp)
crypto/openssh/sshkey.c
201
sshkey_impl_from_key(const struct sshkey *k)
crypto/openssh/sshkey.c
2028
sshkey_check_cert_sigtype(const struct sshkey *key, const char *allowed)
crypto/openssh/sshkey.c
2088
sshkey_sign(struct sshkey *key,
crypto/openssh/sshkey.c
209
sshkey_type(const struct sshkey *k)
crypto/openssh/sshkey.c
2128
sshkey_verify(const struct sshkey *key,
crypto/openssh/sshkey.c
2147
sshkey_to_certified(struct sshkey *k)
crypto/openssh/sshkey.c
2161
sshkey_drop_cert(struct sshkey *k)
crypto/openssh/sshkey.c
2173
sshkey_certify_custom(struct sshkey *k, struct sshkey *ca, const char *alg,
crypto/openssh/sshkey.c
2284
default_key_sign(struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/sshkey.c
2296
sshkey_certify(struct sshkey *k, struct sshkey *ca, const char *alg,
crypto/openssh/sshkey.c
2304
sshkey_cert_check_authority(const struct sshkey *k,
crypto/openssh/sshkey.c
2364
sshkey_cert_check_authority_now(const struct sshkey *k,
crypto/openssh/sshkey.c
2380
sshkey_cert_check_host(const struct sshkey *key, const char *host,
crypto/openssh/sshkey.c
239
sshkey_ssh_name(const struct sshkey *k)
crypto/openssh/sshkey.c
2428
sshkey_serialize_private_sk(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
2442
sshkey_private_serialize_opt(struct sshkey *key, struct sshbuf *buf,
crypto/openssh/sshkey.c
245
sshkey_ssh_name_plain(const struct sshkey *k)
crypto/openssh/sshkey.c
2486
sshkey_private_serialize(struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
2494
sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k)
crypto/openssh/sshkey.c
2511
sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp)
crypto/openssh/sshkey.c
2517
struct sshkey *k = NULL;
crypto/openssh/sshkey.c
2748
sshkey_private_to_blob2(struct sshkey *prv, struct sshbuf *blob,
crypto/openssh/sshkey.c
2950
struct sshbuf **decryptedp, struct sshkey **pubkeyp)
crypto/openssh/sshkey.c
2958
struct sshkey *pubkey = NULL;
crypto/openssh/sshkey.c
3097
struct sshkey **keyp, char **commentp)
crypto/openssh/sshkey.c
3102
struct sshkey *k = NULL, *pubkey = NULL;
crypto/openssh/sshkey.c
3157
struct sshkey **keyp)
crypto/openssh/sshkey.c
3161
struct sshkey *pubkey = NULL;
crypto/openssh/sshkey.c
3208
sshkey_private_to_blob_pem_pkcs8(struct sshkey *key, struct sshbuf *buf,
crypto/openssh/sshkey.c
3302
sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
crypto/openssh/sshkey.c
3425
const char *passphrase, struct sshkey **keyp)
crypto/openssh/sshkey.c
3428
struct sshkey *prv = NULL;
crypto/openssh/sshkey.c
3567
const char *passphrase, struct sshkey **keyp, char **commentp)
crypto/openssh/sshkey.c
3598
struct sshkey **keyp, char **commentp)
crypto/openssh/sshkey.c
3617
struct sshkey **pubkeyp)
crypto/openssh/sshkey.c
3635
sshkey_private_serialize_maxsign(struct sshkey *k, struct sshbuf *b,
crypto/openssh/sshkey.c
3659
sshkey_signatures_left(const struct sshkey *k)
crypto/openssh/sshkey.c
3667
sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign)
crypto/openssh/sshkey.c
3675
sshkey_set_filename(struct sshkey *k, const char *filename)
crypto/openssh/sshkey.c
3689
sshkey_private_serialize_maxsign(struct sshkey *k, struct sshbuf *b,
crypto/openssh/sshkey.c
3696
sshkey_signatures_left(const struct sshkey *k)
crypto/openssh/sshkey.c
3702
sshkey_enable_maxsign(struct sshkey *k, u_int32_t maxsign)
crypto/openssh/sshkey.c
3708
sshkey_set_filename(struct sshkey *k, const char *filename)
crypto/openssh/sshkey.c
391
sshkey_size(const struct sshkey *k)
crypto/openssh/sshkey.c
414
sshkey_is_cert(const struct sshkey *k)
crypto/openssh/sshkey.c
422
sshkey_is_sk(const struct sshkey *k)
crypto/openssh/sshkey.c
608
struct sshkey *
crypto/openssh/sshkey.c
611
struct sshkey *k;
crypto/openssh/sshkey.c
641
sshkey_sk_cleanup(struct sshkey *k)
crypto/openssh/sshkey.c
651
sshkey_free_contents(struct sshkey *k)
crypto/openssh/sshkey.c
667
sshkey_free(struct sshkey *k)
crypto/openssh/sshkey.c
690
sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/sshkey.c
704
sshkey_equal_public(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/sshkey.c
717
sshkey_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/sshkey.c
731
sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
742
to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain,
crypto/openssh/sshkey.c
774
sshkey_putb(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
780
sshkey_puts_opts(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/sshkey.c
796
sshkey_puts(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
802
sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
808
to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain,
crypto/openssh/sshkey.c
840
sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp)
crypto/openssh/sshkey.c
846
sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp)
crypto/openssh/sshkey.c
852
sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg,
crypto/openssh/sshkey.c
92
int sshkey_private_serialize_opt(struct sshkey *key,
crypto/openssh/sshkey.c
95
struct sshkey **keyp, int allow_cert);
crypto/openssh/sshkey.h
120
struct sshkey *signature_key;
crypto/openssh/sshkey.h
168
u_int (*size)(const struct sshkey *); /* optional */
crypto/openssh/sshkey.h
169
int (*alloc)(struct sshkey *); /* optional */
crypto/openssh/sshkey.h
170
void (*cleanup)(struct sshkey *); /* optional */
crypto/openssh/sshkey.h
171
int (*equal)(const struct sshkey *, const struct sshkey *);
crypto/openssh/sshkey.h
172
int (*serialize_public)(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey.h
175
struct sshkey *);
crypto/openssh/sshkey.h
176
int (*serialize_private)(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey.h
179
struct sshkey *);
crypto/openssh/sshkey.h
180
int (*generate)(struct sshkey *, int); /* optional */
crypto/openssh/sshkey.h
181
int (*copy_public)(const struct sshkey *, struct sshkey *);
crypto/openssh/sshkey.h
182
int (*sign)(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshkey.h
185
int (*verify)(const struct sshkey *, const u_char *, size_t,
crypto/openssh/sshkey.h
202
struct sshkey *sshkey_new(int);
crypto/openssh/sshkey.h
203
void sshkey_free(struct sshkey *);
crypto/openssh/sshkey.h
204
int sshkey_equal_public(const struct sshkey *,
crypto/openssh/sshkey.h
205
const struct sshkey *);
crypto/openssh/sshkey.h
206
int sshkey_equal(const struct sshkey *, const struct sshkey *);
crypto/openssh/sshkey.h
207
char *sshkey_fingerprint(const struct sshkey *,
crypto/openssh/sshkey.h
209
int sshkey_fingerprint_raw(const struct sshkey *k,
crypto/openssh/sshkey.h
211
const char *sshkey_type(const struct sshkey *);
crypto/openssh/sshkey.h
212
const char *sshkey_cert_type(const struct sshkey *);
crypto/openssh/sshkey.h
213
int sshkey_format_text(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey.h
214
int sshkey_write(const struct sshkey *, FILE *);
crypto/openssh/sshkey.h
215
int sshkey_read(struct sshkey *, char **);
crypto/openssh/sshkey.h
216
u_int sshkey_size(const struct sshkey *);
crypto/openssh/sshkey.h
218
int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
crypto/openssh/sshkey.h
219
int sshkey_from_private(const struct sshkey *, struct sshkey **);
crypto/openssh/sshkey.h
221
int sshkey_is_shielded(struct sshkey *);
crypto/openssh/sshkey.h
222
int sshkey_shield_private(struct sshkey *);
crypto/openssh/sshkey.h
223
int sshkey_unshield_private(struct sshkey *);
crypto/openssh/sshkey.h
226
int sshkey_is_cert(const struct sshkey *);
crypto/openssh/sshkey.h
227
int sshkey_is_sk(const struct sshkey *);
crypto/openssh/sshkey.h
234
int sshkey_to_certified(struct sshkey *);
crypto/openssh/sshkey.h
235
int sshkey_drop_cert(struct sshkey *);
crypto/openssh/sshkey.h
236
int sshkey_cert_copy(const struct sshkey *, struct sshkey *);
crypto/openssh/sshkey.h
237
int sshkey_cert_check_authority(const struct sshkey *, int, int, int,
crypto/openssh/sshkey.h
239
int sshkey_cert_check_authority_now(const struct sshkey *, int, int, int,
crypto/openssh/sshkey.h
241
int sshkey_cert_check_host(const struct sshkey *, const char *,
crypto/openssh/sshkey.h
245
int sshkey_check_cert_sigtype(const struct sshkey *, const char *);
crypto/openssh/sshkey.h
247
int sshkey_certify(struct sshkey *, struct sshkey *,
crypto/openssh/sshkey.h
250
typedef int sshkey_certify_signer(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshkey.h
253
int sshkey_certify_custom(struct sshkey *, struct sshkey *, const char *,
crypto/openssh/sshkey.h
265
const char *sshkey_ssh_name(const struct sshkey *);
crypto/openssh/sshkey.h
266
const char *sshkey_ssh_name_plain(const struct sshkey *);
crypto/openssh/sshkey.h
270
int sshkey_from_blob(const u_char *, size_t, struct sshkey **);
crypto/openssh/sshkey.h
271
int sshkey_fromb(struct sshbuf *, struct sshkey **);
crypto/openssh/sshkey.h
272
int sshkey_froms(struct sshbuf *, struct sshkey **);
crypto/openssh/sshkey.h
273
int sshkey_to_blob(const struct sshkey *, u_char **, size_t *);
crypto/openssh/sshkey.h
274
int sshkey_to_base64(const struct sshkey *, char **);
crypto/openssh/sshkey.h
275
int sshkey_putb(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey.h
276
int sshkey_puts(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey.h
277
int sshkey_puts_opts(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey.h
279
int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);
crypto/openssh/sshkey.h
280
int sshkey_putb_plain(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey.h
282
int sshkey_sign(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshkey.h
284
int sshkey_verify(const struct sshkey *, const u_char *, size_t,
crypto/openssh/sshkey.h
295
int sshkey_private_serialize(struct sshkey *key, struct sshbuf *buf);
crypto/openssh/sshkey.h
296
int sshkey_private_serialize_opt(struct sshkey *key, struct sshbuf *buf,
crypto/openssh/sshkey.h
298
int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **keyp);
crypto/openssh/sshkey.h
301
int sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
crypto/openssh/sshkey.h
305
const char *passphrase, struct sshkey **keyp, char **commentp);
crypto/openssh/sshkey.h
307
const char *passphrase, struct sshkey **keyp, char **commentp);
crypto/openssh/sshkey.h
309
int type, struct sshkey **pubkeyp);
crypto/openssh/sshkey.h
311
int sshkey_check_rsa_length(const struct sshkey *, int);
crypto/openssh/sshkey.h
313
int ssh_rsa_complete_crt_parameters(struct sshkey *, const BIGNUM *);
crypto/openssh/sshkey.h
316
int sshkey_set_filename(struct sshkey *, const char *);
crypto/openssh/sshkey.h
317
int sshkey_enable_maxsign(struct sshkey *, u_int32_t);
crypto/openssh/sshkey.h
318
u_int32_t sshkey_signatures_left(const struct sshkey *);
crypto/openssh/sshkey.h
319
int sshkey_private_serialize_maxsign(struct sshkey *key,
crypto/openssh/sshkey.h
325
int sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b);
crypto/openssh/sshkey.h
326
void sshkey_sk_cleanup(struct sshkey *k);
crypto/openssh/sshkey.h
327
int sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b);
crypto/openssh/sshkey.h
328
int sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to);
crypto/openssh/sshkey.h
329
int sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key);
crypto/openssh/sshkey.h
330
int sshkey_serialize_private_sk(const struct sshkey *key,
crypto/openssh/sshkey.h
332
int sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k);
crypto/openssh/sshsig.c
1025
sshsig_find_principals(const char *path, const struct sshkey *sign_key,
crypto/openssh/sshsig.c
1142
sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey)
crypto/openssh/sshsig.c
1144
struct sshkey *pk = NULL;
crypto/openssh/sshsig.c
164
sshsig_wrap_sign(struct sshkey *key, const char *hashalg,
crypto/openssh/sshsig.c
302
struct sshkey **sign_keyp, struct sshkey_sig_details **sig_details)
crypto/openssh/sshsig.c
306
struct sshkey *key = NULL;
crypto/openssh/sshsig.c
443
sshsig_signb(struct sshkey *key, const char *hashalg,
crypto/openssh/sshsig.c
471
const char *expect_namespace, struct sshkey **sign_keyp,
crypto/openssh/sshsig.c
571
sshsig_sign_fd(struct sshkey *key, const char *hashalg,
crypto/openssh/sshsig.c
599
const char *expect_namespace, struct sshkey **sign_keyp,
crypto/openssh/sshsig.c
732
const char *required_principal, char **principalsp, struct sshkey **keyp,
crypto/openssh/sshsig.c
738
struct sshkey *key = NULL;
crypto/openssh/sshsig.c
834
char **principalsp, const struct sshkey *cert, uint64_t verify_time)
crypto/openssh/sshsig.c
890
const struct sshkey *sign_key, const char *principal,
crypto/openssh/sshsig.c
893
struct sshkey *found_key = NULL;
crypto/openssh/sshsig.c
984
sshsig_check_allowed_keys(const char *path, const struct sshkey *sign_key,
crypto/openssh/sshsig.h
104
int sshsig_find_principals(const char *path, const struct sshkey *sign_key,
crypto/openssh/sshsig.h
22
struct sshkey;
crypto/openssh/sshsig.h
26
typedef int sshsig_signer(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshsig.h
37
int sshsig_signb(struct sshkey *key, const char *hashalg,
crypto/openssh/sshsig.h
49
struct sshkey **sign_keyp, struct sshkey_sig_details **sig_details);
crypto/openssh/sshsig.h
58
int sshsig_sign_fd(struct sshkey *key, const char *hashalg,
crypto/openssh/sshsig.h
69
const char *sig_namespace, struct sshkey **sign_keyp,
crypto/openssh/sshsig.h
88
int sshsig_check_allowed_keys(const char *path, const struct sshkey *sign_key,
crypto/openssh/sshsig.h
99
int sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey);