Symbol: sshbuf
crypto/openssh/auth-options.c
704
serialise_array(struct sshbuf *m, char **a, size_t n)
crypto/openssh/auth-options.c
706
struct sshbuf *b;
crypto/openssh/auth-options.c
731
deserialise_array(struct sshbuf *m, char ***ap, size_t *np)
crypto/openssh/auth-options.c
735
struct sshbuf *b = NULL;
crypto/openssh/auth-options.c
74
cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob,
crypto/openssh/auth-options.c
772
serialise_nullable_string(struct sshbuf *m, const char *s)
crypto/openssh/auth-options.c
783
deserialise_nullable_string(struct sshbuf *m, char **sp)
crypto/openssh/auth-options.c
79
struct sshbuf *c = NULL, *data = NULL;
crypto/openssh/auth-options.c
796
sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m,
crypto/openssh/auth-options.c
848
sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **optsp)
crypto/openssh/auth-options.h
85
int sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m, int);
crypto/openssh/auth-options.h
86
int sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **opts);
crypto/openssh/auth-pam.c
106
extern struct sshbuf *loginmsg;
crypto/openssh/auth-pam.c
310
import_environments(struct sshbuf *b)
crypto/openssh/auth-pam.c
376
struct sshbuf *buffer;
crypto/openssh/auth-pam.c
490
struct sshbuf *buffer = NULL;
crypto/openssh/auth-pam.c
856
struct sshbuf *buffer;
crypto/openssh/auth-pam.c
964
struct sshbuf *buffer;
crypto/openssh/auth-passwd.c
59
extern struct sshbuf *loginmsg;
crypto/openssh/auth-shadow.c
44
extern struct sshbuf *loginmsg;
crypto/openssh/auth.c
81
extern struct sshbuf *loginmsg;
crypto/openssh/auth.c
86
static struct sshbuf *auth_debug;
crypto/openssh/auth.h
46
struct sshbuf;
crypto/openssh/auth.h
86
struct sshbuf *loginmsg;
crypto/openssh/auth.h
97
struct sshbuf *session_info; /* Auth info for environment */
crypto/openssh/auth2-chall.c
104
struct sshbuf *b;
crypto/openssh/auth2-gss.c
285
struct sshbuf *b;
crypto/openssh/auth2-hostbased.c
63
struct sshbuf *b;
crypto/openssh/auth2-pubkey.c
124
struct sshbuf *pkbuf;
crypto/openssh/auth2-pubkey.c
92
struct sshbuf *b = NULL;
crypto/openssh/auth2.c
500
struct sshbuf *b;
crypto/openssh/auth2.c
64
extern struct sshbuf *loginmsg;
crypto/openssh/authfd.c
137
ssh_request_reply(int sock, struct sshbuf *request, struct sshbuf *reply)
crypto/openssh/authfd.c
181
ssh_request_reply_decode(int sock, struct sshbuf *request)
crypto/openssh/authfd.c
183
struct sshbuf *reply;
crypto/openssh/authfd.c
218
struct sshbuf *msg;
crypto/openssh/authfd.c
235
deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp)
crypto/openssh/authfd.c
265
struct sshbuf *msg;
crypto/openssh/authfd.c
407
struct sshbuf *msg;
crypto/openssh/authfd.c
464
encode_dest_constraint_hop(struct sshbuf *m,
crypto/openssh/authfd.c
467
struct sshbuf *b;
crypto/openssh/authfd.c
492
encode_dest_constraint(struct sshbuf *m, const struct dest_constraint *dc)
crypto/openssh/authfd.c
494
struct sshbuf *b;
crypto/openssh/authfd.c
513
encode_constraints(struct sshbuf *m, u_int life, u_int confirm,
crypto/openssh/authfd.c
519
struct sshbuf *b = NULL;
crypto/openssh/authfd.c
593
struct sshbuf *msg;
crypto/openssh/authfd.c
647
struct sshbuf *msg;
crypto/openssh/authfd.c
687
struct sshbuf *msg;
crypto/openssh/authfd.c
729
struct sshbuf *msg;
crypto/openssh/authfd.c
751
const struct sshbuf *session_id, const struct sshbuf *signature,
crypto/openssh/authfd.c
754
struct sshbuf *msg;
crypto/openssh/authfd.c
781
struct sshbuf *msg;
crypto/openssh/authfd.h
19
struct sshbuf;
crypto/openssh/authfd.h
67
const struct sshbuf *session_id, const struct sshbuf *signature,
crypto/openssh/authfile.c
145
struct sshbuf *buffer = NULL;
crypto/openssh/authfile.c
166
struct sshbuf *buffer = NULL;
crypto/openssh/authfile.c
48
sshkey_save_private_blob(struct sshbuf *keybuf, const char *filename)
crypto/openssh/authfile.c
64
struct sshbuf *keyblob = NULL;
crypto/openssh/authfile.h
30
struct sshbuf;
crypto/openssh/channels.c
1095
struct sshbuf *buf;
crypto/openssh/channels.c
1377
x11_open_helper(struct ssh *ssh, struct sshbuf *b)
crypto/openssh/channels.c
1531
channel_decode_socks4(Channel *c, struct sshbuf *input, struct sshbuf *output)
crypto/openssh/channels.c
1537
struct sshbuf *b = NULL;
crypto/openssh/channels.c
1621
channel_socks5_check_auth(Channel *c, struct sshbuf *b, struct sshbuf *input,
crypto/openssh/channels.c
1622
struct sshbuf *output)
crypto/openssh/channels.c
1660
channel_decode_socks5(Channel *c, struct sshbuf *input, struct sshbuf *output)
crypto/openssh/channels.c
1667
struct sshbuf *b = NULL;
crypto/openssh/channels.c
3225
struct sshbuf *original = NULL, *modified = NULL;
crypto/openssh/channels.c
3377
struct sshbuf *b = NULL;
crypto/openssh/channels.h
164
struct sshbuf *input; /* data read from socket, to be sent over
crypto/openssh/channels.h
166
struct sshbuf *output; /* data received over encrypted connection for
crypto/openssh/channels.h
168
struct sshbuf *extended;
crypto/openssh/clientloop.c
1135
print_escape_help(struct sshbuf *b, int escape_char, int mux_client,
crypto/openssh/clientloop.c
1171
struct sshbuf *bin, struct sshbuf *bout, struct sshbuf *berr,
crypto/openssh/clientloop.c
1724
struct sshbuf *b = NULL;
crypto/openssh/clientloop.c
2368
struct sshbuf *signdata;
crypto/openssh/clientloop.c
2472
struct sshbuf *buf = NULL;
crypto/openssh/clientloop.c
2715
const char *term, struct termios *tiop, int in_fd, struct sshbuf *cmd,
crypto/openssh/clientloop.c
763
client_suspend_self(struct sshbuf *bin, struct sshbuf *bout, struct sshbuf *berr)
crypto/openssh/clientloop.h
47
const char *, struct termios *, int, struct sshbuf *, char **);
crypto/openssh/digest-libc.c
212
ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b)
crypto/openssh/digest-libc.c
263
ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
crypto/openssh/digest-openssl.c
153
ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b)
crypto/openssh/digest-openssl.c
203
ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
crypto/openssh/digest.h
32
struct sshbuf;
crypto/openssh/digest.h
56
int ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
crypto/openssh/digest.h
64
const struct sshbuf *b);
crypto/openssh/entropy.h
28
struct sshbuf;
crypto/openssh/gss-genr.c
111
struct sshbuf *b;
crypto/openssh/gss-genr.c
259
ssh_gssapi_buildmic(struct sshbuf *b, const char *user, const char *service,
crypto/openssh/gss-genr.c
260
const char *context, const struct sshbuf *session_id)
crypto/openssh/gss-genr.c
50
ssh_gssapi_get_buffer_desc(struct sshbuf *b, gss_buffer_desc *g)
crypto/openssh/hmac.c
100
ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b)
crypto/openssh/hmac.h
24
struct sshbuf;
crypto/openssh/hmac.h
33
int ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b);
crypto/openssh/hostfile.c
437
format_host_entry(struct sshbuf *entry, const char *host, const char *ip,
crypto/openssh/hostfile.c
481
struct sshbuf *entry = NULL;
crypto/openssh/kex.c
1070
const struct sshbuf *shared_secret, u_char **keyp)
crypto/openssh/kex.c
1135
const struct sshbuf *shared_secret)
crypto/openssh/kex.c
1252
struct sshbuf *our_version = ssh->kex->server ?
crypto/openssh/kex.c
1254
struct sshbuf *peer_version = ssh->kex->server ?
crypto/openssh/kex.c
146
kex_prop2buf(struct sshbuf *b, char *proposal[PROPOSAL_MAX])
crypto/openssh/kex.c
173
kex_buf2prop(struct sshbuf *raw, int *first_kex_follows, char ***propp)
crypto/openssh/kex.c
175
struct sshbuf *b = NULL;
crypto/openssh/kex.c
293
kex_compose_ext_info_server(struct ssh *ssh, struct sshbuf *m)
crypto/openssh/kex.c
317
kex_compose_ext_info_client(struct ssh *ssh, struct sshbuf *m)
crypto/openssh/kex.c
337
struct sshbuf *m = NULL;
crypto/openssh/kex.h
146
struct sshbuf;
crypto/openssh/kex.h
163
struct sshbuf *my;
crypto/openssh/kex.h
164
struct sshbuf *peer;
crypto/openssh/kex.h
165
struct sshbuf *client_version;
crypto/openssh/kex.h
166
struct sshbuf *server_version;
crypto/openssh/kex.h
167
struct sshbuf *session_id;
crypto/openssh/kex.h
168
struct sshbuf *initial_sig;
crypto/openssh/kex.h
191
struct sshbuf *client_pub;
crypto/openssh/kex.h
216
int kex_buf2prop(struct sshbuf *, int *, char ***);
crypto/openssh/kex.h
217
int kex_prop2buf(struct sshbuf *, char *proposal[PROPOSAL_MAX]);
crypto/openssh/kex.h
226
int kex_derive_keys(struct ssh *, u_char *, u_int, const struct sshbuf *);
crypto/openssh/kex.h
238
int kex_dh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
crypto/openssh/kex.h
239
struct sshbuf **);
crypto/openssh/kex.h
240
int kex_dh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
crypto/openssh/kex.h
243
int kex_ecdh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
crypto/openssh/kex.h
244
struct sshbuf **);
crypto/openssh/kex.h
245
int kex_ecdh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
crypto/openssh/kex.h
248
int kex_c25519_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
crypto/openssh/kex.h
249
struct sshbuf **);
crypto/openssh/kex.h
250
int kex_c25519_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
crypto/openssh/kex.h
253
int kex_kem_sntrup761x25519_enc(struct kex *, const struct sshbuf *,
crypto/openssh/kex.h
254
struct sshbuf **, struct sshbuf **);
crypto/openssh/kex.h
255
int kex_kem_sntrup761x25519_dec(struct kex *, const struct sshbuf *,
crypto/openssh/kex.h
256
struct sshbuf **);
crypto/openssh/kex.h
259
int kex_kem_mlkem768x25519_enc(struct kex *, const struct sshbuf *,
crypto/openssh/kex.h
260
struct sshbuf **, struct sshbuf **);
crypto/openssh/kex.h
261
int kex_kem_mlkem768x25519_dec(struct kex *, const struct sshbuf *,
crypto/openssh/kex.h
262
struct sshbuf **);
crypto/openssh/kex.h
265
int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *);
crypto/openssh/kex.h
267
int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *,
crypto/openssh/kex.h
268
const struct sshbuf *, const struct sshbuf *, const struct sshbuf *,
crypto/openssh/kex.h
278
const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
crypto/openssh/kex.h
282
const u_char pub[CURVE25519_SIZE], struct sshbuf *out, int)
crypto/openssh/kexc25519.c
114
kex_c25519_enc(struct kex *kex, const struct sshbuf *client_blob,
crypto/openssh/kexc25519.c
115
struct sshbuf **server_blobp, struct sshbuf **shared_secretp)
crypto/openssh/kexc25519.c
117
struct sshbuf *server_blob = NULL;
crypto/openssh/kexc25519.c
118
struct sshbuf *buf = NULL;
crypto/openssh/kexc25519.c
166
kex_c25519_dec(struct kex *kex, const struct sshbuf *server_blob,
crypto/openssh/kexc25519.c
167
struct sshbuf **shared_secretp)
crypto/openssh/kexc25519.c
169
struct sshbuf *buf = NULL;
crypto/openssh/kexc25519.c
60
const u_char pub[CURVE25519_SIZE], struct sshbuf *out, int raw)
crypto/openssh/kexc25519.c
86
const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
crypto/openssh/kexc25519.c
94
struct sshbuf *buf = NULL;
crypto/openssh/kexdh.c
116
struct sshbuf *buf = NULL;
crypto/openssh/kexdh.c
141
kex_dh_enc(struct kex *kex, const struct sshbuf *client_blob,
crypto/openssh/kexdh.c
142
struct sshbuf **server_blobp, struct sshbuf **shared_secretp)
crypto/openssh/kexdh.c
145
struct sshbuf *server_blob = NULL;
crypto/openssh/kexdh.c
173
kex_dh_dec(struct kex *kex, const struct sshbuf *dh_blob,
crypto/openssh/kexdh.c
174
struct sshbuf **shared_secretp)
crypto/openssh/kexdh.c
176
struct sshbuf *buf = NULL;
crypto/openssh/kexdh.c
71
kex_dh_compute_key(struct kex *kex, BIGNUM *dh_pub, struct sshbuf *out)
crypto/openssh/kexecdh.c
137
kex_ecdh_dec_key_group(struct kex *kex, const struct sshbuf *ec_blob,
crypto/openssh/kexecdh.c
138
EC_KEY *key, const EC_GROUP *group, struct sshbuf **shared_secretp)
crypto/openssh/kexecdh.c
140
struct sshbuf *buf = NULL;
crypto/openssh/kexecdh.c
199
kex_ecdh_dec(struct kex *kex, const struct sshbuf *server_blob,
crypto/openssh/kexecdh.c
200
struct sshbuf **shared_secretp)
crypto/openssh/kexecdh.c
216
struct sshbuf;
crypto/openssh/kexecdh.c
226
kex_ecdh_enc(struct kex *kex, const struct sshbuf *client_blob,
crypto/openssh/kexecdh.c
227
struct sshbuf **server_blobp, struct sshbuf **shared_secretp)
crypto/openssh/kexecdh.c
233
kex_ecdh_dec(struct kex *kex, const struct sshbuf *server_blob,
crypto/openssh/kexecdh.c
234
struct sshbuf **shared_secretp)
crypto/openssh/kexecdh.c
45
kex_ecdh_dec_key_group(struct kex *, const struct sshbuf *, EC_KEY *key,
crypto/openssh/kexecdh.c
46
const EC_GROUP *, struct sshbuf **);
crypto/openssh/kexecdh.c
54
struct sshbuf *buf = NULL;
crypto/openssh/kexecdh.c
91
kex_ecdh_enc(struct kex *kex, const struct sshbuf *client_blob,
crypto/openssh/kexecdh.c
92
struct sshbuf **server_blobp, struct sshbuf **shared_secretp)
crypto/openssh/kexecdh.c
97
struct sshbuf *server_blob = NULL;
crypto/openssh/kexgen.c
146
struct sshbuf *shared_secret = NULL;
crypto/openssh/kexgen.c
147
struct sshbuf *server_blob = NULL;
crypto/openssh/kexgen.c
148
struct sshbuf *tmp = NULL, *server_host_key_blob = NULL;
crypto/openssh/kexgen.c
279
struct sshbuf *shared_secret = NULL;
crypto/openssh/kexgen.c
280
struct sshbuf *server_pubkey = NULL;
crypto/openssh/kexgen.c
281
struct sshbuf *client_pubkey = NULL;
crypto/openssh/kexgen.c
282
struct sshbuf *server_host_key_blob = NULL;
crypto/openssh/kexgen.c
50
const struct sshbuf *client_version,
crypto/openssh/kexgen.c
51
const struct sshbuf *server_version,
crypto/openssh/kexgen.c
52
const struct sshbuf *client_kexinit,
crypto/openssh/kexgen.c
53
const struct sshbuf *server_kexinit,
crypto/openssh/kexgen.c
54
const struct sshbuf *server_host_key_blob,
crypto/openssh/kexgen.c
55
const struct sshbuf *client_pub,
crypto/openssh/kexgen.c
56
const struct sshbuf *server_pub,
crypto/openssh/kexgen.c
57
const struct sshbuf *shared_secret,
crypto/openssh/kexgen.c
60
struct sshbuf *b;
crypto/openssh/kexgex.c
49
const struct sshbuf *client_version,
crypto/openssh/kexgex.c
50
const struct sshbuf *server_version,
crypto/openssh/kexgex.c
51
const struct sshbuf *client_kexinit,
crypto/openssh/kexgex.c
52
const struct sshbuf *server_kexinit,
crypto/openssh/kexgex.c
53
const struct sshbuf *server_host_key_blob,
crypto/openssh/kexgex.c
62
struct sshbuf *b;
crypto/openssh/kexgexc.c
149
struct sshbuf *shared_secret = NULL;
crypto/openssh/kexgexc.c
150
struct sshbuf *tmp = NULL, *server_host_key_blob = NULL;
crypto/openssh/kexgexs.c
131
struct sshbuf *shared_secret = NULL;
crypto/openssh/kexgexs.c
132
struct sshbuf *server_host_key_blob = NULL;
crypto/openssh/kexmlkem768x25519.c
177
const struct sshbuf *server_blob, struct sshbuf **shared_secretp)
crypto/openssh/kexmlkem768x25519.c
179
struct sshbuf *buf = NULL;
crypto/openssh/kexmlkem768x25519.c
249
const struct sshbuf *client_blob, struct sshbuf **server_blobp,
crypto/openssh/kexmlkem768x25519.c
250
struct sshbuf **shared_secretp)
crypto/openssh/kexmlkem768x25519.c
257
const struct sshbuf *server_blob, struct sshbuf **shared_secretp)
crypto/openssh/kexmlkem768x25519.c
51
struct sshbuf *buf = NULL;
crypto/openssh/kexmlkem768x25519.c
85
const struct sshbuf *client_blob, struct sshbuf **server_blobp,
crypto/openssh/kexmlkem768x25519.c
86
struct sshbuf **shared_secretp)
crypto/openssh/kexmlkem768x25519.c
88
struct sshbuf *server_blob = NULL;
crypto/openssh/kexmlkem768x25519.c
89
struct sshbuf *buf = NULL;
crypto/openssh/kexsntrup761x25519.c
165
const struct sshbuf *server_blob, struct sshbuf **shared_secretp)
crypto/openssh/kexsntrup761x25519.c
167
struct sshbuf *buf = NULL;
crypto/openssh/kexsntrup761x25519.c
232
struct sshbuf;
crypto/openssh/kexsntrup761x25519.c
243
const struct sshbuf *client_blob, struct sshbuf **server_blobp,
crypto/openssh/kexsntrup761x25519.c
244
struct sshbuf **shared_secretp)
crypto/openssh/kexsntrup761x25519.c
251
const struct sshbuf *server_blob, struct sshbuf **shared_secretp)
crypto/openssh/kexsntrup761x25519.c
49
struct sshbuf *buf = NULL;
crypto/openssh/kexsntrup761x25519.c
78
const struct sshbuf *client_blob, struct sshbuf **server_blobp,
crypto/openssh/kexsntrup761x25519.c
79
struct sshbuf **shared_secretp)
crypto/openssh/kexsntrup761x25519.c
81
struct sshbuf *server_blob = NULL;
crypto/openssh/kexsntrup761x25519.c
82
struct sshbuf *buf = NULL;
crypto/openssh/krl.c
1007
extension_section(struct sshbuf *sect, struct ssh_krl *krl)
crypto/openssh/krl.c
1011
struct sshbuf *value = NULL;
crypto/openssh/krl.c
1045
ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp)
crypto/openssh/krl.c
1047
struct sshbuf *copy = NULL, *sect = NULL;
crypto/openssh/krl.c
1274
struct sshbuf *krlbuf = NULL;
crypto/openssh/krl.c
553
put_bitmap(struct sshbuf *buf, struct bitmap *bitmap)
crypto/openssh/krl.c
573
revoked_certs_generate(struct revoked_certs *rc, struct sshbuf *buf)
crypto/openssh/krl.c
580
struct sshbuf *sect;
crypto/openssh/krl.c
732
ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf)
crypto/openssh/krl.c
737
struct sshbuf *sect;
crypto/openssh/krl.c
827
cert_extension_subsection(struct sshbuf *subsect, struct ssh_krl *krl)
crypto/openssh/krl.c
831
struct sshbuf *value = NULL;
crypto/openssh/krl.c
866
parse_revoked_certs(struct sshbuf *buf, struct ssh_krl *krl)
crypto/openssh/krl.c
872
struct sshbuf *subsect = NULL;
crypto/openssh/krl.c
983
blob_section(struct sshbuf *sect, struct revoked_blob_tree *target_tree,
crypto/openssh/krl.h
43
struct sshbuf;
crypto/openssh/krl.h
60
int ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf);
crypto/openssh/krl.h
61
int ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp);
crypto/openssh/loginrec.c
197
extern struct sshbuf *loginmsg;
crypto/openssh/misc.c
1357
struct sshbuf *buf;
crypto/openssh/misc.c
2207
struct sshbuf *buf, *arg;
crypto/openssh/monitor.c
100
extern struct sshbuf *cfg;
crypto/openssh/monitor.c
1008
mm_answer_authpassword(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
101
extern struct sshbuf *loginmsg;
crypto/openssh/monitor.c
1047
mm_answer_bsdauthquery(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
106
static struct sshbuf *child_state;
crypto/openssh/monitor.c
1081
mm_answer_bsdauthrespond(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
110
int mm_answer_moduli(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
111
int mm_answer_setcompat(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1115
mm_answer_pam_start(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
112
int mm_answer_sign(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
113
int mm_answer_pwnamallow(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1130
mm_answer_pam_account(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
114
int mm_answer_auth2_read_banner(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
115
int mm_answer_authserv(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1154
mm_answer_pam_init_ctx(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
116
int mm_answer_authpassword(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
117
int mm_answer_bsdauthquery(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1179
mm_answer_pam_query(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
118
int mm_answer_bsdauthrespond(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
119
int mm_answer_keyallowed(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
120
int mm_answer_keyverify(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
121
int mm_answer_pty(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
122
int mm_answer_pty_cleanup(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1220
mm_answer_pam_respond(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
123
int mm_answer_term(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
124
int mm_answer_state(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1262
mm_answer_pam_free_ctx(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
127
int mm_answer_pam_start(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
128
int mm_answer_pam_account(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1282
mm_answer_keyallowed(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
129
int mm_answer_pam_init_ctx(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
130
int mm_answer_pam_query(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
131
int mm_answer_pam_respond(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
132
int mm_answer_pam_free_ctx(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
136
int mm_answer_gss_setup_ctx(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
137
int mm_answer_gss_accept_ctx(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1376
struct sshbuf *b;
crypto/openssh/monitor.c
138
int mm_answer_gss_userok(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
139
int mm_answer_gss_checkmic(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
143
int mm_answer_audit_event(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
144
int mm_answer_audit_command(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1458
struct sshbuf *b;
crypto/openssh/monitor.c
1524
mm_answer_keyverify(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
1677
mm_answer_pty(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
168
int (*f)(struct ssh *, int, struct sshbuf *);
crypto/openssh/monitor.c
1747
mm_answer_pty_cleanup(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
1765
mm_answer_term(struct ssh *ssh, int sock, struct sshbuf *req)
crypto/openssh/monitor.c
1793
mm_answer_audit_event(struct ssh *ssh, int socket, struct sshbuf *m)
crypto/openssh/monitor.c
1822
mm_answer_audit_command(struct ssh *ssh, int socket, struct sshbuf *m)
crypto/openssh/monitor.c
1968
mm_answer_gss_setup_ctx(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
2001
mm_answer_gss_accept_ctx(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
2035
mm_answer_gss_checkmic(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
2066
mm_answer_gss_userok(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
329
struct sshbuf *m;
crypto/openssh/monitor.c
454
struct sshbuf *logmsg;
crypto/openssh/monitor.c
508
struct sshbuf *m;
crypto/openssh/monitor.c
603
mm_answer_state(struct ssh *ssh, int sock, struct sshbuf *unused)
crypto/openssh/monitor.c
605
struct sshbuf *m = NULL, *config = NULL, *hostkeys = NULL;
crypto/openssh/monitor.c
606
struct sshbuf *opts = NULL, *confdata = NULL;
crypto/openssh/monitor.c
665
mm_answer_moduli(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
704
mm_answer_setcompat(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
718
mm_answer_sign(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
722
struct sshbuf *sigbuf = NULL;
crypto/openssh/monitor.c
828
mm_encode_server_options(struct sshbuf *m)
crypto/openssh/monitor.c
831
struct sshbuf *config;
crypto/openssh/monitor.c
844
mm_answer_pwnamallow(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
943
int mm_answer_auth2_read_banner(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.c
959
mm_answer_authserv(struct ssh *ssh, int sock, struct sshbuf *m)
crypto/openssh/monitor.h
102
void mm_encode_server_options(struct sshbuf *);
crypto/openssh/monitor.h
104
struct sshbuf *pack_hostkeys(void);
crypto/openssh/monitor.h
71
struct sshbuf;
crypto/openssh/monitor.h
96
void mm_request_send(int, enum monitor_reqtype, struct sshbuf *);
crypto/openssh/monitor.h
97
void mm_request_receive(int, struct sshbuf *);
crypto/openssh/monitor.h
98
void mm_request_receive_expect(int, enum monitor_reqtype, struct sshbuf *);
crypto/openssh/monitor_wrap.c
1015
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
1041
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
1071
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
1094
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
151
mm_request_send(int sock, enum monitor_reqtype type, struct sshbuf *m)
crypto/openssh/monitor_wrap.c
174
mm_request_receive(int sock, struct sshbuf *m)
crypto/openssh/monitor_wrap.c
206
mm_request_receive_expect(int sock, enum monitor_reqtype type, struct sshbuf *m)
crypto/openssh/monitor_wrap.c
227
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
260
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
277
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
303
mm_decode_activate_server_options(struct ssh *ssh, struct sshbuf *m)
crypto/openssh/monitor_wrap.c
305
struct sshbuf *config;
crypto/openssh/monitor_wrap.c
333
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
395
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
425
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
445
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
498
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
549
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
597
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
612
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
664
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
689
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
704
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
736
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
761
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
796
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
824
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
83
extern struct sshbuf *loginmsg;
crypto/openssh/monitor_wrap.c
842
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
854
ServerOptions *opts, struct sshbuf **confdatap,
crypto/openssh/monitor_wrap.c
856
struct sshbuf **hostkeysp, struct sshbuf **keystatep,
crypto/openssh/monitor_wrap.c
858
struct sshbuf **authinfop, struct sshbuf **auth_optsp)
crypto/openssh/monitor_wrap.c
860
struct sshbuf *m, *config;
crypto/openssh/monitor_wrap.c
89
struct sshbuf *log_msg;
crypto/openssh/monitor_wrap.c
915
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
952
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
979
struct sshbuf *m;
crypto/openssh/monitor_wrap.c
996
struct sshbuf *m;
crypto/openssh/monitor_wrap.h
101
struct sshbuf **, uint64_t *, struct sshbuf **, struct sshbuf **,
crypto/openssh/monitor_wrap.h
102
u_char **, struct sshbuf **, struct sshbuf **);
crypto/openssh/monitor_wrap.h
66
void mm_decode_activate_server_options(struct ssh *ssh, struct sshbuf *m);
crypto/openssh/msg.c
42
ssh_msg_send(int fd, u_char type, struct sshbuf *m)
crypto/openssh/msg.c
64
ssh_msg_recv(int fd, struct sshbuf *m)
crypto/openssh/msg.h
28
struct sshbuf;
crypto/openssh/msg.h
29
int ssh_msg_send(int, u_char, struct sshbuf *);
crypto/openssh/msg.h
30
int ssh_msg_recv(int, struct sshbuf *);
crypto/openssh/mux.c
1096
struct sshbuf *reply;
crypto/openssh/mux.c
1139
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/mux.c
1169
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/mux.c
1198
struct sshbuf *in = NULL, *out = NULL;
crypto/openssh/mux.c
1276
struct sshbuf *m;
crypto/openssh/mux.c
1299
struct sshbuf *m;
crypto/openssh/mux.c
1410
struct sshbuf *reply;
crypto/openssh/mux.c
142
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
144
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
146
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
148
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
150
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
1506
mux_client_read(int fd, struct sshbuf *b, size_t need, int timeout_ms)
crypto/openssh/mux.c
152
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
154
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
1548
mux_client_write_packet(int fd, struct sshbuf *m)
crypto/openssh/mux.c
1550
struct sshbuf *queue;
crypto/openssh/mux.c
156
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
158
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
160
Channel *, struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
1602
mux_client_read_packet_timeout(int fd, struct sshbuf *m, int timeout_ms)
crypto/openssh/mux.c
1604
struct sshbuf *queue;
crypto/openssh/mux.c
1635
mux_client_read_packet(int fd, struct sshbuf *m)
crypto/openssh/mux.c
1643
struct sshbuf *m;
crypto/openssh/mux.c
165
struct sshbuf *, struct sshbuf *);
crypto/openssh/mux.c
1709
struct sshbuf *m;
crypto/openssh/mux.c
1760
struct sshbuf *m;
crypto/openssh/mux.c
1811
struct sshbuf *m;
crypto/openssh/mux.c
1866
struct sshbuf *m;
crypto/openssh/mux.c
1987
struct sshbuf *m;
crypto/openssh/mux.c
2177
struct sshbuf *m;
crypto/openssh/mux.c
2218
struct sshbuf *m;
crypto/openssh/mux.c
2319
struct sshbuf *m;
crypto/openssh/mux.c
258
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/mux.c
306
reply_ok(struct sshbuf *reply, u_int rid)
crypto/openssh/mux.c
317
reply_error(struct sshbuf *reply, u_int type, u_int rid, const char *msg)
crypto/openssh/mux.c
329
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/mux.c
488
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/mux.c
506
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/mux.c
542
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/mux.c
57
extern struct sshbuf *command;
crypto/openssh/mux.c
635
struct sshbuf *out;
crypto/openssh/mux.c
66
struct sshbuf *cmd;
crypto/openssh/mux.c
719
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/mux.c
884
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/mux.c
996
Channel *c, struct sshbuf *m, struct sshbuf *reply)
crypto/openssh/openbsd-compat/port-aix.c
241
sys_auth_allowed_user(struct passwd *pw, struct sshbuf *loginmsg)
crypto/openssh/openbsd-compat/port-aix.c
284
struct sshbuf *loginmsg)
crypto/openssh/openbsd-compat/port-aix.h
34
struct sshbuf;
crypto/openssh/openbsd-compat/port-aix.h
91
int sys_auth_allowed_user(struct passwd *, struct sshbuf *);
crypto/openssh/openbsd-compat/port-aix.h
94
struct sshbuf *);
crypto/openssh/packet.c
111
struct sshbuf *payload;
crypto/openssh/packet.c
134
struct sshbuf *input;
crypto/openssh/packet.c
137
struct sshbuf *output;
crypto/openssh/packet.c
140
struct sshbuf *outgoing_packet;
crypto/openssh/packet.c
143
struct sshbuf *incoming_packet;
crypto/openssh/packet.c
146
struct sshbuf *compression_buffer;
crypto/openssh/packet.c
2419
kex_to_blob(struct sshbuf *m, struct kex *kex)
crypto/openssh/packet.c
2441
newkeys_to_blob(struct sshbuf *m, struct ssh *ssh, int mode)
crypto/openssh/packet.c
2443
struct sshbuf *b;
crypto/openssh/packet.c
2485
ssh_packet_get_state(struct ssh *ssh, struct sshbuf *m)
crypto/openssh/packet.c
2516
newkeys_from_blob(struct sshbuf *m, struct ssh *ssh, int mode)
crypto/openssh/packet.c
2518
struct sshbuf *b = NULL;
crypto/openssh/packet.c
2590
kex_from_blob(struct sshbuf *m, struct kex **kexp)
crypto/openssh/packet.c
2634
ssh_packet_set_state(struct ssh *ssh, struct sshbuf *m)
crypto/openssh/packet.c
2704
sshpkt_putb(struct ssh *ssh, const struct sshbuf *b)
crypto/openssh/packet.c
2740
sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v)
crypto/openssh/packet.c
2818
sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp)
crypto/openssh/packet.c
847
compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
crypto/openssh/packet.c
893
uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
crypto/openssh/packet.c
954
compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
crypto/openssh/packet.c
960
uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
crypto/openssh/packet.h
161
int ssh_packet_get_state(struct ssh *, struct sshbuf *);
crypto/openssh/packet.h
162
int ssh_packet_set_state(struct ssh *, struct sshbuf *);
crypto/openssh/packet.h
189
int sshpkt_putb(struct ssh *ssh, const struct sshbuf *b);
crypto/openssh/packet.h
195
int sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v);
crypto/openssh/packet.h
208
int sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp);
crypto/openssh/packet.h
45
struct sshbuf;
crypto/openssh/packet.h
94
typedef int (ssh_packet_hook_fn)(struct ssh *, struct sshbuf *,
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
43
struct sshbuf *b;
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
179
struct sshbuf *state = NULL;
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
258
struct sshbuf *b = NULL;
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
35
struct sshbuf *smsgs, *cmsgs; /* output, for standalone mode */
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
36
struct sshbuf *sin, *cin; /* input; setup per-test in do_kex_with_key */
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
37
struct sshbuf *s_template, *c_template; /* main copy of input */
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
42
struct sshbuf *store, int clobber, size_t *n)
crypto/openssh/regress/misc/fuzz-harness/privkey_fuzz.cc
13
struct sshbuf *b = sshbuf_from(data, size);
crypto/openssh/regress/misc/fuzz-harness/ssh-sk-null.cc
30
const char *pin, struct sshbuf *challenge_buf,
crypto/openssh/regress/misc/fuzz-harness/ssh-sk-null.cc
31
struct sshkey **keyp, struct sshbuf *attest)
crypto/openssh/regress/misc/fuzz-harness/sshsig_fuzz.cc
22
struct sshbuf *signature = sshbuf_from(sig, slen);
crypto/openssh/regress/misc/fuzz-harness/sshsig_fuzz.cc
23
struct sshbuf *message = sshbuf_from(data, strlen(data));
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
204
struct sshbuf *b = NULL;
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
333
struct sshbuf *attestation = NULL, *challenge = NULL;
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
334
struct sshbuf *attestation_cert = NULL;
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
81
const char *rp_id, struct sshbuf *b, const struct sshbuf *challenge,
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
82
struct sshbuf **attestation_certp)
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
84
struct sshbuf *attestation_cert = NULL, *sig = NULL, *authdata = NULL;
crypto/openssh/regress/unittests/crypto/test_mldsa.c
24
struct sshbuf *load_text_file(const char *name);
crypto/openssh/regress/unittests/crypto/test_mldsa.c
25
char *get_json_string(struct sshbuf *content, const char *key, int consume);
crypto/openssh/regress/unittests/crypto/test_mldsa.c
41
struct sshbuf *json_buf;
crypto/openssh/regress/unittests/crypto/test_mldsa_eddsa.c
29
struct sshbuf *load_text_file(const char *name);
crypto/openssh/regress/unittests/crypto/test_mldsa_eddsa.c
30
char *get_json_string(struct sshbuf *content, const char *key, int consume);
crypto/openssh/regress/unittests/crypto/test_mldsa_eddsa.c
39
static struct sshbuf *
crypto/openssh/regress/unittests/crypto/test_mldsa_eddsa.c
40
get_json_b64(struct sshbuf *content, const char *key)
crypto/openssh/regress/unittests/crypto/test_mldsa_eddsa.c
43
struct sshbuf *ret;
crypto/openssh/regress/unittests/crypto/test_mldsa_eddsa.c
92
struct sshbuf *b_m = NULL, *b_ctx = NULL, *b_pk = NULL;
crypto/openssh/regress/unittests/crypto/test_mldsa_eddsa.c
93
struct sshbuf *b_sk = NULL, *b_s = NULL, *b_sWithContext = NULL;
crypto/openssh/regress/unittests/crypto/test_mldsa_eddsa.c
94
struct sshbuf *json_buf = NULL;
crypto/openssh/regress/unittests/crypto/tests.c
22
struct sshbuf *load_text_file(const char *name);
crypto/openssh/regress/unittests/crypto/tests.c
23
char *get_json_string(struct sshbuf *content, const char *key, int consume);
crypto/openssh/regress/unittests/crypto/tests.c
25
static struct sshbuf *
crypto/openssh/regress/unittests/crypto/tests.c
28
struct sshbuf *ret = NULL;
crypto/openssh/regress/unittests/crypto/tests.c
35
struct sshbuf *
crypto/openssh/regress/unittests/crypto/tests.c
38
struct sshbuf *ret = load_file(name);
crypto/openssh/regress/unittests/crypto/tests.c
63
get_json_string(struct sshbuf *content, const char *key, int consume)
crypto/openssh/regress/unittests/crypto/tests.c
65
struct sshbuf *tmp;
crypto/openssh/regress/unittests/kex/test_kex.c
83
struct sshbuf *state;
crypto/openssh/regress/unittests/servconf/tests.c
133
struct sshbuf *buf = NULL;
crypto/openssh/regress/unittests/servconf/tests.c
207
struct sshbuf *buf = NULL;
crypto/openssh/regress/unittests/servconf/tests.c
224
struct sshbuf *buf = NULL;
crypto/openssh/regress/unittests/servconf/tests.c
242
struct sshbuf *buf = NULL;
crypto/openssh/regress/unittests/servconf/tests.c
26
struct sshbuf *cfg;
crypto/openssh/regress/unittests/servconf/tests.c
261
struct sshbuf *buf = NULL;
crypto/openssh/regress/unittests/servconf/tests.c
282
struct sshbuf *buf;
crypto/openssh/regress/unittests/servconf/tests.c
295
struct sshbuf *buf = NULL;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf.c
31
struct sshbuf *p1, *p2, *p3;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fixed.c
29
struct sshbuf *p1, *p2, *p3;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fuzz.c
28
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
25
struct sshbuf *p1, *p2;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
34
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
33
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
127
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
160
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
196
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
224
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
26
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
263
struct sshbuf *b1, *b2;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
334
struct sshbuf *b, *b64;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
54
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
72
struct sshbuf *p1;
crypto/openssh/regress/unittests/sshkey/common.c
39
struct sshbuf *
crypto/openssh/regress/unittests/sshkey/common.c
42
struct sshbuf *ret = NULL;
crypto/openssh/regress/unittests/sshkey/common.c
49
struct sshbuf *
crypto/openssh/regress/unittests/sshkey/common.c
52
struct sshbuf *ret = load_file(name);
crypto/openssh/regress/unittests/sshkey/common.c
75
struct sshbuf *buf;
crypto/openssh/regress/unittests/sshkey/common.h
12
struct sshbuf *load_text_file(const char *name);
crypto/openssh/regress/unittests/sshkey/common.h
9
struct sshbuf *load_file(const char *name);
crypto/openssh/regress/unittests/sshkey/test_file.c
44
struct sshbuf *buf, *pw;
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
114
struct sshbuf *buf, *fuzzed;
crypto/openssh/regress/unittests/sshkey/test_fuzz.c
50
struct sshbuf *buf;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
232
struct sshbuf *b;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
251
struct sshbuf *b = NULL;
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
40
put_opt(struct sshbuf *b, const char *name, const char *value)
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
42
struct sshbuf *sect;
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
59
struct sshbuf *ca_buf, *pk, *principals, *critopts, *exts;
crypto/openssh/regress/unittests/sshsig/tests.c
34
static struct sshbuf *
crypto/openssh/regress/unittests/sshsig/tests.c
37
struct sshbuf *ret = NULL;
crypto/openssh/regress/unittests/sshsig/tests.c
54
check_sig(const char *keyname, const char *signame, const struct sshbuf *msg,
crypto/openssh/regress/unittests/sshsig/tests.c
58
struct sshbuf *sig, *rawsig;
crypto/openssh/regress/unittests/sshsig/tests.c
80
struct sshbuf *msg;
crypto/openssh/servconf.c
2614
load_server_config(const char *filename, struct sshbuf *conf)
crypto/openssh/servconf.c
2739
serialise_s32(struct sshbuf *buf, int v)
crypto/openssh/servconf.c
2752
serialise_s64(struct sshbuf *buf, int64_t v)
crypto/openssh/servconf.c
2765
serialise_mode(struct sshbuf *buf, mode_t v)
crypto/openssh/servconf.c
2778
serialise_double(struct sshbuf *buf, double v)
crypto/openssh/servconf.c
2789
serialise_nullable_string(struct sshbuf *buf, const char *s)
crypto/openssh/servconf.c
2801
serialise_nullable_string_array(struct sshbuf *buf, char **a, u_int n)
crypto/openssh/servconf.c
2816
serialise_hostkeyfile(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2838
serialise_ipqos(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2852
serialise_listenaddress(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2877
serialise_logfacility(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2890
serialise_loglevel(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2903
serialise_port(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2922
serialise_gatewayports(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2934
serialise_streamlocalbindmask(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2947
serialise_streamlocalbindunlink(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2960
serialise_maxstartups(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2975
serialise_permituserenv(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
2990
serialise_persourcenetblocksize(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3004
serialise_persourcepenalties(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3030
serialise_rekeylimit(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3044
serialise_subsystem(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3068
serialise_timingsecret(const ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3081
serialise_server_options(const ServerOptions *options, struct sshbuf **bufp)
crypto/openssh/servconf.c
3083
struct sshbuf *buf = NULL;
crypto/openssh/servconf.c
3150
deserialise_s32(struct sshbuf *buf, int *v)
crypto/openssh/servconf.c
3174
deserialise_s64(struct sshbuf *buf, int64_t *v)
crypto/openssh/servconf.c
3199
deserialise_mode(struct sshbuf *buf, mode_t *v)
crypto/openssh/servconf.c
3216
deserialise_double(struct sshbuf *buf, double *v)
crypto/openssh/servconf.c
3222
deserialise_nullable_string(struct sshbuf *buf, char **sp)
crypto/openssh/servconf.c
3251
deserialise_count(struct sshbuf *buf, u_int *np, const char *what)
crypto/openssh/servconf.c
3273
deserialise_nullable_string_array(struct sshbuf *buf, char ***arrayp,
crypto/openssh/servconf.c
3312
deserialise_hostkeyfile(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3340
deserialise_ipqos(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3354
deserialise_listenaddress(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3380
deserialise_logfacility(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3399
deserialise_loglevel(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3418
deserialise_port(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3441
deserialise_gatewayports(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3453
deserialise_streamlocalbindmask(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3466
deserialise_streamlocalbindunlink(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3484
deserialise_maxstartups(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3499
deserialise_permituserenv(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3513
deserialise_persourcenetblocksize(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3529
deserialise_persourcepenalties(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3556
deserialise_rekeylimit(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3570
deserialise_subsystem(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3602
deserialise_timingsecret(ServerOptions *options, struct sshbuf *buf)
crypto/openssh/servconf.c
3614
deserialise_server_options(struct sshbuf *buf, ServerOptions *options)
crypto/openssh/servconf.c
3994
struct sshbuf *conf, struct include_list *includes,
crypto/openssh/servconf.c
4023
struct sshbuf *conf, struct include_list *includes,
crypto/openssh/servconf.c
77
const char *filename, struct sshbuf *conf, struct include_list *includes,
crypto/openssh/servconf.c
80
extern struct sshbuf *cfg;
crypto/openssh/servconf.h
21
struct sshbuf;
crypto/openssh/servconf.h
425
struct sshbuf *contents;
crypto/openssh/servconf.h
435
void load_server_config(const char *, struct sshbuf *);
crypto/openssh/servconf.h
436
void parse_server_config(ServerOptions *, const char *, struct sshbuf *,
crypto/openssh/servconf.h
450
int serialise_server_options(const ServerOptions *, struct sshbuf **);
crypto/openssh/servconf.h
451
int deserialise_server_options(struct sshbuf *, ServerOptions *);
crypto/openssh/serverloop.c
670
server_input_hostkeys_prove(struct ssh *ssh, struct sshbuf **respp)
crypto/openssh/serverloop.c
672
struct sshbuf *resp = NULL;
crypto/openssh/serverloop.c
673
struct sshbuf *sigbuf = NULL;
crypto/openssh/serverloop.c
761
struct sshbuf *resp = NULL;
crypto/openssh/session.c
142
extern struct sshbuf *loginmsg;
crypto/openssh/session.c
239
prepare_auth_info_file(struct passwd *pw, struct sshbuf *info)
crypto/openssh/sftp-client.c
1091
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1206
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1250
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1288
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1324
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1357
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1416
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1447
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1476
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1510
struct sshbuf *msg;
crypto/openssh/sftp-client.c
152
send_msg(struct sftp_conn *conn, struct sshbuf *m)
crypto/openssh/sftp-client.c
1532
struct sshbuf *msg;
crypto/openssh/sftp-client.c
1586
struct sshbuf *msg;
crypto/openssh/sftp-client.c
176
get_msg_extended(struct sftp_conn *conn, struct sshbuf *m, int initial)
crypto/openssh/sftp-client.c
2030
struct sshbuf *msg;
crypto/openssh/sftp-client.c
215
get_msg(struct sftp_conn *conn, struct sshbuf *m)
crypto/openssh/sftp-client.c
224
struct sshbuf *msg;
crypto/openssh/sftp-client.c
2385
struct sshbuf *msg;
crypto/openssh/sftp-client.c
242
struct sshbuf *msg;
crypto/openssh/sftp-client.c
2453
struct sshbuf *msg;
crypto/openssh/sftp-client.c
261
struct sshbuf *msg;
crypto/openssh/sftp-client.c
2856
struct sshbuf *msg, *uidbuf, *gidbuf;
crypto/openssh/sftp-client.c
292
struct sshbuf *msg;
crypto/openssh/sftp-client.c
336
struct sshbuf *msg;
crypto/openssh/sftp-client.c
388
struct sshbuf *msg;
crypto/openssh/sftp-client.c
448
struct sshbuf *msg;
crypto/openssh/sftp-client.c
610
struct sshbuf *msg;
crypto/openssh/sftp-client.c
663
struct sshbuf *msg;
crypto/openssh/sftp-client.c
691
struct sshbuf *msg;
crypto/openssh/sftp-client.c
993
struct sshbuf *msg;
crypto/openssh/sftp-common.c
104
decode_attrib(struct sshbuf *b, Attrib *a)
crypto/openssh/sftp-common.c
155
encode_attrib(struct sshbuf *b, const Attrib *a)
crypto/openssh/sftp-common.h
31
struct sshbuf;
crypto/openssh/sftp-common.h
48
int decode_attrib(struct sshbuf *, Attrib *);
crypto/openssh/sftp-common.h
49
int encode_attrib(struct sshbuf *, const Attrib *);
crypto/openssh/sftp-server.c
1512
struct sshbuf *msg;
crypto/openssh/sftp-server.c
1746
struct sshbuf *uids, *gids, *usernames, *groupnames, *msg;
crypto/openssh/sftp-server.c
495
get_handle(struct sshbuf *queue, int *hp)
crypto/openssh/sftp-server.c
513
send_msg(struct sshbuf *m)
crypto/openssh/sftp-server.c
543
struct sshbuf *msg;
crypto/openssh/sftp-server.c
575
struct sshbuf *msg;
crypto/openssh/sftp-server.c
610
struct sshbuf *msg;
crypto/openssh/sftp-server.c
633
struct sshbuf *msg;
crypto/openssh/sftp-server.c
65
struct sshbuf *iqueue;
crypto/openssh/sftp-server.c
650
struct sshbuf *msg;
crypto/openssh/sftp-server.c
66
struct sshbuf *oqueue;
crypto/openssh/sftp-server.c
682
compose_extension(struct sshbuf *msg, const char *name, const char *ver)
crypto/openssh/sftp-server.c
704
struct sshbuf *msg;
crypto/openssh/ssh-add.c
285
struct sshbuf *keyblob;
crypto/openssh/ssh-agent.c
1098
parse_dest_constraint_hop(struct sshbuf *b, struct dest_constraint_hop *dch)
crypto/openssh/ssh-agent.c
1159
parse_dest_constraint(struct sshbuf *m, struct dest_constraint *dc)
crypto/openssh/ssh-agent.c
1161
struct sshbuf *b = NULL, *frombuf = NULL, *tobuf = NULL;
crypto/openssh/ssh-agent.c
117
struct sshbuf *sid;
crypto/openssh/ssh-agent.c
1209
parse_key_constraint_extension(struct sshbuf *m, char **sk_providerp,
crypto/openssh/ssh-agent.c
1215
struct sshbuf *b = NULL;
crypto/openssh/ssh-agent.c
124
struct sshbuf *input;
crypto/openssh/ssh-agent.c
125
struct sshbuf *output;
crypto/openssh/ssh-agent.c
126
struct sshbuf *request;
crypto/openssh/ssh-agent.c
1308
parse_key_constraints(struct sshbuf *m, struct sshkey *k, time_t *deathp,
crypto/openssh/ssh-agent.c
1533
struct sshbuf *msg;
crypto/openssh/ssh-agent.c
1708
struct sshbuf *sid = NULL, *sig = NULL;
crypto/openssh/ssh-agent.c
1794
struct sshbuf *msg = NULL;
crypto/openssh/ssh-agent.c
643
struct sshbuf *msg, *keys;
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
712
struct sshbuf *b = NULL, *sess_id = NULL;
crypto/openssh/ssh-agent.c
793
parse_sshsig_request(struct sshbuf *msg)
crypto/openssh/ssh-agent.c
796
struct sshbuf *b;
crypto/openssh/ssh-agent.c
827
check_websafe_message_contents(struct sshkey *key, struct sshbuf *data)
crypto/openssh/ssh-agent.c
845
buf_equal(const struct sshbuf *a, const struct sshbuf *b)
crypto/openssh/ssh-agent.c
867
struct sshbuf *msg = NULL, *data = NULL, *sid = NULL;
crypto/openssh/ssh-ecdsa-sk.c
128
ssh_ecdsa_sk_deserialize_public(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-ecdsa-sk.c
141
ssh_ecdsa_sk_deserialize_private(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-ecdsa-sk.c
171
const char *origin, const struct sshbuf *wrapper,
crypto/openssh/ssh-ecdsa-sk.c
172
uint8_t flags, const struct sshbuf *extensions,
crypto/openssh/ssh-ecdsa-sk.c
176
struct sshbuf *chall = NULL, *m = NULL;
crypto/openssh/ssh-ecdsa-sk.c
247
struct sshbuf *b = NULL, *sigbuf = NULL, *original_signed = NULL;
crypto/openssh/ssh-ecdsa-sk.c
248
struct sshbuf *webauthn_wrapper = NULL, *webauthn_exts = NULL;
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
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
229
ssh_ecdsa_deserialize_public(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-ecdsa.c
282
ssh_ecdsa_deserialize_private(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-ecdsa.c
370
struct sshbuf *b = NULL, *bb = NULL;
crypto/openssh/ssh-ecdsa.c
416
struct sshbuf *b = NULL, *sigbuf = NULL;
crypto/openssh/ssh-ed25519-sk.c
110
ssh_ed25519_sk_deserialize_private(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-ed25519-sk.c
128
struct sshbuf *b = NULL;
crypto/openssh/ssh-ed25519-sk.c
129
struct sshbuf *encoded = NULL;
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
97
ssh_ed25519_sk_deserialize_public(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-ed25519.c
102
ssh_ed25519_deserialize_public(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-ed25519.c
120
ssh_ed25519_deserialize_private(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-ed25519.c
189
struct sshbuf *b = NULL;
crypto/openssh/ssh-ed25519.c
232
struct sshbuf *b = NULL;
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-gss.h
109
struct sshbuf;
crypto/openssh/ssh-gss.h
110
int ssh_gssapi_get_buffer_desc(struct sshbuf *, gss_buffer_desc *);
crypto/openssh/ssh-gss.h
123
void ssh_gssapi_buildmic(struct sshbuf *, const char *,
crypto/openssh/ssh-gss.h
124
const char *, const char *, const struct sshbuf *);
crypto/openssh/ssh-keygen.c
1614
prepare_options_buf(struct sshbuf *c, int which)
crypto/openssh/ssh-keygen.c
1616
struct sshbuf *b;
crypto/openssh/ssh-keygen.c
2032
show_options(struct sshbuf *optbuf, int in_critical)
crypto/openssh/ssh-keygen.c
2035
struct sshbuf *options, *option = NULL;
crypto/openssh/ssh-keygen.c
2187
struct sshbuf *krlbuf;
crypto/openssh/ssh-keygen.c
2205
struct sshbuf *b;
crypto/openssh/ssh-keygen.c
2401
struct sshbuf *kbuf;
crypto/openssh/ssh-keygen.c
2543
struct sshbuf *sigbuf = NULL, *abuf = NULL;
crypto/openssh/ssh-keygen.c
2764
struct sshbuf *sigbuf = NULL, *abuf = NULL;
crypto/openssh/ssh-keygen.c
2854
struct sshbuf *sigbuf = NULL, *abuf = NULL;
crypto/openssh/ssh-keygen.c
3208
save_attestation(struct sshbuf *attest, const char *path)
crypto/openssh/ssh-keygen.c
3314
struct sshbuf *challenge = NULL, *attest = NULL;
crypto/openssh/ssh-keygen.c
332
struct sshbuf *b;
crypto/openssh/ssh-keygen.c
433
buffer_get_bignum_bits(struct sshbuf *b, BIGNUM *value)
crypto/openssh/ssh-keygen.c
451
do_convert_private_ssh2(struct sshbuf *b)
crypto/openssh/ssh-keygen.c
609
struct sshbuf *buf;
crypto/openssh/ssh-keysign.c
178
struct sshbuf *b;
crypto/openssh/ssh-keysign.c
66
struct sshbuf *b;
crypto/openssh/ssh-mldsa-eddsa.c
101
struct sshbuf *m_prime;
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
293
ssh_mldsa44_ed25519_deserialize_public(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-mldsa-eddsa.c
311
ssh_mldsa44_ed25519_deserialize_private(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-mldsa-eddsa.c
377
struct sshbuf *b = NULL;
crypto/openssh/ssh-mldsa-eddsa.c
425
struct sshbuf *b = NULL;
crypto/openssh/ssh-pkcs11-client.c
158
send_msg(int fd, struct sshbuf *m)
crypto/openssh/ssh-pkcs11-client.c
176
recv_msg(int fd, struct sshbuf *m)
crypto/openssh/ssh-pkcs11-client.c
233
struct sshbuf *msg = NULL;
crypto/openssh/ssh-pkcs11-client.c
390
struct sshbuf *msg;
crypto/openssh/ssh-pkcs11-client.c
463
struct sshbuf *keyblob = NULL;
crypto/openssh/ssh-pkcs11-client.c
54
struct sshbuf **keyblobs; /* XXX use a tree or something faster */
crypto/openssh/ssh-pkcs11-client.c
78
struct sshbuf *keyblob = NULL;
crypto/openssh/ssh-pkcs11-helper.c
110
struct sshbuf *msg;
crypto/openssh/ssh-pkcs11-helper.c
48
struct sshbuf *iqueue;
crypto/openssh/ssh-pkcs11-helper.c
49
struct sshbuf *oqueue;
crypto/openssh/ssh-pkcs11-helper.c
52
send_msg(struct sshbuf *m)
crypto/openssh/ssh-pkcs11-helper.c
66
struct sshbuf *msg;
crypto/openssh/ssh-pkcs11.c
401
struct sshbuf *keyblob;
crypto/openssh/ssh-pkcs11.c
450
struct sshbuf *keyblob;
crypto/openssh/ssh-pkcs11.c
77
struct sshbuf *keyblob;
crypto/openssh/ssh-rsa.c
193
ssh_rsa_deserialize_public(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-rsa.c
232
ssh_rsa_deserialize_private(const char *ktype, struct sshbuf *b,
crypto/openssh/ssh-rsa.c
457
struct sshbuf *b = NULL;
crypto/openssh/ssh-rsa.c
502
struct sshbuf *b = NULL;
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
158
client_converse(struct sshbuf *msg, struct sshbuf **respp, u_int type)
crypto/openssh/ssh-sk-client.c
165
struct sshbuf *req = NULL, *resp = NULL;
crypto/openssh/ssh-sk-client.c
253
struct sshbuf *kbuf = NULL, *req = NULL, *resp = NULL;
crypto/openssh/ssh-sk-client.c
314
const char *pin, struct sshbuf *challenge_buf,
crypto/openssh/ssh-sk-client.c
315
struct sshkey **keyp, struct sshbuf *attest)
crypto/openssh/ssh-sk-client.c
318
struct sshbuf *kbuf = NULL, *abuf = NULL, *req = NULL, *resp = NULL;
crypto/openssh/ssh-sk-client.c
419
struct sshbuf *kbuf = NULL, *req = NULL, *resp = NULL;
crypto/openssh/ssh-sk-helper.c
107
static struct sshbuf *
crypto/openssh/ssh-sk-helper.c
108
process_sign(struct sshbuf *req)
crypto/openssh/ssh-sk-helper.c
111
struct sshbuf *resp, *kbuf;
crypto/openssh/ssh-sk-helper.c
165
static struct sshbuf *
crypto/openssh/ssh-sk-helper.c
166
process_enroll(struct sshbuf *req)
crypto/openssh/ssh-sk-helper.c
172
struct sshbuf *challenge, *attest, *kbuf, *resp;
crypto/openssh/ssh-sk-helper.c
229
static struct sshbuf *
crypto/openssh/ssh-sk-helper.c
230
process_load_resident(struct sshbuf *req)
crypto/openssh/ssh-sk-helper.c
234
struct sshbuf *kbuf, *resp;
crypto/openssh/ssh-sk-helper.c
295
struct sshbuf *req, *resp;
crypto/openssh/ssh-sk-helper.c
53
static struct sshbuf *reply_error(int r, char *fmt, ...)
crypto/openssh/ssh-sk-helper.c
56
static struct sshbuf *
crypto/openssh/ssh-sk-helper.c
61
struct sshbuf *resp;
crypto/openssh/ssh-sk.c
208
struct sshbuf *b = NULL;
crypto/openssh/ssh-sk.c
453
struct sshbuf *attest)
crypto/openssh/ssh-sk.c
478
const char *pin, struct sshbuf *challenge_buf,
crypto/openssh/ssh-sk.c
479
struct sshkey **keyp, struct sshbuf *attest)
crypto/openssh/ssh-sk.c
578
sshsk_ecdsa_sig(struct sk_sign_response *resp, struct sshbuf *sig)
crypto/openssh/ssh-sk.c
580
struct sshbuf *inner_sig = NULL;
crypto/openssh/ssh-sk.c
623
sshsk_ed25519_sig(struct sk_sign_response *resp, struct sshbuf *sig)
crypto/openssh/ssh-sk.c
658
struct sshbuf *inner_sig = NULL, *sig = NULL;
crypto/openssh/ssh-sk.h
21
struct sshbuf;
crypto/openssh/ssh-sk.h
52
const char *pin, struct sshbuf *challenge_buf,
crypto/openssh/ssh-sk.h
53
struct sshkey **keyp, struct sshbuf *attest);
crypto/openssh/ssh.c
156
struct sshbuf *command;
crypto/openssh/ssh_api.c
316
struct sshbuf *output = ssh_packet_get_output(ssh);
crypto/openssh/ssh_api.c
342
_ssh_read_banner(struct ssh *ssh, struct sshbuf *banner)
crypto/openssh/ssh_api.c
344
struct sshbuf *input = ssh_packet_get_input(ssh);
crypto/openssh/ssh_api.c
425
_ssh_send_banner(struct ssh *ssh, struct sshbuf *banner)
crypto/openssh/ssh_api.c
43
int _ssh_send_banner(struct ssh *, struct sshbuf *);
crypto/openssh/ssh_api.c
44
int _ssh_read_banner(struct ssh *, struct sshbuf *);
crypto/openssh/sshbuf-getput-basic.c
112
check_roffset(const struct sshbuf *buf, size_t offset, size_t len,
crypto/openssh/sshbuf-getput-basic.c
125
sshbuf_peek_u64(const struct sshbuf *buf, size_t offset, uint64_t *valp)
crypto/openssh/sshbuf-getput-basic.c
140
sshbuf_peek_u32(const struct sshbuf *buf, size_t offset, uint32_t *valp)
crypto/openssh/sshbuf-getput-basic.c
155
sshbuf_peek_u16(const struct sshbuf *buf, size_t offset, uint16_t *valp)
crypto/openssh/sshbuf-getput-basic.c
170
sshbuf_peek_u8(const struct sshbuf *buf, size_t offset, u_char *valp)
crypto/openssh/sshbuf-getput-basic.c
185
sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp)
crypto/openssh/sshbuf-getput-basic.c
212
sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp)
crypto/openssh/sshbuf-getput-basic.c
238
sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
crypto/openssh/sshbuf-getput-basic.c
269
sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp)
crypto/openssh/sshbuf-getput-basic.c
304
sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v)
crypto/openssh/sshbuf-getput-basic.c
324
sshbuf_put(struct sshbuf *buf, const void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
33
sshbuf_get(struct sshbuf *buf, void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
337
sshbuf_putb(struct sshbuf *buf, const struct sshbuf *v)
crypto/openssh/sshbuf-getput-basic.c
345
sshbuf_putf(struct sshbuf *buf, const char *fmt, ...)
crypto/openssh/sshbuf-getput-basic.c
357
sshbuf_putfv(struct sshbuf *buf, const char *fmt, va_list ap)
crypto/openssh/sshbuf-getput-basic.c
390
sshbuf_put_u64(struct sshbuf *buf, uint64_t val)
crypto/openssh/sshbuf-getput-basic.c
402
sshbuf_put_u32(struct sshbuf *buf, uint32_t val)
crypto/openssh/sshbuf-getput-basic.c
414
sshbuf_put_u16(struct sshbuf *buf, uint16_t val)
crypto/openssh/sshbuf-getput-basic.c
426
sshbuf_put_u8(struct sshbuf *buf, u_char val)
crypto/openssh/sshbuf-getput-basic.c
438
check_woffset(struct sshbuf *buf, size_t offset, size_t len, u_char **p)
crypto/openssh/sshbuf-getput-basic.c
452
sshbuf_poke_u64(struct sshbuf *buf, size_t offset, uint64_t val)
crypto/openssh/sshbuf-getput-basic.c
46
sshbuf_get_u64(struct sshbuf *buf, uint64_t *valp)
crypto/openssh/sshbuf-getput-basic.c
464
sshbuf_poke_u32(struct sshbuf *buf, size_t offset, uint32_t val)
crypto/openssh/sshbuf-getput-basic.c
476
sshbuf_poke_u16(struct sshbuf *buf, size_t offset, uint16_t val)
crypto/openssh/sshbuf-getput-basic.c
488
sshbuf_poke_u8(struct sshbuf *buf, size_t offset, u_char val)
crypto/openssh/sshbuf-getput-basic.c
500
sshbuf_poke(struct sshbuf *buf, size_t offset, void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
512
sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
530
sshbuf_put_cstring(struct sshbuf *buf, const char *v)
crypto/openssh/sshbuf-getput-basic.c
536
sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v)
crypto/openssh/sshbuf-getput-basic.c
545
sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp)
crypto/openssh/sshbuf-getput-basic.c
549
struct sshbuf *ret;
crypto/openssh/sshbuf-getput-basic.c
569
sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len)
crypto/openssh/sshbuf-getput-basic.c
59
sshbuf_get_u32(struct sshbuf *buf, uint32_t *valp)
crypto/openssh/sshbuf-getput-basic.c
598
sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf,
crypto/openssh/sshbuf-getput-basic.c
634
sshbuf_get_nulterminated_string(struct sshbuf *buf, size_t maxlen,
crypto/openssh/sshbuf-getput-basic.c
72
sshbuf_get_u16(struct sshbuf *buf, uint16_t *valp)
crypto/openssh/sshbuf-getput-basic.c
85
sshbuf_get_u8(struct sshbuf *buf, u_char *valp)
crypto/openssh/sshbuf-getput-basic.c
98
check_offset(const struct sshbuf *buf, int wr, size_t offset, size_t len)
crypto/openssh/sshbuf-getput-crypto.c
131
sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v)
crypto/openssh/sshbuf-getput-crypto.c
154
sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g)
crypto/openssh/sshbuf-getput-crypto.c
174
sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v)
crypto/openssh/sshbuf-getput-crypto.c
181
sshbuf_put_ec_pkey(struct sshbuf *buf, EVP_PKEY *pkey)
crypto/openssh/sshbuf-getput-crypto.c
36
sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp)
crypto/openssh/sshbuf-getput-crypto.c
74
sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g)
crypto/openssh/sshbuf-getput-crypto.c
95
sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v)
crypto/openssh/sshbuf-io.c
100
sshbuf_write_file(const char *path, struct sshbuf *buf)
crypto/openssh/sshbuf-io.c
34
sshbuf_load_fd(int fd, struct sshbuf **blobp)
crypto/openssh/sshbuf-io.c
40
struct sshbuf *blob;
crypto/openssh/sshbuf-io.c
80
sshbuf_load_file(const char *path, struct sshbuf **bufp)
crypto/openssh/sshbuf-misc.c
103
struct sshbuf *
crypto/openssh/sshbuf-misc.c
106
struct sshbuf *ret;
crypto/openssh/sshbuf-misc.c
128
sshbuf_dtob64(const struct sshbuf *d, struct sshbuf *b64, int wrap)
crypto/openssh/sshbuf-misc.c
166
sshbuf_dtob64_string(const struct sshbuf *buf, int wrap)
crypto/openssh/sshbuf-misc.c
168
struct sshbuf *tmp;
crypto/openssh/sshbuf-misc.c
183
sshbuf_b64tod(struct sshbuf *buf, const char *b64)
crypto/openssh/sshbuf-misc.c
206
sshbuf_dtourlb64(const struct sshbuf *d, struct sshbuf *b64, int wrap)
crypto/openssh/sshbuf-misc.c
210
struct sshbuf *b = NULL;
crypto/openssh/sshbuf-misc.c
252
sshbuf_dup_string(struct sshbuf *buf)
crypto/openssh/sshbuf-misc.c
275
sshbuf_cmp(const struct sshbuf *b, size_t offset,
crypto/openssh/sshbuf-misc.c
290
sshbuf_equals(const struct sshbuf *a, const struct sshbuf *b)
crypto/openssh/sshbuf-misc.c
304
sshbuf_find(const struct sshbuf *b, size_t start_offset,
crypto/openssh/sshbuf-misc.c
326
sshbuf_read(int fd, struct sshbuf *buf, size_t maxlen, size_t *rlen)
crypto/openssh/sshbuf-misc.c
65
sshbuf_dump(const struct sshbuf *buf, FILE *f)
crypto/openssh/sshbuf-misc.c
72
sshbuf_dtob16(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
111
struct sshbuf *
crypto/openssh/sshbuf.c
114
struct sshbuf *ret;
crypto/openssh/sshbuf.c
129
sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent)
crypto/openssh/sshbuf.c
144
struct sshbuf *
crypto/openssh/sshbuf.c
145
sshbuf_fromb(struct sshbuf *buf)
crypto/openssh/sshbuf.c
147
struct sshbuf *ret;
crypto/openssh/sshbuf.c
161
sshbuf_free(struct sshbuf *buf)
crypto/openssh/sshbuf.c
196
sshbuf_reset(struct sshbuf *buf)
crypto/openssh/sshbuf.c
219
sshbuf_max_size(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
225
sshbuf_alloc(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
230
const struct sshbuf *
crypto/openssh/sshbuf.c
231
sshbuf_parent(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
237
sshbuf_refcount(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
243
sshbuf_set_max_size(struct sshbuf *buf, size_t max_size)
crypto/openssh/sshbuf.c
281
sshbuf_len(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
289
sshbuf_avail(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
297
sshbuf_ptr(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
305
sshbuf_mutable_ptr(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
313
sshbuf_check_reserve(const struct sshbuf *buf, size_t len)
crypto/openssh/sshbuf.c
329
sshbuf_allocate(struct sshbuf *buf, size_t len)
crypto/openssh/sshbuf.c
372
sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp)
crypto/openssh/sshbuf.c
392
sshbuf_consume(struct sshbuf *buf, size_t len)
crypto/openssh/sshbuf.c
412
sshbuf_consume_end(struct sshbuf *buf, size_t len)
crypto/openssh/sshbuf.c
429
sshbuf_consume_upto_child(struct sshbuf *buf, const struct sshbuf *child)
crypto/openssh/sshbuf.c
51
struct sshbuf *parent; /* If child, pointer to parent */
crypto/openssh/sshbuf.c
55
sshbuf_check_sanity(const struct sshbuf *buf)
crypto/openssh/sshbuf.c
77
sshbuf_maybe_pack(struct sshbuf *buf, int force)
crypto/openssh/sshbuf.c
92
struct sshbuf *
crypto/openssh/sshbuf.c
95
struct sshbuf *ret;
crypto/openssh/sshbuf.h
100
size_t sshbuf_avail(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
105
const u_char *sshbuf_ptr(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
111
u_char *sshbuf_mutable_ptr(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
119
int sshbuf_check_reserve(const struct sshbuf *buf, size_t len);
crypto/openssh/sshbuf.h
127
int sshbuf_allocate(struct sshbuf *buf, size_t len);
crypto/openssh/sshbuf.h
134
int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp);
crypto/openssh/sshbuf.h
140
int sshbuf_consume(struct sshbuf *buf, size_t len);
crypto/openssh/sshbuf.h
146
int sshbuf_consume_end(struct sshbuf *buf, size_t len);
crypto/openssh/sshbuf.h
164
int sshbuf_consume_upto_child(struct sshbuf *buf, const struct sshbuf *child);
crypto/openssh/sshbuf.h
167
int sshbuf_get(struct sshbuf *buf, void *v, size_t len);
crypto/openssh/sshbuf.h
168
int sshbuf_put(struct sshbuf *buf, const void *v, size_t len);
crypto/openssh/sshbuf.h
169
int sshbuf_putb(struct sshbuf *buf, const struct sshbuf *v);
crypto/openssh/sshbuf.h
172
int sshbuf_putf(struct sshbuf *buf, const char *fmt, ...)
crypto/openssh/sshbuf.h
174
int sshbuf_putfv(struct sshbuf *buf, const char *fmt, va_list ap);
crypto/openssh/sshbuf.h
177
int sshbuf_get_u64(struct sshbuf *buf, uint64_t *valp);
crypto/openssh/sshbuf.h
178
int sshbuf_get_u32(struct sshbuf *buf, uint32_t *valp);
crypto/openssh/sshbuf.h
179
int sshbuf_get_u16(struct sshbuf *buf, uint16_t *valp);
crypto/openssh/sshbuf.h
180
int sshbuf_get_u8(struct sshbuf *buf, u_char *valp);
crypto/openssh/sshbuf.h
181
int sshbuf_put_u64(struct sshbuf *buf, uint64_t val);
crypto/openssh/sshbuf.h
182
int sshbuf_put_u32(struct sshbuf *buf, uint32_t val);
crypto/openssh/sshbuf.h
183
int sshbuf_put_u16(struct sshbuf *buf, uint16_t val);
crypto/openssh/sshbuf.h
184
int sshbuf_put_u8(struct sshbuf *buf, u_char val);
crypto/openssh/sshbuf.h
187
int sshbuf_peek_u64(const struct sshbuf *buf, size_t offset,
crypto/openssh/sshbuf.h
189
int sshbuf_peek_u32(const struct sshbuf *buf, size_t offset,
crypto/openssh/sshbuf.h
191
int sshbuf_peek_u16(const struct sshbuf *buf, size_t offset,
crypto/openssh/sshbuf.h
193
int sshbuf_peek_u8(const struct sshbuf *buf, size_t offset,
crypto/openssh/sshbuf.h
200
int sshbuf_poke_u64(struct sshbuf *buf, size_t offset, uint64_t val);
crypto/openssh/sshbuf.h
201
int sshbuf_poke_u32(struct sshbuf *buf, size_t offset, uint32_t val);
crypto/openssh/sshbuf.h
202
int sshbuf_poke_u16(struct sshbuf *buf, size_t offset, uint16_t val);
crypto/openssh/sshbuf.h
203
int sshbuf_poke_u8(struct sshbuf *buf, size_t offset, u_char val);
crypto/openssh/sshbuf.h
204
int sshbuf_poke(struct sshbuf *buf, size_t offset, void *v, size_t len);
crypto/openssh/sshbuf.h
211
int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
crypto/openssh/sshbuf.h
212
int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
crypto/openssh/sshbuf.h
213
int sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v);
crypto/openssh/sshbuf.h
214
int sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len);
crypto/openssh/sshbuf.h
215
int sshbuf_put_cstring(struct sshbuf *buf, const char *v);
crypto/openssh/sshbuf.h
216
int sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v);
crypto/openssh/sshbuf.h
223
int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp,
crypto/openssh/sshbuf.h
230
int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
crypto/openssh/sshbuf.h
237
int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len);
crypto/openssh/sshbuf.h
238
int sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf,
crypto/openssh/sshbuf.h
241
int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp);
crypto/openssh/sshbuf.h
242
int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
crypto/openssh/sshbuf.h
244
int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g);
crypto/openssh/sshbuf.h
245
int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v);
crypto/openssh/sshbuf.h
246
int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g);
crypto/openssh/sshbuf.h
247
int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v);
crypto/openssh/sshbuf.h
248
int sshbuf_put_ec_pkey(struct sshbuf *buf, EVP_PKEY *pkey);
crypto/openssh/sshbuf.h
253
int sshbuf_get_nulterminated_string(struct sshbuf *buf, size_t maxlen,
crypto/openssh/sshbuf.h
257
void sshbuf_dump(const struct sshbuf *buf, FILE *f);
crypto/openssh/sshbuf.h
263
char *sshbuf_dtob16(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
265
struct sshbuf *sshbuf_b16tod(const char *b16);
crypto/openssh/sshbuf.h
268
char *sshbuf_dtob64_string(const struct sshbuf *buf, int wrap);
crypto/openssh/sshbuf.h
269
int sshbuf_dtob64(const struct sshbuf *d, struct sshbuf *b64, int wrap);
crypto/openssh/sshbuf.h
271
int sshbuf_dtourlb64(const struct sshbuf *d, struct sshbuf *b64, int wrap);
crypto/openssh/sshbuf.h
274
int sshbuf_b64tod(struct sshbuf *buf, const char *b64);
crypto/openssh/sshbuf.h
288
int sshbuf_cmp(const struct sshbuf *b, size_t offset,
crypto/openssh/sshbuf.h
298
int sshbuf_equals(const struct sshbuf *a, const struct sshbuf *b);
crypto/openssh/sshbuf.h
309
sshbuf_find(const struct sshbuf *b, size_t start_offset,
crypto/openssh/sshbuf.h
317
char *sshbuf_dup_string(struct sshbuf *buf);
crypto/openssh/sshbuf.h
323
int sshbuf_load_fd(int, struct sshbuf **)
crypto/openssh/sshbuf.h
325
int sshbuf_load_file(const char *, struct sshbuf **)
crypto/openssh/sshbuf.h
332
int sshbuf_write_file(const char *path, struct sshbuf *buf)
crypto/openssh/sshbuf.h
336
int sshbuf_read(int, struct sshbuf *, size_t, size_t *)
crypto/openssh/sshbuf.h
39
struct sshbuf;
crypto/openssh/sshbuf.h
391
size_t sshbuf_alloc(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
396
int sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent);
crypto/openssh/sshbuf.h
401
const struct sshbuf *sshbuf_parent(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
406
u_int sshbuf_refcount(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
45
struct sshbuf *sshbuf_new(void);
crypto/openssh/sshbuf.h
51
struct sshbuf *sshbuf_from(const void *blob, size_t len);
crypto/openssh/sshbuf.h
59
struct sshbuf *sshbuf_fromb(struct sshbuf *buf);
crypto/openssh/sshbuf.h
69
int sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp);
crypto/openssh/sshbuf.h
74
void sshbuf_free(struct sshbuf *buf);
crypto/openssh/sshbuf.h
79
void sshbuf_reset(struct sshbuf *buf);
crypto/openssh/sshbuf.h
84
size_t sshbuf_max_size(const struct sshbuf *buf);
crypto/openssh/sshbuf.h
90
int sshbuf_set_max_size(struct sshbuf *buf, size_t max_size);
crypto/openssh/sshbuf.h
95
size_t sshbuf_len(const struct sshbuf *buf);
crypto/openssh/sshconnect2.c
1321
struct sshbuf *b = NULL;
crypto/openssh/sshconnect2.c
2031
struct sshbuf *b;
crypto/openssh/sshconnect2.c
2148
struct sshbuf *b = NULL;
crypto/openssh/sshconnect2.c
2364
struct sshbuf *b;
crypto/openssh/sshconnect2.c
859
struct sshbuf *b;
crypto/openssh/sshd-auth.c
154
struct sshbuf *cfg;
crypto/openssh/sshd-auth.c
160
struct sshbuf *loginmsg;
crypto/openssh/sshd-auth.c
219
append_hostkey_type(struct sshbuf *b, const char *s)
crypto/openssh/sshd-auth.c
234
struct sshbuf *b;
crypto/openssh/sshd-auth.c
380
parse_hostkeys(struct sshbuf *hostkeys)
crypto/openssh/sshd-auth.c
421
struct sshbuf *hostkeys;
crypto/openssh/sshd-session.c
176
struct sshbuf *cfg;
crypto/openssh/sshd-session.c
182
struct sshbuf *loginmsg;
crypto/openssh/sshd-session.c
266
struct sshbuf *
crypto/openssh/sshd-session.c
269
struct sshbuf *keybuf = NULL, *hostkeys = NULL;
crypto/openssh/sshd-session.c
528
struct sshbuf *buf;
crypto/openssh/sshd-session.c
588
parse_hostkeys(struct sshbuf *hostkeys)
crypto/openssh/sshd-session.c
593
struct sshbuf *kbuf;
crypto/openssh/sshd-session.c
644
recv_rexec_state(int fd, struct sshbuf *conf, uint64_t *timing_secretp)
crypto/openssh/sshd-session.c
646
struct sshbuf *m, *inc, *hostkeys;
crypto/openssh/sshd.c
1290
accumulate_host_timing_secret(struct sshbuf *server_cfg,
crypto/openssh/sshd.c
1296
struct sshbuf *buf;
crypto/openssh/sshd.c
190
struct sshbuf *config;
crypto/openssh/sshd.c
191
struct sshbuf *keys;
crypto/openssh/sshd.c
197
struct sshbuf *cfg;
crypto/openssh/sshd.c
198
struct sshbuf *config; /* packed */
crypto/openssh/sshd.c
204
struct sshbuf *loginmsg;
crypto/openssh/sshd.c
674
static struct sshbuf *
crypto/openssh/sshd.c
677
struct sshbuf *m = NULL, *keybuf = NULL, *hostkeys = NULL;
crypto/openssh/sshd.c
731
static struct sshbuf *
crypto/openssh/sshd.c
732
pack_config(struct sshbuf *conf)
crypto/openssh/sshd.c
734
struct sshbuf *m = NULL, *inc = NULL;
crypto/openssh/sshd.c
799
struct sshbuf *keys;
crypto/openssh/sshd.c
945
struct sshbuf *buf;
crypto/openssh/sshkey.c
1319
struct sshbuf *blob;
crypto/openssh/sshkey.c
1390
struct sshbuf *b = NULL;
crypto/openssh/sshkey.c
1416
sshkey_format_text(const struct sshkey *key, struct sshbuf *b)
crypto/openssh/sshkey.c
1435
struct sshbuf *b = NULL;
crypto/openssh/sshkey.c
1647
struct sshbuf *prvbuf = NULL;
crypto/openssh/sshkey.c
1755
private2_check_padding(struct sshbuf *decrypted)
crypto/openssh/sshkey.c
1781
struct sshbuf *prvbuf = NULL;
crypto/openssh/sshkey.c
1868
cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf)
crypto/openssh/sshkey.c
1870
struct sshbuf *principals = NULL, *crit = NULL;
crypto/openssh/sshkey.c
1871
struct sshbuf *exts = NULL, *ca = NULL;
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
2009
struct sshbuf *copy;
crypto/openssh/sshkey.c
2072
struct sshbuf *b;
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
2091
struct sshbuf *b;
crypto/openssh/sshkey.c
2105
struct sshbuf *b = NULL;
crypto/openssh/sshkey.c
2287
struct sshbuf *principals = NULL;
crypto/openssh/sshkey.c
2291
struct sshbuf *cert = NULL;
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
2553
struct sshbuf *b = NULL;
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
2832
sshkey_private_to_blob2(struct sshkey *prv, struct sshbuf *blob,
crypto/openssh/sshkey.c
2844
struct sshbuf *encoded = NULL, *encrypted = NULL, *kdf = NULL;
crypto/openssh/sshkey.c
2957
private2_uudecode(struct sshbuf *blob, struct sshbuf **decodedp)
crypto/openssh/sshkey.c
2963
struct sshbuf *encoded = NULL, *decoded = NULL;
crypto/openssh/sshkey.c
3032
private2_decrypt(struct sshbuf *decoded, const char *passphrase,
crypto/openssh/sshkey.c
3033
struct sshbuf **decryptedp, struct sshkey **pubkeyp)
crypto/openssh/sshkey.c
3039
struct sshbuf *kdf = NULL, *decrypted = NULL;
crypto/openssh/sshkey.c
3179
sshkey_parse_private2(struct sshbuf *blob, int type, const char *passphrase,
crypto/openssh/sshkey.c
3184
struct sshbuf *decoded = NULL, *decrypted = NULL;
crypto/openssh/sshkey.c
3239
sshkey_parse_private2_pubkey(struct sshbuf *blob, int type,
crypto/openssh/sshkey.c
3243
struct sshbuf *decoded = NULL;
crypto/openssh/sshkey.c
3291
sshkey_private_to_blob_pem_pkcs8(struct sshkey *key, struct sshbuf *buf,
crypto/openssh/sshkey.c
3301
struct sshbuf *blob;
crypto/openssh/sshkey.c
3390
sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
crypto/openssh/sshkey.c
3514
sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type,
crypto/openssh/sshkey.c
3659
sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type,
crypto/openssh/sshkey.c
3682
sshkey_parse_private_fileblob(struct sshbuf *buffer, const char *passphrase,
crypto/openssh/sshkey.c
3701
sshkey_parse_pubkey_from_private_fileblob_type(struct sshbuf *blob, int type,
crypto/openssh/sshkey.c
85
static int sshkey_from_blob_internal(struct sshbuf *buf,
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
915
struct sshbuf *tmp;
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
951
struct sshbuf *b = NULL;
crypto/openssh/sshkey.h
105
struct sshbuf *certblob; /* Kept around for use on wire */
crypto/openssh/sshkey.h
112
struct sshbuf *critical;
crypto/openssh/sshkey.h
113
struct sshbuf *extensions;
crypto/openssh/sshkey.h
135
struct sshbuf *sk_key_handle;
crypto/openssh/sshkey.h
136
struct sshbuf *sk_reserved;
crypto/openssh/sshkey.h
160
int (*serialize_public)(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey.h
162
int (*deserialize_public)(const char *, struct sshbuf *,
crypto/openssh/sshkey.h
164
int (*serialize_private)(const struct sshkey *, struct sshbuf *,
crypto/openssh/sshkey.h
166
int (*deserialize_private)(const char *, struct sshbuf *,
crypto/openssh/sshkey.h
201
int sshkey_format_text(const struct sshkey *, struct sshbuf *);
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
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
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
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
297
int sshkey_parse_private_fileblob(struct sshbuf *buffer,
crypto/openssh/sshkey.h
299
int sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type,
crypto/openssh/sshkey.h
301
int sshkey_parse_pubkey_from_private_fileblob_type(struct sshbuf *blob,
crypto/openssh/sshkey.h
326
int sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b);
crypto/openssh/sshkey.h
328
int sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key);
crypto/openssh/sshkey.h
330
struct sshbuf *buf);
crypto/openssh/sshkey.h
331
int sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k);
crypto/openssh/sshkey.h
56
struct sshbuf;
crypto/openssh/sshlogin.c
66
extern struct sshbuf *loginmsg;
crypto/openssh/sshsig.c
1149
sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey)
crypto/openssh/sshsig.c
165
const char *sk_provider, const char *sk_pin, const struct sshbuf *h_message,
crypto/openssh/sshsig.c
166
const char *sig_namespace, struct sshbuf **out,
crypto/openssh/sshsig.c
172
struct sshbuf *blob = NULL;
crypto/openssh/sshsig.c
173
struct sshbuf *tosign = NULL;
crypto/openssh/sshsig.c
242
sshsig_parse_preamble(struct sshbuf *buf)
crypto/openssh/sshsig.c
273
sshsig_peek_hashalg(struct sshbuf *signature, char **hashalgp)
crypto/openssh/sshsig.c
275
struct sshbuf *buf = NULL;
crypto/openssh/sshsig.c
305
sshsig_wrap_verify(struct sshbuf *signature, const char *hashalg,
crypto/openssh/sshsig.c
306
const struct sshbuf *h_message, const char *expect_namespace,
crypto/openssh/sshsig.c
310
struct sshbuf *buf = NULL, *toverify = NULL;
crypto/openssh/sshsig.c
406
hash_buffer(const struct sshbuf *m, const char *hashalg, struct sshbuf **bp)
crypto/openssh/sshsig.c
410
struct sshbuf *b = NULL;
crypto/openssh/sshsig.c
450
const struct sshbuf *message, const char *sig_namespace,
crypto/openssh/sshsig.c
451
struct sshbuf **out, sshsig_signer *signer, void *signer_ctx)
crypto/openssh/sshsig.c
453
struct sshbuf *b = NULL;
crypto/openssh/sshsig.c
475
sshsig_verifyb(struct sshbuf *signature, const struct sshbuf *message,
crypto/openssh/sshsig.c
479
struct sshbuf *b = NULL;
crypto/openssh/sshsig.c
49
sshsig_armor(const struct sshbuf *blob, struct sshbuf **out)
crypto/openssh/sshsig.c
506
hash_file(int fd, const char *hashalg, struct sshbuf **bp)
crypto/openssh/sshsig.c
51
struct sshbuf *buf = NULL;
crypto/openssh/sshsig.c
512
struct sshbuf *b = NULL;
crypto/openssh/sshsig.c
578
int fd, const char *sig_namespace, struct sshbuf **out,
crypto/openssh/sshsig.c
581
struct sshbuf *b = NULL;
crypto/openssh/sshsig.c
603
sshsig_verify_fd(struct sshbuf *signature, int fd,
crypto/openssh/sshsig.c
607
struct sshbuf *b = NULL;
crypto/openssh/sshsig.c
843
struct sshbuf *nprincipals;
crypto/openssh/sshsig.c
88
sshsig_dearmor(struct sshbuf *sig, struct sshbuf **out)
crypto/openssh/sshsig.c
92
struct sshbuf *buf = NULL;
crypto/openssh/sshsig.c
93
struct sshbuf *sbuf = NULL;
crypto/openssh/sshsig.h
21
struct sshbuf;
crypto/openssh/sshsig.h
38
const char *sk_provider, const char *sk_pin, const struct sshbuf *message,
crypto/openssh/sshsig.h
39
const char *sig_namespace, struct sshbuf **out,
crypto/openssh/sshsig.h
47
int sshsig_verifyb(struct sshbuf *signature,
crypto/openssh/sshsig.h
48
const struct sshbuf *message, const char *sig_namespace,
crypto/openssh/sshsig.h
61
struct sshbuf **out, sshsig_signer *signer, void *signer_ctx);
crypto/openssh/sshsig.h
68
int sshsig_verify_fd(struct sshbuf *signature, int fd,
crypto/openssh/sshsig.h
77
int sshsig_armor(const struct sshbuf *blob, struct sshbuf **out);
crypto/openssh/sshsig.h
82
int sshsig_dearmor(struct sshbuf *sig, struct sshbuf **out);
crypto/openssh/sshsig.h
99
int sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey);
crypto/openssh/ttymodes.c
281
struct sshbuf *buf;
crypto/openssh/ttymodes.c
345
struct sshbuf *buf;