crypto/openssh/auth-options.c
501
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
230
const struct sshkey *key = authctxt->auth_method_key;
crypto/openssh/auth.c
421
check_key_in_hostfiles(struct passwd *pw, struct sshkey *key, const char *host,
crypto/openssh/auth.c
552
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
197
int auth_key_is_revoked(struct sshkey *);
crypto/openssh/auth.h
202
check_key_in_hostfiles(struct passwd *, struct sshkey *, const char *,
crypto/openssh/auth.h
206
struct sshkey *get_hostkey_by_index(int);
crypto/openssh/auth.h
207
struct sshkey *get_hostkey_public_by_index(int, struct ssh *);
crypto/openssh/auth.h
208
struct sshkey *get_hostkey_public_by_type(int, int, struct ssh *);
crypto/openssh/auth.h
209
struct sshkey *get_hostkey_private_by_type(int, int, struct ssh *);
crypto/openssh/auth.h
210
int get_hostkey_index(struct sshkey *, int, struct ssh *);
crypto/openssh/auth.h
211
int sshd_hostkey_sign(struct ssh *, struct sshkey *, struct sshkey *,
crypto/openssh/auth.h
234
int auth_check_authkey_line(struct passwd *, struct sshkey *,
crypto/openssh/auth.h
237
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
172
const char *cuser, char *chost, struct sshkey *key)
crypto/openssh/auth2-hostbased.c
64
struct sshkey *key = NULL;
crypto/openssh/auth2-pubkey.c
375
match_principals_command(struct passwd *user_pw, const struct sshkey *key,
crypto/openssh/auth2-pubkey.c
512
user_cert_trusted_ca(struct passwd *pw, struct sshkey *key,
crypto/openssh/auth2-pubkey.c
625
user_key_allowed2(struct passwd *pw, struct sshkey *key,
crypto/openssh/auth2-pubkey.c
654
user_key_command_allowed2(struct passwd *user_pw, struct sshkey *key,
crypto/openssh/auth2-pubkey.c
77
format_key(const struct sshkey *key)
crypto/openssh/auth2-pubkey.c
790
user_key_allowed(struct ssh *ssh, struct passwd *pw, struct sshkey *key,
crypto/openssh/auth2-pubkey.c
93
struct sshkey *key = NULL, *hostkey = NULL;
crypto/openssh/auth2-pubkeyfile.c
268
auth_check_authkey_line(struct passwd *pw, struct sshkey *key,
crypto/openssh/auth2-pubkeyfile.c
273
struct sshkey *found = NULL;
crypto/openssh/auth2-pubkeyfile.c
420
struct sshkey *key, const char *remote_ip,
crypto/openssh/auth2.c
725
const struct sshkey *key)
crypto/openssh/auth2.c
727
struct sshkey **tmp, *dup;
crypto/openssh/auth2.c
753
auth2_key_already_used(Authctxt *authctxt, const struct sshkey *key)
crypto/openssh/authfd.c
235
deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp)
crypto/openssh/authfd.c
357
ssh_agent_has_key(int sock, const struct sshkey *key)
crypto/openssh/authfd.c
388
agent_encode_alg(const struct sshkey *key, const char *alg)
crypto/openssh/authfd.c
403
ssh_agent_sign(int sock, const struct sshkey *key,
crypto/openssh/authfd.c
516
int cert_only, struct sshkey **certs, size_t ncerts)
crypto/openssh/authfd.c
588
ssh_add_identity_constrained(int sock, struct sshkey *key,
crypto/openssh/authfd.c
645
ssh_remove_identity(int sock, const struct sshkey *key)
crypto/openssh/authfd.c
685
int cert_only, struct sshkey **certs, size_t ncerts)
crypto/openssh/authfd.c
750
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
53
int ssh_agent_has_key(int sock, const struct sshkey *key);
crypto/openssh/authfd.h
54
int ssh_remove_identity(int sock, const struct sshkey *key);
crypto/openssh/authfd.h
59
int cert_only, struct sshkey **certs, size_t ncerts);
crypto/openssh/authfd.h
62
int ssh_agent_sign(int sock, const struct sshkey *key,
crypto/openssh/authfd.h
66
int ssh_agent_bind_hostkey(int sock, const struct sshkey *key,
crypto/openssh/authfile.c
111
struct sshkey **keyp, char **commentp)
crypto/openssh/authfile.c
135
struct sshkey **keyp, char **commentp)
crypto/openssh/authfile.c
143
struct sshkey **keyp, char **commentp)
crypto/openssh/authfile.c
164
sshkey_load_pubkey_from_private(const char *filename, struct sshkey **pubkeyp)
crypto/openssh/authfile.c
167
struct sshkey *pubkey = NULL;
crypto/openssh/authfile.c
193
sshkey_try_load_public(struct sshkey **kp, const char *filename,
crypto/openssh/authfile.c
201
struct sshkey *k = NULL;
crypto/openssh/authfile.c
259
sshkey_load_public(const char *filename, struct sshkey **keyp, char **commentp)
crypto/openssh/authfile.c
295
sshkey_load_cert(const char *filename, struct sshkey **keyp)
crypto/openssh/authfile.c
297
struct sshkey *pub = NULL;
crypto/openssh/authfile.c
316
struct sshkey **keyp)
crypto/openssh/authfile.c
318
struct sshkey *key = NULL, *cert = NULL;
crypto/openssh/authfile.c
371
sshkey_in_file(struct sshkey *key, const char *filename, int strict_type,
crypto/openssh/authfile.c
378
struct sshkey *pub = NULL;
crypto/openssh/authfile.c
380
int (*sshkey_compare)(const struct sshkey *, const struct sshkey *) =
crypto/openssh/authfile.c
438
sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file)
crypto/openssh/authfile.c
488
sshkey_save_public(const struct sshkey *key, const char *path,
crypto/openssh/authfile.c
60
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
2057
struct sshkey **keys;
crypto/openssh/clientloop.c
2067
struct sshkey **old_keys;
crypto/openssh/clientloop.c
2126
struct sshkey **tmp;
crypto/openssh/clientloop.c
2473
struct sshkey *key = NULL, **tmp;
crypto/openssh/dns.c
190
struct sshkey *hostkey, int *flags)
crypto/openssh/dns.c
298
export_dns_rr(const char *hostname, struct sshkey *key, FILE *f, int generic,
crypto/openssh/dns.c
81
u_char **digest, size_t *digest_len, struct sshkey *key)
crypto/openssh/dns.h
55
struct sshkey *, int *);
crypto/openssh/dns.h
56
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
478
const struct sshkey *key, int store_hash)
crypto/openssh/hostfile.c
543
const struct sshkey *key, int store_hash)
crypto/openssh/hostfile.c
573
struct sshkey * const *keys;
crypto/openssh/hostfile.c
624
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
1173
kex_load_hostkey(struct ssh *ssh, struct sshkey **prvp, struct sshkey **pubp)
crypto/openssh/kex.c
1194
kex_verify_host_key(struct ssh *ssh, struct sshkey *server_host_key)
crypto/openssh/kex.h
169
struct sshkey *initial_hostkey;
crypto/openssh/kex.h
175
int (*verify_host_key)(struct sshkey *, struct ssh *);
crypto/openssh/kex.h
176
struct sshkey *(*load_host_public_key)(int, int, struct ssh *);
crypto/openssh/kex.h
177
struct sshkey *(*load_host_private_key)(int, int, struct ssh *);
crypto/openssh/kex.h
178
int (*host_key_index)(struct sshkey *, int, struct ssh *);
crypto/openssh/kex.h
179
int (*sign)(struct ssh *, struct sshkey *, struct sshkey *,
crypto/openssh/kex.h
219
int kex_load_hostkey(struct ssh *, struct sshkey **, struct sshkey **);
crypto/openssh/kex.h
220
int kex_verify_host_key(struct ssh *, struct sshkey *);
crypto/openssh/kexecdh.c
217
struct sshkey;
crypto/openssh/kexgen.c
145
struct sshkey *server_host_key = NULL;
crypto/openssh/kexgen.c
278
struct sshkey *server_host_private, *server_host_public;
crypto/openssh/kexgexc.c
151
struct sshkey *server_host_key = NULL;
crypto/openssh/kexgexs.c
133
struct sshkey *server_host_public, *server_host_private;
crypto/openssh/kexsntrup761x25519.c
233
struct sshkey;
crypto/openssh/krl.c
1158
is_cert_revoked(const struct sshkey *key, struct revoked_certs *rc)
crypto/openssh/krl.c
1192
is_key_revoked(struct ssh_krl *krl, const struct sshkey *key)
crypto/openssh/krl.c
1255
ssh_krl_check_key(struct ssh_krl *krl, const struct sshkey *key)
crypto/openssh/krl.c
1272
ssh_krl_file_contains_key(const char *path, const struct sshkey *key)
crypto/openssh/krl.c
1299
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, uint64_t lo, uint64_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
83
struct sshkey *ca_key;
crypto/openssh/krl.c
876
struct sshkey *ca_key = NULL;
crypto/openssh/krl.h
42
struct sshkey;
crypto/openssh/krl.h
51
const struct sshkey *ca_key, uint64_t serial);
crypto/openssh/krl.h
53
const struct sshkey *ca_key, uint64_t lo, uint64_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
1284
struct sshkey *key = NULL;
crypto/openssh/monitor.c
1377
struct sshkey *hostkey = NULL;
crypto/openssh/monitor.c
1526
struct sshkey *key;
crypto/openssh/monitor.c
721
struct sshkey *pubkey, *key;
crypto/openssh/monitor.c
985
key_base_type_match(const char *method, const struct sshkey *key,
crypto/openssh/monitor_wrap.c
273
mm_sshkey_sign(struct ssh *ssh, struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/monitor_wrap.c
480
mm_user_key_allowed(struct ssh *ssh, struct passwd *pw, struct sshkey *key,
crypto/openssh/monitor_wrap.c
489
const char *user, const char *host, struct sshkey *key)
crypto/openssh/monitor_wrap.c
496
struct sshkey *key, int pubkey_auth_attempt, struct sshauthopt **authoptp)
crypto/openssh/monitor_wrap.c
545
mm_sshkey_verify(const struct sshkey *key, const u_char *sig, size_t siglen,
crypto/openssh/monitor_wrap.h
40
struct sshkey;
crypto/openssh/monitor_wrap.h
50
int mm_sshkey_sign(struct ssh *, struct sshkey *, u_char **, size_t *,
crypto/openssh/monitor_wrap.h
57
int mm_key_allowed(enum mm_keytype, const char *, const char *, struct sshkey *,
crypto/openssh/monitor_wrap.h
59
int mm_user_key_allowed(struct ssh *ssh, struct passwd *, struct sshkey *, int,
crypto/openssh/monitor_wrap.h
62
const char *, struct sshkey *);
crypto/openssh/monitor_wrap.h
63
int mm_sshkey_verify(const struct sshkey *, const u_char *, size_t,
crypto/openssh/packet.h
44
struct sshkey;
crypto/openssh/packet.h
52
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/regress/misc/fuzz-harness/agent_fuzz_helper.c
21
static struct sshkey *
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
25
struct sshkey *pubkey;
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
39
static struct sshkey *
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
44
struct sshkey *privkey;
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
63
struct sshkey *cert;
crypto/openssh/regress/misc/fuzz-harness/authkeys_fuzz.cc
35
static struct sshkey *key, *cert;
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
123
store_key(struct shared_state *st, struct sshkey *pubkey,
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
124
struct sshkey *privkey)
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
132
st->pubkeys = (struct sshkey **)xrecallocarray(st->pubkeys,
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
134
st->privkeys = (struct sshkey **)xrecallocarray(st->privkeys,
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
155
static struct sshkey *
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
164
static struct sshkey *
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
178
struct sshkey *privkey = NULL, *pubkey = NULL;
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
257
struct sshkey *privkey = NULL, *pubkey = NULL;
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
303
struct sshkey *privkey = NULL, *pubkey = NULL;
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
31
struct sshkey **privkeys, **pubkeys;
crypto/openssh/regress/misc/fuzz-harness/privkey_fuzz.cc
12
struct sshkey *k = NULL;
crypto/openssh/regress/misc/fuzz-harness/pubkey_fuzz.cc
11
struct sshkey *k = NULL;
crypto/openssh/regress/misc/fuzz-harness/sig_fuzz.cc
15
static struct sshkey *generate_or_die(int type, unsigned bits) {
crypto/openssh/regress/misc/fuzz-harness/sig_fuzz.cc
17
struct sshkey *ret;
crypto/openssh/regress/misc/fuzz-harness/sig_fuzz.cc
28
static struct sshkey *rsa = generate_or_die(KEY_RSA, 2048);
crypto/openssh/regress/misc/fuzz-harness/sig_fuzz.cc
29
static struct sshkey *ecdsa256 = generate_or_die(KEY_ECDSA, 256);
crypto/openssh/regress/misc/fuzz-harness/sig_fuzz.cc
30
static struct sshkey *ecdsa384 = generate_or_die(KEY_ECDSA, 384);
crypto/openssh/regress/misc/fuzz-harness/sig_fuzz.cc
31
static struct sshkey *ecdsa521 = generate_or_die(KEY_ECDSA, 521);
crypto/openssh/regress/misc/fuzz-harness/sig_fuzz.cc
34
static struct sshkey *ed25519 = generate_or_die(KEY_ED25519, 0);
crypto/openssh/regress/misc/fuzz-harness/ssh-sk-null.cc
31
struct sshkey **keyp, struct sshbuf *attest)
crypto/openssh/regress/misc/fuzz-harness/ssh-sk-null.cc
37
sshsk_sign(const char *provider_path, struct sshkey *key,
crypto/openssh/regress/misc/fuzz-harness/sshsig_fuzz.cc
24
struct sshkey *k = NULL;
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
201
cred_matches_key_ecdsa(const fido_cred_t *cred, const struct sshkey *k)
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
203
struct sshkey *key = NULL;
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
267
cred_matches_key_ed25519(const fido_cred_t *cred, const struct sshkey *k)
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
269
struct sshkey *key = NULL;
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
307
cred_matches_key(const fido_cred_t *cred, const struct sshkey *k)
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
332
struct sshkey *k = NULL;
crypto/openssh/regress/unittests/authopt/tests.c
25
static struct sshkey *
crypto/openssh/regress/unittests/authopt/tests.c
28
struct sshkey *ret;
crypto/openssh/regress/unittests/authopt/tests.c
291
struct sshkey *cert;
crypto/openssh/regress/unittests/authopt/tests.c
378
struct sshkey *cert;
crypto/openssh/regress/unittests/kex/test_kex.c
199
struct sshkey *key = NULL;
crypto/openssh/regress/unittests/kex/test_kex.c
79
struct sshkey *key, int keytype, int bits)
crypto/openssh/regress/unittests/kex/test_kex.c
82
struct sshkey *private, *public;
crypto/openssh/regress/unittests/sshkey/common.c
106
rsa_p(struct sshkey *k)
crypto/openssh/regress/unittests/sshkey/common.c
117
rsa_q(struct sshkey *k)
crypto/openssh/regress/unittests/sshkey/common.c
84
rsa_n(struct sshkey *k)
crypto/openssh/regress/unittests/sshkey/common.c
95
rsa_e(struct sshkey *k)
crypto/openssh/regress/unittests/sshkey/common.h
18
const BIGNUM *rsa_n(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/common.h
19
const BIGNUM *rsa_e(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/common.h
20
const BIGNUM *rsa_p(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/common.h
21
const BIGNUM *rsa_q(struct sshkey *k);
crypto/openssh/regress/unittests/sshkey/test_file.c
43
struct sshkey *k1, *k2;
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
113
struct sshkey *k1;
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
47
public_fuzz(struct sshkey *k)
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
49
struct sshkey *k1;
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
77
sig_fuzz(struct sshkey *k, const char *sig_alg)
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
117
signature_test(struct sshkey *k, struct sshkey *bad, const char *sig_alg,
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
139
struct sshkey *k;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
163
struct sshkey *k;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
200
signature_tests(struct sshkey *k, struct sshkey *bad, const char *sig_alg)
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
229
static struct sshkey *
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
233
struct sshkey *ret;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
244
struct sshkey *k1 = NULL, *k2 = NULL, *k3 = NULL, *kf = NULL;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
246
struct sshkey *k4 = NULL, *kr = NULL, *kd = NULL;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
248
struct sshkey *ke = NULL;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
55
build_cert(struct sshbuf *b, struct sshkey *k, const char *type,
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
56
struct sshkey *sign_key, struct sshkey *ca_key,
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
670
struct sshkey *k = NULL;
crypto/openssh/regress/unittests/sshsig/tests.c
44
static struct sshkey *
crypto/openssh/regress/unittests/sshsig/tests.c
47
struct sshkey *ret = NULL;
crypto/openssh/regress/unittests/sshsig/tests.c
57
struct sshkey *k, *sign_key;
crypto/openssh/serverloop.c
674
struct sshkey *key = NULL, *key_pub = NULL, *key_prv = NULL;
crypto/openssh/ssh-add.c
113
delete_one(int agent_fd, const struct sshkey *key, const char *comment,
crypto/openssh/ssh-add.c
135
struct sshkey *key = NULL;
crypto/openssh/ssh-add.c
169
struct sshkey *public, *cert = NULL;
crypto/openssh/ssh-add.c
256
check_cert_lifetime(const struct sshkey *cert, int cert_lifetime)
crypto/openssh/ssh-add.c
281
struct sshkey *private = NULL, *cert = NULL;
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
604
struct sshkey *key;
crypto/openssh/ssh-add.c
824
struct sshkey *k, **certs = NULL;
crypto/openssh/ssh-agent.c
1018
struct sshkey *key = NULL;
crypto/openssh/ssh-agent.c
1103
struct sshkey *k = NULL;
crypto/openssh/ssh-agent.c
116
struct sshkey *key;
crypto/openssh/ssh-agent.c
1211
struct sshkey ***certs, size_t *ncerts)
crypto/openssh/ssh-agent.c
1217
struct sshkey *k;
crypto/openssh/ssh-agent.c
1308
parse_key_constraints(struct sshbuf *m, struct sshkey *k, time_t *deathp,
crypto/openssh/ssh-agent.c
1311
int *cert_onlyp, size_t *ncerts, struct sshkey ***certs)
crypto/openssh/ssh-agent.c
137
struct sshkey *key;
crypto/openssh/ssh-agent.c
1373
struct sshkey *k = NULL;
crypto/openssh/ssh-agent.c
1548
add_p11_identity(struct sshkey *key, char *comment, const char *provider,
crypto/openssh/ssh-agent.c
1580
struct sshkey **keys = NULL, *k;
crypto/openssh/ssh-agent.c
1583
struct sshkey **certs = NULL;
crypto/openssh/ssh-agent.c
1707
struct sshkey *key = NULL;
crypto/openssh/ssh-agent.c
374
match_key_hop(const char *tag, const struct sshkey *key,
crypto/openssh/ssh-agent.c
429
permitted_by_dest_constraints(const struct sshkey *fromkey,
crypto/openssh/ssh-agent.c
430
const struct sshkey *tokey, Identity *id, const char *user,
crypto/openssh/ssh-agent.c
491
const struct sshkey *fromkey = NULL;
crypto/openssh/ssh-agent.c
592
lookup_identity(struct sshkey *key)
crypto/openssh/ssh-agent.c
685
agent_decode_alg(struct sshkey *key, u_int flags)
crypto/openssh/ssh-agent.c
709
parse_userauth_request(struct sshbuf *msg, const struct sshkey *expected_key,
crypto/openssh/ssh-agent.c
710
char **userp, struct sshbuf **sess_idp, struct sshkey **hostkeyp)
crypto/openssh/ssh-agent.c
716
struct sshkey *mkey = NULL, *hostkey = NULL;
crypto/openssh/ssh-agent.c
827
check_websafe_message_contents(struct sshkey *key, struct sshbuf *data)
crypto/openssh/ssh-agent.c
868
struct sshkey *key = NULL, *hostkey = NULL;
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
102
ssh_ecdsa_size(const struct sshkey *key)
crypto/openssh/ssh-ecdsa.c
119
ssh_ecdsa_cleanup(struct sshkey *k)
crypto/openssh/ssh-ecdsa.c
126
ssh_ecdsa_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-ecdsa.c
134
ssh_ecdsa_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ecdsa.c
150
ssh_ecdsa_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ecdsa.c
166
ssh_ecdsa_generate(struct sshkey *k, int bits)
crypto/openssh/ssh-ecdsa.c
195
ssh_ecdsa_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-ecdsa.c
230
struct sshkey *key)
crypto/openssh/ssh-ecdsa.c
283
struct sshkey *key)
crypto/openssh/ssh-ecdsa.c
318
ssh_ecdsa_sign(struct sshkey *key,
crypto/openssh/ssh-ecdsa.c
366
ssh_ecdsa_encode_store_sig(const struct sshkey *key,
crypto/openssh/ssh-ecdsa.c
407
ssh_ecdsa_verify(const struct sshkey *key,
crypto/openssh/ssh-ed25519-sk.c
111
struct sshkey *key)
crypto/openssh/ssh-ed25519-sk.c
123
ssh_ed25519_sk_verify(const struct sshkey *key,
crypto/openssh/ssh-ed25519-sk.c
40
ssh_ed25519_sk_cleanup(struct sshkey *k)
crypto/openssh/ssh-ed25519-sk.c
47
ssh_ed25519_sk_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-ed25519-sk.c
57
ssh_ed25519_sk_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ed25519-sk.c
71
ssh_ed25519_sk_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ed25519-sk.c
85
ssh_ed25519_sk_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-ed25519-sk.c
98
struct sshkey *key)
crypto/openssh/ssh-ed25519.c
103
struct sshkey *key)
crypto/openssh/ssh-ed25519.c
121
struct sshkey *key)
crypto/openssh/ssh-ed25519.c
145
ssh_ed25519_sign(struct sshkey *key,
crypto/openssh/ssh-ed25519.c
227
ssh_ed25519_verify(const struct sshkey *key,
crypto/openssh/ssh-ed25519.c
35
ssh_ed25519_cleanup(struct sshkey *k)
crypto/openssh/ssh-ed25519.c
44
ssh_ed25519_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-ed25519.c
54
ssh_ed25519_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ed25519.c
68
ssh_ed25519_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-ed25519.c
81
ssh_ed25519_generate(struct sshkey *k, int bits)
crypto/openssh/ssh-ed25519.c
91
ssh_ed25519_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-keygen.c
1032
struct sshkey *private, *public;
crypto/openssh/ssh-keygen.c
1374
struct sshkey *private;
crypto/openssh/ssh-keygen.c
1451
struct sshkey *public;
crypto/openssh/ssh-keygen.c
1489
struct sshkey *private;
crypto/openssh/ssh-keygen.c
1490
struct sshkey *public;
crypto/openssh/ssh-keygen.c
1676
static struct sshkey *
crypto/openssh/ssh-keygen.c
1680
struct sshkey **keys = NULL, *public, *private = NULL;
crypto/openssh/ssh-keygen.c
1708
agent_signer(struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/ssh-keygen.c
1726
struct sshkey *ca, *public;
crypto/openssh/ssh-keygen.c
2082
print_cert(struct sshkey *key)
crypto/openssh/ssh-keygen.c
2131
struct sshkey *key = NULL;
crypto/openssh/ssh-keygen.c
2236
const struct sshkey *ca, struct ssh_krl *krl)
crypto/openssh/ssh-keygen.c
2238
struct sshkey *key = NULL;
crypto/openssh/ssh-keygen.c
2398
struct sshkey *ca = NULL;
crypto/openssh/ssh-keygen.c
2453
struct sshkey *k;
crypto/openssh/ssh-keygen.c
2476
static struct sshkey *
crypto/openssh/ssh-keygen.c
2477
load_sign_key(const char *keypath, const struct sshkey *pubkey)
crypto/openssh/ssh-keygen.c
2482
struct sshkey *ret = NULL, *privkey = NULL;
crypto/openssh/ssh-keygen.c
2539
sign_one(struct sshkey *signkey, const char *filename, int fd,
crypto/openssh/ssh-keygen.c
2681
struct sshkey *pubkey = NULL, *privkey = NULL, *signkey = NULL;
crypto/openssh/ssh-keygen.c
2765
struct sshkey *sign_key = NULL;
crypto/openssh/ssh-keygen.c
2855
struct sshkey *sign_key = NULL;
crypto/openssh/ssh-keygen.c
296
static struct sshkey *
crypto/openssh/ssh-keygen.c
300
struct sshkey *prv;
crypto/openssh/ssh-keygen.c
3124
struct sshkey *key;
crypto/openssh/ssh-keygen.c
330
do_convert_to_ssh2(struct passwd *pw, struct sshkey *k)
crypto/openssh/ssh-keygen.c
3301
struct sshkey *private = NULL, *public = NULL;
crypto/openssh/ssh-keygen.c
359
do_convert_to_pkcs8(struct sshkey *k)
crypto/openssh/ssh-keygen.c
380
do_convert_to_pem(struct sshkey *k)
crypto/openssh/ssh-keygen.c
403
struct sshkey *k;
crypto/openssh/ssh-keygen.c
450
static struct sshkey *
crypto/openssh/ssh-keygen.c
453
struct sshkey *key = NULL;
crypto/openssh/ssh-keygen.c
604
do_convert_from_ssh2(struct passwd *pw, struct sshkey **k, int *private)
crypto/openssh/ssh-keygen.c
656
do_convert_from_pkcs8(struct sshkey **k, int *private)
crypto/openssh/ssh-keygen.c
695
do_convert_from_pem(struct sshkey **k, int *private)
crypto/openssh/ssh-keygen.c
720
struct sshkey *k = NULL;
crypto/openssh/ssh-keygen.c
776
struct sshkey *prv;
crypto/openssh/ssh-keygen.c
804
struct sshkey **keys = NULL;
crypto/openssh/ssh-keygen.c
847
static struct sshkey *
crypto/openssh/ssh-keygen.c
850
struct sshkey *ret;
crypto/openssh/ssh-keygen.c
863
fingerprint_one_key(const struct sshkey *public, const char *comment)
crypto/openssh/ssh-keygen.c
888
struct sshkey *privkey = NULL, *pubkey = NULL;
crypto/openssh/ssh-keygen.c
914
struct sshkey *public = NULL;
crypto/openssh/ssh-keyscan.c
120
static void keyprint(con *c, struct sshkey *key);
crypto/openssh/ssh-keyscan.c
206
key_print_wrapper(struct sshkey *hostkey, struct ssh *ssh)
crypto/openssh/ssh-keyscan.c
309
keyprint_one(const char *host, struct sshkey *key)
crypto/openssh/ssh-keyscan.c
336
keyprint(con *c, struct sshkey *key)
crypto/openssh/ssh-keysign.c
181
struct sshkey *keys[NUM_KEYTYPES], *key = NULL;
crypto/openssh/ssh-keysign.c
63
valid_request(struct passwd *pw, char *host, struct sshkey **ret, char **pkalgp,
crypto/openssh/ssh-keysign.c
67
struct sshkey *key = NULL;
crypto/openssh/ssh-mldsa-eddsa.c
238
ssh_mldsa44_ed25519_cleanup(struct sshkey *k)
crypto/openssh/ssh-mldsa-eddsa.c
247
ssh_mldsa44_ed25519_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-mldsa-eddsa.c
258
ssh_mldsa44_ed25519_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-mldsa-eddsa.c
273
ssh_mldsa44_ed25519_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-mldsa-eddsa.c
294
struct sshkey *key)
crypto/openssh/ssh-mldsa-eddsa.c
312
struct sshkey *key)
crypto/openssh/ssh-mldsa-eddsa.c
338
ssh_mldsa44_ed25519_generate(struct sshkey *k, int bits)
crypto/openssh/ssh-mldsa-eddsa.c
359
ssh_mldsa44_ed25519_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-mldsa-eddsa.c
371
ssh_mldsa44_ed25519_sign(struct sshkey *key,
crypto/openssh/ssh-mldsa-eddsa.c
421
ssh_mldsa44_ed25519_verify(const struct sshkey *key,
crypto/openssh/ssh-pkcs11-client.c
103
helper_add_key(struct helper *helper, struct sshkey *key)
crypto/openssh/ssh-pkcs11-client.c
227
pkcs11_sign(struct sshkey *key,
crypto/openssh/ssh-pkcs11-client.c
289
pkcs11_make_cert(const struct sshkey *priv,
crypto/openssh/ssh-pkcs11-client.c
290
const struct sshkey *certpub, struct sshkey **certprivp)
crypto/openssh/ssh-pkcs11-client.c
293
struct sshkey *ret;
crypto/openssh/ssh-pkcs11-client.c
383
pkcs11_add_provider(char *name, char *pin, struct sshkey ***keysp,
crypto/openssh/ssh-pkcs11-client.c
386
struct sshkey *k;
crypto/openssh/ssh-pkcs11-client.c
414
*keysp = xcalloc(nkeys, sizeof(struct sshkey *));
crypto/openssh/ssh-pkcs11-client.c
460
pkcs11_key_free(struct sshkey *key)
crypto/openssh/ssh-pkcs11-client.c
75
helper_by_key(const struct sshkey *key)
crypto/openssh/ssh-pkcs11-helper.c
109
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11-helper.c
64
struct sshkey **keys = NULL;
crypto/openssh/ssh-pkcs11.c
1089
static struct sshkey *
crypto/openssh/ssh-pkcs11.c
1097
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.c
1201
CK_OBJECT_HANDLE *obj, struct sshkey **keyp, char **labelp)
crypto/openssh/ssh-pkcs11.c
1212
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.c
1405
struct sshkey *key)
crypto/openssh/ssh-pkcs11.c
1427
struct sshkey ***keysp, char ***labelsp, int *nkeys)
crypto/openssh/ssh-pkcs11.c
1429
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.c
1502
*nkeys + 1, sizeof(struct sshkey *));
crypto/openssh/ssh-pkcs11.c
1533
struct sshkey ***keysp, char ***labelsp, int *nkeys)
crypto/openssh/ssh-pkcs11.c
1535
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.c
1623
*nkeys + 1, sizeof(struct sshkey *));
crypto/openssh/ssh-pkcs11.c
1650
static struct sshkey *
crypto/openssh/ssh-pkcs11.c
1770
static struct sshkey *
crypto/openssh/ssh-pkcs11.c
1850
struct sshkey ***keyp, char ***labelsp,
crypto/openssh/ssh-pkcs11.c
2045
pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp,
crypto/openssh/ssh-pkcs11.c
2067
pkcs11_sign(struct sshkey *key,
crypto/openssh/ssh-pkcs11.c
2096
pkcs11_key_free(struct sshkey *key)
crypto/openssh/ssh-pkcs11.c
2102
struct sshkey *
crypto/openssh/ssh-pkcs11.c
2110
struct sshkey *k = NULL;
crypto/openssh/ssh-pkcs11.c
2168
struct sshkey *
crypto/openssh/ssh-pkcs11.c
2174
struct sshkey *k = NULL;
crypto/openssh/ssh-pkcs11.c
2300
pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp,
crypto/openssh/ssh-pkcs11.c
2308
pkcs11_key_free(struct sshkey *key)
crypto/openssh/ssh-pkcs11.c
2314
pkcs11_sign(struct sshkey *key,
crypto/openssh/ssh-pkcs11.c
399
CK_ATTRIBUTE *keyid_attrib, struct sshkey *key)
crypto/openssh/ssh-pkcs11.c
447
pkcs11_lookup_key(struct sshkey *key)
crypto/openssh/ssh-pkcs11.c
537
pkcs11_sign_rsa(struct sshkey *key,
crypto/openssh/ssh-pkcs11.c
627
pkcs11_sign_ecdsa(struct sshkey *key,
crypto/openssh/ssh-pkcs11.c
713
pkcs11_sign_ed25519(struct sshkey *key,
crypto/openssh/ssh-pkcs11.c
841
pkcs11_key_included(struct sshkey ***keysp, int *nkeys, struct sshkey *key)
crypto/openssh/ssh-pkcs11.c
853
static struct sshkey *
crypto/openssh/ssh-pkcs11.c
864
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.c
988
static struct sshkey *
crypto/openssh/ssh-pkcs11.c
998
struct sshkey *key = NULL;
crypto/openssh/ssh-pkcs11.h
27
struct sshkey;
crypto/openssh/ssh-pkcs11.h
31
int pkcs11_add_provider(char *, char *, struct sshkey ***, char ***);
crypto/openssh/ssh-pkcs11.h
33
int pkcs11_sign(struct sshkey *, u_char **, size_t *,
crypto/openssh/ssh-pkcs11.h
36
void pkcs11_key_free(struct sshkey *);
crypto/openssh/ssh-pkcs11.h
39
struct sshkey *
crypto/openssh/ssh-pkcs11.h
42
struct sshkey *
crypto/openssh/ssh-pkcs11.h
48
int pkcs11_make_cert(const struct sshkey *,
crypto/openssh/ssh-pkcs11.h
49
const struct sshkey *, struct sshkey **);
crypto/openssh/ssh-rsa.c
119
ssh_rsa_generate(struct sshkey *k, int bits)
crypto/openssh/ssh-rsa.c
155
ssh_rsa_copy_public(const struct sshkey *from, struct sshkey *to)
crypto/openssh/ssh-rsa.c
194
struct sshkey *key)
crypto/openssh/ssh-rsa.c
233
struct sshkey *key)
crypto/openssh/ssh-rsa.c
38
ssh_rsa_size(const struct sshkey *k)
crypto/openssh/ssh-rsa.c
402
ssh_rsa_sign(struct sshkey *key,
crypto/openssh/ssh-rsa.c
46
ssh_rsa_alloc(struct sshkey *k)
crypto/openssh/ssh-rsa.c
494
ssh_rsa_verify(const struct sshkey *key,
crypto/openssh/ssh-rsa.c
54
ssh_rsa_cleanup(struct sshkey *k)
crypto/openssh/ssh-rsa.c
61
ssh_rsa_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/ssh-rsa.c
69
ssh_rsa_serialize_public(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-rsa.c
90
ssh_rsa_serialize_private(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/ssh-sk-client.c
248
sshsk_sign(const char *provider, struct sshkey *key,
crypto/openssh/ssh-sk-client.c
315
struct sshkey **keyp, struct sshbuf *attest)
crypto/openssh/ssh-sk-client.c
319
struct sshkey *key = NULL;
crypto/openssh/ssh-sk-client.c
420
struct sshkey *key = NULL;
crypto/openssh/ssh-sk-helper.c
103
pkcs11_key_free(struct sshkey *key)
crypto/openssh/ssh-sk-helper.c
112
struct sshkey *key = NULL;
crypto/openssh/ssh-sk-helper.c
173
struct sshkey *key;
crypto/openssh/ssh-sk-helper.c
93
pkcs11_sign(struct sshkey *key,
crypto/openssh/ssh-sk.c
205
sshsk_ecdsa_assemble(struct sk_enroll_response *resp, struct sshkey **keyp)
crypto/openssh/ssh-sk.c
207
struct sshkey *key = NULL;
crypto/openssh/ssh-sk.c
274
sshsk_ed25519_assemble(struct sk_enroll_response *resp, struct sshkey **keyp)
crypto/openssh/ssh-sk.c
276
struct sshkey *key = NULL;
crypto/openssh/ssh-sk.c
307
struct sk_enroll_response *resp, struct sshkey **keyp)
crypto/openssh/ssh-sk.c
309
struct sshkey *key = NULL;
crypto/openssh/ssh-sk.c
479
struct sshkey **keyp, struct sshbuf *attest)
crypto/openssh/ssh-sk.c
482
struct sshkey *key = NULL;
crypto/openssh/ssh-sk.c
650
sshsk_sign(const char *provider_path, struct sshkey *key,
crypto/openssh/ssh-sk.c
807
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.c
2352
struct sshkey *public;
crypto/openssh/ssh.c
2356
struct sshkey *identity_keys[SSH_MAX_IDENTITY_FILES];
crypto/openssh/ssh.c
2359
struct sshkey *certificates[SSH_MAX_CERTIFICATE_FILES];
crypto/openssh/ssh.c
2362
struct sshkey **keys = NULL;
crypto/openssh/ssh.c
518
check_load(int r, struct sshkey **k, const char *path, const char *message)
crypto/openssh/ssh_api.c
203
ssh_add_hostkey(struct ssh *ssh, struct sshkey *key)
crypto/openssh/ssh_api.c
205
struct sshkey *pubkey = NULL;
crypto/openssh/ssh_api.c
238
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
483
struct sshkey *
crypto/openssh/ssh_api.c
49
int _ssh_host_key_sign(struct ssh *, struct sshkey *, struct sshkey *,
crypto/openssh/ssh_api.c
498
struct sshkey *
crypto/openssh/ssh_api.c
514
_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
586
_ssh_host_key_sign(struct ssh *ssh, struct sshkey *privkey,
crypto/openssh/ssh_api.c
587
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
63
int ssh_add_hostkey(struct ssh *ssh, struct sshkey *key);
crypto/openssh/ssh_api.h
72
int (*cb)(struct sshkey *, struct ssh *));
crypto/openssh/sshconnect.c
1003
struct sshkey *raw_key = NULL;
crypto/openssh/sshconnect.c
1510
verify_host_key(char *host, struct sockaddr *hostaddr, struct sshkey *host_key,
crypto/openssh/sshconnect.c
1516
struct sshkey *plain = NULL;
crypto/openssh/sshconnect.c
1682
show_other_keys(struct hostkeys *hostkeys, struct sshkey *key)
crypto/openssh/sshconnect.c
1723
warn_changed_key(struct sshkey *host_key)
crypto/openssh/sshconnect.c
1786
maybe_add_key_to_agent(const char *authfile, struct sshkey *private,
crypto/openssh/sshconnect.c
59
struct sshkey *previous_host_key = NULL;
crypto/openssh/sshconnect.c
70
static int show_other_keys(struct hostkeys *, struct sshkey *);
crypto/openssh/sshconnect.c
71
static void warn_changed_key(struct sshkey *);
crypto/openssh/sshconnect.c
728
const struct sshkey *key;
crypto/openssh/sshconnect.c
764
hostkey_accepted_by_hostkeyalgs(const struct sshkey *key)
crypto/openssh/sshconnect.c
833
hostkeys_find_by_key(const char *host, const char *ip, const struct sshkey *key,
crypto/openssh/sshconnect.c
876
const struct sshkey *key,
crypto/openssh/sshconnect.c
912
const struct sshkey *host_key, const char *hostfile_hostname)
crypto/openssh/sshconnect.c
997
struct sshkey *host_key, int readonly, int clobber_port,
crypto/openssh/sshconnect.h
101
const struct sshkey *, const char *);
crypto/openssh/sshconnect.h
103
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
82
int verify_host_key(char *, struct sockaddr *, struct sshkey *,
crypto/openssh/sshconnect.h
96
void maybe_add_key_to_agent(const char *, struct sshkey *,
crypto/openssh/sshconnect2.c
1162
key_sig_algorithm(struct ssh *ssh, const struct sshkey *key)
crypto/openssh/sshconnect2.c
1214
struct sshkey *sign_key = NULL, *prv = NULL;
crypto/openssh/sshconnect2.c
1529
static struct sshkey *
crypto/openssh/sshconnect2.c
1532
struct sshkey *private = NULL;
crypto/openssh/sshconnect2.c
1609
key_type_allowed(struct sshkey *key, const char *allowlist)
crypto/openssh/sshconnect2.c
1635
key_type_allowed_by_config(struct sshkey *key)
crypto/openssh/sshconnect2.c
1684
struct sshkey *key;
crypto/openssh/sshconnect2.c
2028
ssh_keysign(struct ssh *ssh, struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/sshconnect2.c
2147
struct sshkey *private = NULL;
crypto/openssh/sshconnect2.c
308
struct sshkey *key; /* public/private key */
crypto/openssh/sshconnect2.c
383
static struct sshkey *load_identity_file(Identity *);
crypto/openssh/sshconnect2.c
687
struct sshkey *key = NULL;
crypto/openssh/sshconnect2.c
88
static int key_type_allowed(struct sshkey *, const char *);
crypto/openssh/sshconnect2.c
91
verify_host_key_callback(struct sshkey *hostkey, struct ssh *ssh)
crypto/openssh/sshd-auth.c
135
struct sshkey **host_pubkeys; /* all public host keys */
crypto/openssh/sshd-auth.c
136
struct sshkey **host_certificates; /* all public host certificates */
crypto/openssh/sshd-auth.c
235
struct sshkey *key;
crypto/openssh/sshd-auth.c
287
struct sshkey *
crypto/openssh/sshd-auth.c
291
struct sshkey *key;
crypto/openssh/sshd-auth.c
325
struct sshkey *
crypto/openssh/sshd-auth.c
332
struct sshkey *
crypto/openssh/sshd-auth.c
338
struct sshkey *
crypto/openssh/sshd-auth.c
347
get_hostkey_index(struct sshkey *key, int compare, struct ssh *ssh)
crypto/openssh/sshd-auth.c
384
struct sshkey *k;
crypto/openssh/sshd-auth.c
749
sshd_hostkey_sign(struct ssh *ssh, struct sshkey *privkey,
crypto/openssh/sshd-auth.c
750
struct sshkey *pubkey, u_char **signature, size_t *slenp,
crypto/openssh/sshd-session.c
1333
sshd_hostkey_sign(struct ssh *ssh, struct sshkey *privkey,
crypto/openssh/sshd-session.c
1334
struct sshkey *pubkey, u_char **signature, size_t *slenp,
crypto/openssh/sshd-session.c
150
struct sshkey **host_keys; /* all private host keys */
crypto/openssh/sshd-session.c
151
struct sshkey **host_pubkeys; /* all public host keys */
crypto/openssh/sshd-session.c
152
struct sshkey **host_certificates; /* all public host certificates */
crypto/openssh/sshd-session.c
249
struct sshkey *tmp;
crypto/openssh/sshd-session.c
430
static struct sshkey *
crypto/openssh/sshd-session.c
434
struct sshkey *key;
crypto/openssh/sshd-session.c
470
struct sshkey *
crypto/openssh/sshd-session.c
476
struct sshkey *
crypto/openssh/sshd-session.c
482
struct sshkey *
crypto/openssh/sshd-session.c
490
struct sshkey *
crypto/openssh/sshd-session.c
499
get_hostkey_index(struct sshkey *key, int compare, struct ssh *ssh)
crypto/openssh/sshd-session.c
529
struct sshkey *key;
crypto/openssh/sshd-session.c
592
struct sshkey *k;
crypto/openssh/sshd.c
1291
struct sshkey *key)
crypto/openssh/sshd.c
1364
struct sshkey *key;
crypto/openssh/sshd.c
1365
struct sshkey *pubkey;
crypto/openssh/sshd.c
141
struct sshkey **host_keys; /* all private host keys */
crypto/openssh/sshd.c
142
struct sshkey **host_pubkeys; /* all public host keys */
crypto/openssh/sshd.c
143
struct sshkey **host_certificates; /* all public host certificates */
crypto/openssh/sshd.c
1635
sizeof(struct sshkey *));
crypto/openssh/sshd.c
1637
sizeof(struct sshkey *));
crypto/openssh/sshd.c
1745
sizeof(struct sshkey *));
crypto/openssh/sshkey.c
1153
const struct sshkey *k)
crypto/openssh/sshkey.c
1249
sshkey_fingerprint(const struct sshkey *k, int dgst_alg,
crypto/openssh/sshkey.c
1313
sshkey_read(struct sshkey *ret, char **cpp)
crypto/openssh/sshkey.c
1315
struct sshkey *k;
crypto/openssh/sshkey.c
1387
sshkey_to_base64(const struct sshkey *key, char **b64p)
crypto/openssh/sshkey.c
1416
sshkey_format_text(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
1433
sshkey_write(const struct sshkey *key, FILE *f)
crypto/openssh/sshkey.c
1456
sshkey_cert_type(const struct sshkey *k)
crypto/openssh/sshkey.c
1469
sshkey_check_rsa_length(const struct sshkey *k, int min_size)
crypto/openssh/sshkey.c
1507
sshkey_generate(int type, u_int bits, struct sshkey **keyp)
crypto/openssh/sshkey.c
1509
struct sshkey *k;
crypto/openssh/sshkey.c
1533
sshkey_cert_copy(const struct sshkey *from_key, struct sshkey *to_key)
crypto/openssh/sshkey.c
1603
sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to)
crypto/openssh/sshkey.c
1612
sshkey_from_private(const struct sshkey *k, struct sshkey **pkp)
crypto/openssh/sshkey.c
1614
struct sshkey *n = NULL;
crypto/openssh/sshkey.c
1639
sshkey_is_shielded(struct sshkey *k)
crypto/openssh/sshkey.c
1645
sshkey_shield_private(struct sshkey *k)
crypto/openssh/sshkey.c
1652
struct sshkey *kswap = NULL, tmp;
crypto/openssh/sshkey.c
1779
sshkey_unshield_private(struct sshkey *k)
crypto/openssh/sshkey.c
1785
struct sshkey *kswap = NULL, tmp;
crypto/openssh/sshkey.c
186
sshkey_impl_from_key(const struct sshkey *k)
crypto/openssh/sshkey.c
1868
cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf)
crypto/openssh/sshkey.c
194
sshkey_type(const struct sshkey *k)
crypto/openssh/sshkey.c
1994
sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key)
crypto/openssh/sshkey.c
2003
sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp,
crypto/openssh/sshkey.c
2008
struct sshkey *key = NULL;
crypto/openssh/sshkey.c
2070
sshkey_from_blob(const u_char *blob, size_t blen, struct sshkey **keyp)
crypto/openssh/sshkey.c
2083
sshkey_fromb(struct sshbuf *b, struct sshkey **keyp)
crypto/openssh/sshkey.c
2089
sshkey_froms(struct sshbuf *buf, struct sshkey **keyp)
crypto/openssh/sshkey.c
2134
sshkey_check_cert_sigtype(const struct sshkey *key, const char *allowed)
crypto/openssh/sshkey.c
2194
sshkey_sign(struct sshkey *key,
crypto/openssh/sshkey.c
2237
sshkey_verify(const struct sshkey *key,
crypto/openssh/sshkey.c
224
sshkey_ssh_name(const struct sshkey *k)
crypto/openssh/sshkey.c
2256
sshkey_to_certified(struct sshkey *k)
crypto/openssh/sshkey.c
2270
sshkey_drop_cert(struct sshkey *k)
crypto/openssh/sshkey.c
2282
sshkey_certify_custom(struct sshkey *k, struct sshkey *ca, const char *alg,
crypto/openssh/sshkey.c
230
sshkey_ssh_name_plain(const struct sshkey *k)
crypto/openssh/sshkey.c
2393
default_key_sign(struct sshkey *key, u_char **sigp, size_t *lenp,
crypto/openssh/sshkey.c
2405
sshkey_certify(struct sshkey *k, struct sshkey *ca, const char *alg,
crypto/openssh/sshkey.c
2413
sshkey_cert_check_authority(const struct sshkey *k,
crypto/openssh/sshkey.c
2472
sshkey_cert_check_authority_now(const struct sshkey *k,
crypto/openssh/sshkey.c
2488
sshkey_cert_check_host(const struct sshkey *key, const char *host,
crypto/openssh/sshkey.c
2534
sshkey_serialize_private_sk(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
2548
sshkey_private_serialize_opt(struct sshkey *key, struct sshbuf *buf,
crypto/openssh/sshkey.c
2592
sshkey_private_serialize(struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
2601
sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k)
crypto/openssh/sshkey.c
2618
sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp)
crypto/openssh/sshkey.c
2624
struct sshkey *k = NULL;
crypto/openssh/sshkey.c
2832
sshkey_private_to_blob2(struct sshkey *prv, struct sshbuf *blob,
crypto/openssh/sshkey.c
3033
struct sshbuf **decryptedp, struct sshkey **pubkeyp)
crypto/openssh/sshkey.c
3041
struct sshkey *pubkey = NULL;
crypto/openssh/sshkey.c
3180
struct sshkey **keyp, char **commentp)
crypto/openssh/sshkey.c
3185
struct sshkey *k = NULL, *pubkey = NULL;
crypto/openssh/sshkey.c
3240
struct sshkey **keyp)
crypto/openssh/sshkey.c
3244
struct sshkey *pubkey = NULL;
crypto/openssh/sshkey.c
3291
sshkey_private_to_blob_pem_pkcs8(struct sshkey *key, struct sshbuf *buf,
crypto/openssh/sshkey.c
3390
sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
crypto/openssh/sshkey.c
3515
const char *passphrase, struct sshkey **keyp)
crypto/openssh/sshkey.c
3518
struct sshkey *prv = NULL;
crypto/openssh/sshkey.c
3660
const char *passphrase, struct sshkey **keyp, char **commentp)
crypto/openssh/sshkey.c
3683
struct sshkey **keyp, char **commentp)
crypto/openssh/sshkey.c
3702
struct sshkey **pubkeyp)
crypto/openssh/sshkey.c
393
sshkey_size(const struct sshkey *k)
crypto/openssh/sshkey.c
416
sshkey_is_cert(const struct sshkey *k)
crypto/openssh/sshkey.c
424
sshkey_is_sk(const struct sshkey *k)
crypto/openssh/sshkey.c
698
struct sshkey *
crypto/openssh/sshkey.c
701
struct sshkey *k;
crypto/openssh/sshkey.c
731
sshkey_sk_cleanup(struct sshkey *k)
crypto/openssh/sshkey.c
781
sshkey_free_contents(struct sshkey *k)
crypto/openssh/sshkey.c
799
sshkey_free(struct sshkey *k)
crypto/openssh/sshkey.c
822
sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/sshkey.c
836
sshkey_equal_public(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/sshkey.c
849
sshkey_equal(const struct sshkey *a, const struct sshkey *b)
crypto/openssh/sshkey.c
86
struct sshkey **keyp, int allow_cert);
crypto/openssh/sshkey.c
863
sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
874
to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain,
crypto/openssh/sshkey.c
906
sshkey_putb(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
912
sshkey_puts_opts_internal(const struct sshkey *key, struct sshbuf *b,
crypto/openssh/sshkey.c
928
sshkey_puts(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
934
sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
940
sshkey_puts_plain(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
946
to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain,
crypto/openssh/sshkey.c
978
sshkey_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp)
crypto/openssh/sshkey.c
984
sshkey_plain_to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp)
crypto/openssh/sshkey.c
990
sshkey_fingerprint_raw(const struct sshkey *k, int dgst_alg,
crypto/openssh/sshkey.h
114
struct sshkey *signature_key;
crypto/openssh/sshkey.h
156
u_int (*size)(const struct sshkey *); /* optional */
crypto/openssh/sshkey.h
157
int (*alloc)(struct sshkey *); /* optional */
crypto/openssh/sshkey.h
158
void (*cleanup)(struct sshkey *); /* optional */
crypto/openssh/sshkey.h
159
int (*equal)(const struct sshkey *, const struct sshkey *);
crypto/openssh/sshkey.h
160
int (*serialize_public)(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey.h
163
struct sshkey *);
crypto/openssh/sshkey.h
164
int (*serialize_private)(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey.h
167
struct sshkey *);
crypto/openssh/sshkey.h
168
int (*generate)(struct sshkey *, int); /* optional */
crypto/openssh/sshkey.h
169
int (*copy_public)(const struct sshkey *, struct sshkey *);
crypto/openssh/sshkey.h
170
int (*sign)(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshkey.h
173
int (*verify)(const struct sshkey *, const u_char *, size_t,
crypto/openssh/sshkey.h
190
struct sshkey *sshkey_new(int);
crypto/openssh/sshkey.h
191
void sshkey_free(struct sshkey *);
crypto/openssh/sshkey.h
192
int sshkey_equal_public(const struct sshkey *,
crypto/openssh/sshkey.h
193
const struct sshkey *);
crypto/openssh/sshkey.h
194
int sshkey_equal(const struct sshkey *, const struct sshkey *);
crypto/openssh/sshkey.h
195
char *sshkey_fingerprint(const struct sshkey *,
crypto/openssh/sshkey.h
197
int sshkey_fingerprint_raw(const struct sshkey *k,
crypto/openssh/sshkey.h
199
const char *sshkey_type(const struct sshkey *);
crypto/openssh/sshkey.h
200
const char *sshkey_cert_type(const struct sshkey *);
crypto/openssh/sshkey.h
201
int sshkey_format_text(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey.h
202
int sshkey_write(const struct sshkey *, FILE *);
crypto/openssh/sshkey.h
203
int sshkey_read(struct sshkey *, char **);
crypto/openssh/sshkey.h
204
u_int sshkey_size(const struct sshkey *);
crypto/openssh/sshkey.h
206
int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
crypto/openssh/sshkey.h
207
int sshkey_from_private(const struct sshkey *, struct sshkey **);
crypto/openssh/sshkey.h
209
int sshkey_is_shielded(struct sshkey *);
crypto/openssh/sshkey.h
210
int sshkey_shield_private(struct sshkey *);
crypto/openssh/sshkey.h
211
int sshkey_unshield_private(struct sshkey *);
crypto/openssh/sshkey.h
215
int sshkey_is_cert(const struct sshkey *);
crypto/openssh/sshkey.h
216
int sshkey_is_sk(const struct sshkey *);
crypto/openssh/sshkey.h
223
int sshkey_to_certified(struct sshkey *);
crypto/openssh/sshkey.h
224
int sshkey_drop_cert(struct sshkey *);
crypto/openssh/sshkey.h
225
int sshkey_cert_copy(const struct sshkey *, struct sshkey *);
crypto/openssh/sshkey.h
226
int sshkey_cert_check_authority(const struct sshkey *, int, int,
crypto/openssh/sshkey.h
228
int sshkey_cert_check_authority_now(const struct sshkey *, int, int,
crypto/openssh/sshkey.h
230
int sshkey_cert_check_host(const struct sshkey *, const char *,
crypto/openssh/sshkey.h
234
int sshkey_check_cert_sigtype(const struct sshkey *, const char *);
crypto/openssh/sshkey.h
236
int sshkey_certify(struct sshkey *, struct sshkey *,
crypto/openssh/sshkey.h
239
typedef int sshkey_certify_signer(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshkey.h
242
int sshkey_certify_custom(struct sshkey *, struct sshkey *, const char *,
crypto/openssh/sshkey.h
255
const char *sshkey_ssh_name(const struct sshkey *);
crypto/openssh/sshkey.h
256
const char *sshkey_ssh_name_plain(const struct sshkey *);
crypto/openssh/sshkey.h
260
int sshkey_from_blob(const u_char *, size_t, struct sshkey **);
crypto/openssh/sshkey.h
261
int sshkey_fromb(struct sshbuf *, struct sshkey **);
crypto/openssh/sshkey.h
262
int sshkey_froms(struct sshbuf *, struct sshkey **);
crypto/openssh/sshkey.h
263
int sshkey_to_blob(const struct sshkey *, u_char **, size_t *);
crypto/openssh/sshkey.h
264
int sshkey_to_base64(const struct sshkey *, char **);
crypto/openssh/sshkey.h
265
int sshkey_putb(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey.h
266
int sshkey_puts(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey.h
267
int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);
crypto/openssh/sshkey.h
268
int sshkey_putb_plain(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey.h
269
int sshkey_puts_plain(const struct sshkey *, struct sshbuf *);
crypto/openssh/sshkey.h
271
int sshkey_sign(struct sshkey *, u_char **, size_t *,
crypto/openssh/sshkey.h
273
int sshkey_verify(const struct sshkey *, const u_char *, size_t,
crypto/openssh/sshkey.h
290
int sshkey_private_serialize(struct sshkey *key, struct sshbuf *buf);
crypto/openssh/sshkey.h
291
int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **keyp);
crypto/openssh/sshkey.h
294
int sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
crypto/openssh/sshkey.h
298
const char *passphrase, struct sshkey **keyp, char **commentp);
crypto/openssh/sshkey.h
300
const char *passphrase, struct sshkey **keyp, char **commentp);
crypto/openssh/sshkey.h
302
int type, struct sshkey **pubkeyp);
crypto/openssh/sshkey.h
304
int sshkey_check_rsa_length(const struct sshkey *, int);
crypto/openssh/sshkey.h
309
int ssh_ecdsa_encode_store_sig(const struct sshkey *,
crypto/openssh/sshkey.h
324
int sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b);
crypto/openssh/sshkey.h
325
void sshkey_sk_cleanup(struct sshkey *k);
crypto/openssh/sshkey.h
326
int sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b);
crypto/openssh/sshkey.h
327
int sshkey_copy_public_sk(const struct sshkey *from, struct sshkey *to);
crypto/openssh/sshkey.h
328
int sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key);
crypto/openssh/sshkey.h
329
int sshkey_serialize_private_sk(const struct sshkey *key,
crypto/openssh/sshkey.h
331
int sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k);
crypto/openssh/sshsig.c
1031
sshsig_find_principals(const char *path, const struct sshkey *sign_key,
crypto/openssh/sshsig.c
1149
sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey)
crypto/openssh/sshsig.c
1151
struct sshkey *pk = NULL;
crypto/openssh/sshsig.c
164
sshsig_wrap_sign(struct sshkey *key, const char *hashalg,
crypto/openssh/sshsig.c
307
struct sshkey **sign_keyp, struct sshkey_sig_details **sig_details)
crypto/openssh/sshsig.c
311
struct sshkey *key = NULL;
crypto/openssh/sshsig.c
448
sshsig_signb(struct sshkey *key, const char *hashalg,
crypto/openssh/sshsig.c
476
const char *expect_namespace, struct sshkey **sign_keyp,
crypto/openssh/sshsig.c
576
sshsig_sign_fd(struct sshkey *key, const char *hashalg,
crypto/openssh/sshsig.c
604
const char *expect_namespace, struct sshkey **sign_keyp,
crypto/openssh/sshsig.c
737
const char *required_principal, char **principalsp, struct sshkey **keyp,
crypto/openssh/sshsig.c
743
struct sshkey *key = NULL;
crypto/openssh/sshsig.c
839
char **principalsp, const struct sshkey *cert, uint64_t verify_time)
crypto/openssh/sshsig.c
896
const struct sshkey *sign_key, const char *principal,
crypto/openssh/sshsig.c
899
struct sshkey *found_key = NULL;
crypto/openssh/sshsig.c
990
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);
lib/libpam/modules/pam_ssh/pam_ssh.c
102
struct sshkey *key;
lib/libpam/modules/pam_ssh/pam_ssh.c
70
struct sshkey *key;