regress/usr.bin/ssh/misc/ssh-verify-attestation/ssh-verify-attestation.c
201
struct sshbuf *b = NULL;
regress/usr.bin/ssh/misc/ssh-verify-attestation/ssh-verify-attestation.c
330
struct sshbuf *attestation = NULL, *challenge = NULL;
regress/usr.bin/ssh/misc/ssh-verify-attestation/ssh-verify-attestation.c
331
struct sshbuf *attestation_cert = NULL;
regress/usr.bin/ssh/misc/ssh-verify-attestation/ssh-verify-attestation.c
78
const char *rp_id, struct sshbuf *b, const struct sshbuf *challenge,
regress/usr.bin/ssh/misc/ssh-verify-attestation/ssh-verify-attestation.c
79
struct sshbuf **attestation_certp)
regress/usr.bin/ssh/misc/ssh-verify-attestation/ssh-verify-attestation.c
81
struct sshbuf *attestation_cert = NULL, *sig = NULL, *authdata = NULL;
regress/usr.bin/ssh/unittests/crypto/test_mldsa.c
21
struct sshbuf *load_text_file(const char *name);
regress/usr.bin/ssh/unittests/crypto/test_mldsa.c
22
char *get_json_string(struct sshbuf *content, const char *key, int consume);
regress/usr.bin/ssh/unittests/crypto/test_mldsa.c
38
struct sshbuf *json_buf;
regress/usr.bin/ssh/unittests/crypto/test_mldsa_eddsa.c
25
struct sshbuf *load_text_file(const char *name);
regress/usr.bin/ssh/unittests/crypto/test_mldsa_eddsa.c
26
char *get_json_string(struct sshbuf *content, const char *key, int consume);
regress/usr.bin/ssh/unittests/crypto/test_mldsa_eddsa.c
35
static struct sshbuf *
regress/usr.bin/ssh/unittests/crypto/test_mldsa_eddsa.c
36
get_json_b64(struct sshbuf *content, const char *key)
regress/usr.bin/ssh/unittests/crypto/test_mldsa_eddsa.c
39
struct sshbuf *ret;
regress/usr.bin/ssh/unittests/crypto/test_mldsa_eddsa.c
88
struct sshbuf *b_m = NULL, *b_ctx = NULL, *b_pk = NULL;
regress/usr.bin/ssh/unittests/crypto/test_mldsa_eddsa.c
89
struct sshbuf *b_sk = NULL, *b_s = NULL, *b_sWithContext = NULL;
regress/usr.bin/ssh/unittests/crypto/test_mldsa_eddsa.c
90
struct sshbuf *json_buf = NULL;
regress/usr.bin/ssh/unittests/crypto/tests.c
20
struct sshbuf *load_text_file(const char *name);
regress/usr.bin/ssh/unittests/crypto/tests.c
21
char *get_json_string(struct sshbuf *content, const char *key, int consume);
regress/usr.bin/ssh/unittests/crypto/tests.c
23
static struct sshbuf *
regress/usr.bin/ssh/unittests/crypto/tests.c
26
struct sshbuf *ret = NULL;
regress/usr.bin/ssh/unittests/crypto/tests.c
33
struct sshbuf *
regress/usr.bin/ssh/unittests/crypto/tests.c
36
struct sshbuf *ret = load_file(name);
regress/usr.bin/ssh/unittests/crypto/tests.c
61
get_json_string(struct sshbuf *content, const char *key, int consume)
regress/usr.bin/ssh/unittests/crypto/tests.c
63
struct sshbuf *tmp;
regress/usr.bin/ssh/unittests/kex/test_kex.c
81
struct sshbuf *state;
regress/usr.bin/ssh/unittests/servconf/tests.c
131
struct sshbuf *buf = NULL;
regress/usr.bin/ssh/unittests/servconf/tests.c
205
struct sshbuf *buf = NULL;
regress/usr.bin/ssh/unittests/servconf/tests.c
222
struct sshbuf *buf = NULL;
regress/usr.bin/ssh/unittests/servconf/tests.c
24
struct sshbuf *cfg;
regress/usr.bin/ssh/unittests/servconf/tests.c
240
struct sshbuf *buf = NULL;
regress/usr.bin/ssh/unittests/servconf/tests.c
259
struct sshbuf *buf = NULL;
regress/usr.bin/ssh/unittests/servconf/tests.c
280
struct sshbuf *buf;
regress/usr.bin/ssh/unittests/servconf/tests.c
293
struct sshbuf *buf = NULL;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf.c
27
struct sshbuf *p1, *p2, *p3;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_fixed.c
27
struct sshbuf *p1, *p2, *p3;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_fuzz.c
26
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_getput_basic.c
23
struct sshbuf *p1, *p2;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_getput_crypto.c
27
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_getput_fuzz.c
27
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
125
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
158
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
194
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
222
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
24
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
261
struct sshbuf *b1, *b2;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
332
struct sshbuf *b, *b64;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
52
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshbuf/test_sshbuf_misc.c
70
struct sshbuf *p1;
regress/usr.bin/ssh/unittests/sshkey/common.c
31
struct sshbuf *
regress/usr.bin/ssh/unittests/sshkey/common.c
34
struct sshbuf *ret = NULL;
regress/usr.bin/ssh/unittests/sshkey/common.c
41
struct sshbuf *
regress/usr.bin/ssh/unittests/sshkey/common.c
44
struct sshbuf *ret = load_file(name);
regress/usr.bin/ssh/unittests/sshkey/common.c
66
struct sshbuf *buf;
regress/usr.bin/ssh/unittests/sshkey/common.h
12
struct sshbuf *load_text_file(const char *name);
regress/usr.bin/ssh/unittests/sshkey/common.h
9
struct sshbuf *load_file(const char *name);
regress/usr.bin/ssh/unittests/sshkey/test_file.c
38
struct sshbuf *buf, *pw;
regress/usr.bin/ssh/unittests/sshkey/test_fuzz.c
108
struct sshbuf *buf, *fuzzed;
regress/usr.bin/ssh/unittests/sshkey/test_fuzz.c
44
struct sshbuf *buf;
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
223
struct sshbuf *b;
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
237
struct sshbuf *b = NULL;
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
33
put_opt(struct sshbuf *b, const char *name, const char *value)
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
35
struct sshbuf *sect;
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
47
build_cert(struct sshbuf *b, struct sshkey *k, const char *type,
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
51
struct sshbuf *ca_buf, *pk, *principals, *critopts, *exts;
regress/usr.bin/ssh/unittests/sshsig/tests.c
30
static struct sshbuf *
regress/usr.bin/ssh/unittests/sshsig/tests.c
33
struct sshbuf *ret = NULL;
regress/usr.bin/ssh/unittests/sshsig/tests.c
50
check_sig(const char *keyname, const char *signame, const struct sshbuf *msg,
regress/usr.bin/ssh/unittests/sshsig/tests.c
54
struct sshbuf *sig, *rawsig;
regress/usr.bin/ssh/unittests/sshsig/tests.c
76
struct sshbuf *msg;
usr.bin/ssh/auth-options.c
702
serialise_array(struct sshbuf *m, char **a, size_t n)
usr.bin/ssh/auth-options.c
704
struct sshbuf *b;
usr.bin/ssh/auth-options.c
72
cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob,
usr.bin/ssh/auth-options.c
729
deserialise_array(struct sshbuf *m, char ***ap, size_t *np)
usr.bin/ssh/auth-options.c
733
struct sshbuf *b = NULL;
usr.bin/ssh/auth-options.c
77
struct sshbuf *c = NULL, *data = NULL;
usr.bin/ssh/auth-options.c
770
serialise_nullable_string(struct sshbuf *m, const char *s)
usr.bin/ssh/auth-options.c
781
deserialise_nullable_string(struct sshbuf *m, char **sp)
usr.bin/ssh/auth-options.c
794
sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m,
usr.bin/ssh/auth-options.c
846
sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **optsp)
usr.bin/ssh/auth-options.h
85
int sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m, int);
usr.bin/ssh/auth-options.h
86
int sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **opts);
usr.bin/ssh/auth-passwd.c
58
extern struct sshbuf *loginmsg;
usr.bin/ssh/auth.c
73
static struct sshbuf *auth_debug;
usr.bin/ssh/auth.h
41
struct sshbuf;
usr.bin/ssh/auth.h
88
struct sshbuf *session_info; /* Auth info for environment */
usr.bin/ssh/auth2-chall.c
71
struct sshbuf *b;
usr.bin/ssh/auth2-gss.c
281
struct sshbuf *b;
usr.bin/ssh/auth2-hostbased.c
62
struct sshbuf *b;
usr.bin/ssh/auth2-pubkey.c
123
struct sshbuf *pkbuf;
usr.bin/ssh/auth2-pubkey.c
91
struct sshbuf *b = NULL;
usr.bin/ssh/auth2.c
453
struct sshbuf *b;
usr.bin/ssh/authfd.c
136
ssh_request_reply(int sock, struct sshbuf *request, struct sshbuf *reply)
usr.bin/ssh/authfd.c
180
ssh_request_reply_decode(int sock, struct sshbuf *request)
usr.bin/ssh/authfd.c
182
struct sshbuf *reply;
usr.bin/ssh/authfd.c
217
struct sshbuf *msg;
usr.bin/ssh/authfd.c
234
deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp)
usr.bin/ssh/authfd.c
264
struct sshbuf *msg;
usr.bin/ssh/authfd.c
406
struct sshbuf *msg;
usr.bin/ssh/authfd.c
463
encode_dest_constraint_hop(struct sshbuf *m,
usr.bin/ssh/authfd.c
466
struct sshbuf *b;
usr.bin/ssh/authfd.c
491
encode_dest_constraint(struct sshbuf *m, const struct dest_constraint *dc)
usr.bin/ssh/authfd.c
493
struct sshbuf *b;
usr.bin/ssh/authfd.c
512
encode_constraints(struct sshbuf *m, u_int life, u_int confirm,
usr.bin/ssh/authfd.c
518
struct sshbuf *b = NULL;
usr.bin/ssh/authfd.c
592
struct sshbuf *msg;
usr.bin/ssh/authfd.c
646
struct sshbuf *msg;
usr.bin/ssh/authfd.c
686
struct sshbuf *msg;
usr.bin/ssh/authfd.c
728
struct sshbuf *msg;
usr.bin/ssh/authfd.c
750
const struct sshbuf *session_id, const struct sshbuf *signature,
usr.bin/ssh/authfd.c
753
struct sshbuf *msg;
usr.bin/ssh/authfd.c
780
struct sshbuf *msg;
usr.bin/ssh/authfd.h
19
struct sshbuf;
usr.bin/ssh/authfd.h
67
const struct sshbuf *session_id, const struct sshbuf *signature,
usr.bin/ssh/authfile.c
141
struct sshbuf *buffer = NULL;
usr.bin/ssh/authfile.c
162
struct sshbuf *buffer = NULL;
usr.bin/ssh/authfile.c
47
sshkey_save_private_blob(struct sshbuf *keybuf, const char *filename)
usr.bin/ssh/authfile.c
63
struct sshbuf *keyblob = NULL;
usr.bin/ssh/authfile.h
30
struct sshbuf;
usr.bin/ssh/channels.c
1089
struct sshbuf *buf;
usr.bin/ssh/channels.c
1371
x11_open_helper(struct ssh *ssh, struct sshbuf *b)
usr.bin/ssh/channels.c
1525
channel_decode_socks4(Channel *c, struct sshbuf *input, struct sshbuf *output)
usr.bin/ssh/channels.c
1531
struct sshbuf *b = NULL;
usr.bin/ssh/channels.c
1615
channel_socks5_check_auth(Channel *c, struct sshbuf *b, struct sshbuf *input,
usr.bin/ssh/channels.c
1616
struct sshbuf *output)
usr.bin/ssh/channels.c
1654
channel_decode_socks5(Channel *c, struct sshbuf *input, struct sshbuf *output)
usr.bin/ssh/channels.c
1661
struct sshbuf *b = NULL;
usr.bin/ssh/channels.c
3189
struct sshbuf *original = NULL, *modified = NULL;
usr.bin/ssh/channels.c
3341
struct sshbuf *b = NULL;
usr.bin/ssh/channels.h
161
struct sshbuf *input; /* data read from socket, to be sent over
usr.bin/ssh/channels.h
163
struct sshbuf *output; /* data received over encrypted connection for
usr.bin/ssh/channels.h
165
struct sshbuf *extended;
usr.bin/ssh/clientloop.c
1132
print_escape_help(struct sshbuf *b, int escape_char, int mux_client,
usr.bin/ssh/clientloop.c
1168
struct sshbuf *bin, struct sshbuf *bout, struct sshbuf *berr,
usr.bin/ssh/clientloop.c
1716
struct sshbuf *b = NULL;
usr.bin/ssh/clientloop.c
2354
struct sshbuf *signdata;
usr.bin/ssh/clientloop.c
2458
struct sshbuf *buf = NULL;
usr.bin/ssh/clientloop.c
2701
const char *term, struct termios *tiop, int in_fd, struct sshbuf *cmd,
usr.bin/ssh/clientloop.c
760
client_suspend_self(struct sshbuf *bin, struct sshbuf *bout, struct sshbuf *berr)
usr.bin/ssh/clientloop.h
47
const char *, struct termios *, int, struct sshbuf *, char **);
usr.bin/ssh/digest-libc.c
192
ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b)
usr.bin/ssh/digest-libc.c
243
ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
usr.bin/ssh/digest-openssl.c
135
ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b)
usr.bin/ssh/digest-openssl.c
185
ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
usr.bin/ssh/digest.h
32
struct sshbuf;
usr.bin/ssh/digest.h
56
int ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
usr.bin/ssh/digest.h
64
const struct sshbuf *b);
usr.bin/ssh/gss-genr.c
109
struct sshbuf *b;
usr.bin/ssh/gss-genr.c
257
ssh_gssapi_buildmic(struct sshbuf *b, const char *user, const char *service,
usr.bin/ssh/gss-genr.c
258
const char *context, const struct sshbuf *session_id)
usr.bin/ssh/gss-genr.c
48
ssh_gssapi_get_buffer_desc(struct sshbuf *b, gss_buffer_desc *g)
usr.bin/ssh/hmac.c
98
ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b)
usr.bin/ssh/hmac.h
24
struct sshbuf;
usr.bin/ssh/hmac.h
33
int ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b);
usr.bin/ssh/hostfile.c
435
format_host_entry(struct sshbuf *entry, const char *host, const char *ip,
usr.bin/ssh/hostfile.c
479
struct sshbuf *entry = NULL;
usr.bin/ssh/kex.c
1067
const struct sshbuf *shared_secret, u_char **keyp)
usr.bin/ssh/kex.c
1132
const struct sshbuf *shared_secret)
usr.bin/ssh/kex.c
1249
struct sshbuf *our_version = ssh->kex->server ?
usr.bin/ssh/kex.c
1251
struct sshbuf *peer_version = ssh->kex->server ?
usr.bin/ssh/kex.c
145
kex_prop2buf(struct sshbuf *b, char *proposal[PROPOSAL_MAX])
usr.bin/ssh/kex.c
172
kex_buf2prop(struct sshbuf *raw, int *first_kex_follows, char ***propp)
usr.bin/ssh/kex.c
174
struct sshbuf *b = NULL;
usr.bin/ssh/kex.c
292
kex_compose_ext_info_server(struct ssh *ssh, struct sshbuf *m)
usr.bin/ssh/kex.c
316
kex_compose_ext_info_client(struct ssh *ssh, struct sshbuf *m)
usr.bin/ssh/kex.c
336
struct sshbuf *m = NULL;
usr.bin/ssh/kex.h
142
struct sshbuf;
usr.bin/ssh/kex.h
159
struct sshbuf *my;
usr.bin/ssh/kex.h
160
struct sshbuf *peer;
usr.bin/ssh/kex.h
161
struct sshbuf *client_version;
usr.bin/ssh/kex.h
162
struct sshbuf *server_version;
usr.bin/ssh/kex.h
163
struct sshbuf *session_id;
usr.bin/ssh/kex.h
164
struct sshbuf *initial_sig;
usr.bin/ssh/kex.h
187
struct sshbuf *client_pub;
usr.bin/ssh/kex.h
212
int kex_buf2prop(struct sshbuf *, int *, char ***);
usr.bin/ssh/kex.h
213
int kex_prop2buf(struct sshbuf *, char *proposal[PROPOSAL_MAX]);
usr.bin/ssh/kex.h
222
int kex_derive_keys(struct ssh *, u_char *, u_int, const struct sshbuf *);
usr.bin/ssh/kex.h
234
int kex_dh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
usr.bin/ssh/kex.h
235
struct sshbuf **);
usr.bin/ssh/kex.h
236
int kex_dh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
usr.bin/ssh/kex.h
238
int kex_ecdh_dec_key_group(struct kex *, const struct sshbuf *, EC_KEY *key,
usr.bin/ssh/kex.h
239
const EC_GROUP *, struct sshbuf **);
usr.bin/ssh/kex.h
242
int kex_ecdh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
usr.bin/ssh/kex.h
243
struct sshbuf **);
usr.bin/ssh/kex.h
244
int kex_ecdh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
usr.bin/ssh/kex.h
247
int kex_c25519_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
usr.bin/ssh/kex.h
248
struct sshbuf **);
usr.bin/ssh/kex.h
249
int kex_c25519_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
usr.bin/ssh/kex.h
252
int kex_kem_sntrup761x25519_enc(struct kex *, const struct sshbuf *,
usr.bin/ssh/kex.h
253
struct sshbuf **, struct sshbuf **);
usr.bin/ssh/kex.h
254
int kex_kem_sntrup761x25519_dec(struct kex *, const struct sshbuf *,
usr.bin/ssh/kex.h
255
struct sshbuf **);
usr.bin/ssh/kex.h
258
int kex_kem_mlkem768x25519_enc(struct kex *, const struct sshbuf *,
usr.bin/ssh/kex.h
259
struct sshbuf **, struct sshbuf **);
usr.bin/ssh/kex.h
260
int kex_kem_mlkem768x25519_dec(struct kex *, const struct sshbuf *,
usr.bin/ssh/kex.h
261
struct sshbuf **);
usr.bin/ssh/kex.h
264
int kex_kem_mlkem768ecdh_enc(struct kex *, const struct sshbuf *,
usr.bin/ssh/kex.h
265
struct sshbuf **, struct sshbuf **);
usr.bin/ssh/kex.h
266
int kex_kem_mlkem768ecdh_dec(struct kex *, const struct sshbuf *,
usr.bin/ssh/kex.h
267
struct sshbuf **);
usr.bin/ssh/kex.h
270
int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *);
usr.bin/ssh/kex.h
272
int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *,
usr.bin/ssh/kex.h
273
const struct sshbuf *, const struct sshbuf *, const struct sshbuf *,
usr.bin/ssh/kex.h
283
const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
usr.bin/ssh/kex.h
287
const u_char pub[CURVE25519_SIZE], struct sshbuf *out, int)
usr.bin/ssh/kexc25519.c
112
kex_c25519_enc(struct kex *kex, const struct sshbuf *client_blob,
usr.bin/ssh/kexc25519.c
113
struct sshbuf **server_blobp, struct sshbuf **shared_secretp)
usr.bin/ssh/kexc25519.c
115
struct sshbuf *server_blob = NULL;
usr.bin/ssh/kexc25519.c
116
struct sshbuf *buf = NULL;
usr.bin/ssh/kexc25519.c
164
kex_c25519_dec(struct kex *kex, const struct sshbuf *server_blob,
usr.bin/ssh/kexc25519.c
165
struct sshbuf **shared_secretp)
usr.bin/ssh/kexc25519.c
167
struct sshbuf *buf = NULL;
usr.bin/ssh/kexc25519.c
58
const u_char pub[CURVE25519_SIZE], struct sshbuf *out, int raw)
usr.bin/ssh/kexc25519.c
84
const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
usr.bin/ssh/kexc25519.c
92
struct sshbuf *buf = NULL;
usr.bin/ssh/kexdh.c
111
struct sshbuf *buf = NULL;
usr.bin/ssh/kexdh.c
136
kex_dh_enc(struct kex *kex, const struct sshbuf *client_blob,
usr.bin/ssh/kexdh.c
137
struct sshbuf **server_blobp, struct sshbuf **shared_secretp)
usr.bin/ssh/kexdh.c
140
struct sshbuf *server_blob = NULL;
usr.bin/ssh/kexdh.c
168
kex_dh_dec(struct kex *kex, const struct sshbuf *dh_blob,
usr.bin/ssh/kexdh.c
169
struct sshbuf **shared_secretp)
usr.bin/ssh/kexdh.c
171
struct sshbuf *buf = NULL;
usr.bin/ssh/kexdh.c
66
kex_dh_compute_key(struct kex *kex, BIGNUM *dh_pub, struct sshbuf *out)
usr.bin/ssh/kexecdh.c
129
kex_ecdh_dec_key_group(struct kex *kex, const struct sshbuf *ec_blob,
usr.bin/ssh/kexecdh.c
130
EC_KEY *key, const EC_GROUP *group, struct sshbuf **shared_secretp)
usr.bin/ssh/kexecdh.c
132
struct sshbuf *buf = NULL;
usr.bin/ssh/kexecdh.c
191
kex_ecdh_dec(struct kex *kex, const struct sshbuf *server_blob,
usr.bin/ssh/kexecdh.c
192
struct sshbuf **shared_secretp)
usr.bin/ssh/kexecdh.c
46
struct sshbuf *buf = NULL;
usr.bin/ssh/kexecdh.c
83
kex_ecdh_enc(struct kex *kex, const struct sshbuf *client_blob,
usr.bin/ssh/kexecdh.c
84
struct sshbuf **server_blobp, struct sshbuf **shared_secretp)
usr.bin/ssh/kexecdh.c
89
struct sshbuf *server_blob = NULL;
usr.bin/ssh/kexgen.c
147
struct sshbuf *shared_secret = NULL;
usr.bin/ssh/kexgen.c
148
struct sshbuf *server_blob = NULL;
usr.bin/ssh/kexgen.c
149
struct sshbuf *tmp = NULL, *server_host_key_blob = NULL;
usr.bin/ssh/kexgen.c
284
struct sshbuf *shared_secret = NULL;
usr.bin/ssh/kexgen.c
285
struct sshbuf *server_pubkey = NULL;
usr.bin/ssh/kexgen.c
286
struct sshbuf *client_pubkey = NULL;
usr.bin/ssh/kexgen.c
287
struct sshbuf *server_host_key_blob = NULL;
usr.bin/ssh/kexgen.c
48
const struct sshbuf *client_version,
usr.bin/ssh/kexgen.c
49
const struct sshbuf *server_version,
usr.bin/ssh/kexgen.c
50
const struct sshbuf *client_kexinit,
usr.bin/ssh/kexgen.c
51
const struct sshbuf *server_kexinit,
usr.bin/ssh/kexgen.c
52
const struct sshbuf *server_host_key_blob,
usr.bin/ssh/kexgen.c
53
const struct sshbuf *client_pub,
usr.bin/ssh/kexgen.c
54
const struct sshbuf *server_pub,
usr.bin/ssh/kexgen.c
55
const struct sshbuf *shared_secret,
usr.bin/ssh/kexgen.c
58
struct sshbuf *b;
usr.bin/ssh/kexgex.c
41
const struct sshbuf *client_version,
usr.bin/ssh/kexgex.c
42
const struct sshbuf *server_version,
usr.bin/ssh/kexgex.c
43
const struct sshbuf *client_kexinit,
usr.bin/ssh/kexgex.c
44
const struct sshbuf *server_kexinit,
usr.bin/ssh/kexgex.c
45
const struct sshbuf *server_host_key_blob,
usr.bin/ssh/kexgex.c
54
struct sshbuf *b;
usr.bin/ssh/kexgexc.c
144
struct sshbuf *shared_secret = NULL;
usr.bin/ssh/kexgexc.c
145
struct sshbuf *tmp = NULL, *server_host_key_blob = NULL;
usr.bin/ssh/kexgexs.c
126
struct sshbuf *shared_secret = NULL;
usr.bin/ssh/kexgexs.c
127
struct sshbuf *server_host_key_blob = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
105
const struct sshbuf *client_blob, struct sshbuf **server_blobp,
usr.bin/ssh/kexmlkem768ecdh.c
106
struct sshbuf **shared_secretp)
usr.bin/ssh/kexmlkem768ecdh.c
111
struct sshbuf *ec_pub = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
112
struct sshbuf *ec_blob = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
113
struct sshbuf *ec_shared = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
114
struct sshbuf *server_blob = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
115
struct sshbuf *buf = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
231
const struct sshbuf *server_blob, struct sshbuf **shared_secretp)
usr.bin/ssh/kexmlkem768ecdh.c
233
struct sshbuf *buf = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
234
struct sshbuf *ec_pub = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
235
struct sshbuf *ec_shared = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
44
struct sshbuf *buf = NULL;
usr.bin/ssh/kexmlkem768ecdh.c
45
struct sshbuf *ec_blob = NULL;
usr.bin/ssh/kexmlkem768x25519.c
173
const struct sshbuf *server_blob, struct sshbuf **shared_secretp)
usr.bin/ssh/kexmlkem768x25519.c
175
struct sshbuf *buf = NULL;
usr.bin/ssh/kexmlkem768x25519.c
47
struct sshbuf *buf = NULL;
usr.bin/ssh/kexmlkem768x25519.c
81
const struct sshbuf *client_blob, struct sshbuf **server_blobp,
usr.bin/ssh/kexmlkem768x25519.c
82
struct sshbuf **shared_secretp)
usr.bin/ssh/kexmlkem768x25519.c
84
struct sshbuf *server_blob = NULL;
usr.bin/ssh/kexmlkem768x25519.c
85
struct sshbuf *buf = NULL;
usr.bin/ssh/kexsntrup761x25519.c
161
const struct sshbuf *server_blob, struct sshbuf **shared_secretp)
usr.bin/ssh/kexsntrup761x25519.c
163
struct sshbuf *buf = NULL;
usr.bin/ssh/kexsntrup761x25519.c
45
struct sshbuf *buf = NULL;
usr.bin/ssh/kexsntrup761x25519.c
74
const struct sshbuf *client_blob, struct sshbuf **server_blobp,
usr.bin/ssh/kexsntrup761x25519.c
75
struct sshbuf **shared_secretp)
usr.bin/ssh/kexsntrup761x25519.c
77
struct sshbuf *server_blob = NULL;
usr.bin/ssh/kexsntrup761x25519.c
78
struct sshbuf *buf = NULL;
usr.bin/ssh/krl.c
1005
extension_section(struct sshbuf *sect, struct ssh_krl *krl)
usr.bin/ssh/krl.c
1009
struct sshbuf *value = NULL;
usr.bin/ssh/krl.c
1043
ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp)
usr.bin/ssh/krl.c
1045
struct sshbuf *copy = NULL, *sect = NULL;
usr.bin/ssh/krl.c
1272
struct sshbuf *krlbuf = NULL;
usr.bin/ssh/krl.c
551
put_bitmap(struct sshbuf *buf, struct bitmap *bitmap)
usr.bin/ssh/krl.c
571
revoked_certs_generate(struct revoked_certs *rc, struct sshbuf *buf)
usr.bin/ssh/krl.c
578
struct sshbuf *sect;
usr.bin/ssh/krl.c
730
ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf)
usr.bin/ssh/krl.c
735
struct sshbuf *sect;
usr.bin/ssh/krl.c
825
cert_extension_subsection(struct sshbuf *subsect, struct ssh_krl *krl)
usr.bin/ssh/krl.c
829
struct sshbuf *value = NULL;
usr.bin/ssh/krl.c
864
parse_revoked_certs(struct sshbuf *buf, struct ssh_krl *krl)
usr.bin/ssh/krl.c
870
struct sshbuf *subsect = NULL;
usr.bin/ssh/krl.c
981
blob_section(struct sshbuf *sect, struct revoked_blob_tree *target_tree,
usr.bin/ssh/krl.h
43
struct sshbuf;
usr.bin/ssh/krl.h
60
int ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf);
usr.bin/ssh/krl.h
61
int ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp);
usr.bin/ssh/misc.c
1314
struct sshbuf *buf;
usr.bin/ssh/misc.c
2121
struct sshbuf *buf, *arg;
usr.bin/ssh/monitor.c
100
static struct sshbuf *child_state;
usr.bin/ssh/monitor.c
104
int mm_answer_moduli(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
1042
mm_answer_keyallowed(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
105
int mm_answer_setcompat(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
106
int mm_answer_sign(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
107
int mm_answer_pwnamallow(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
108
int mm_answer_auth2_read_banner(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
109
int mm_answer_authserv(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
110
int mm_answer_authpassword(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
111
int mm_answer_bsdauthquery(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
112
int mm_answer_bsdauthrespond(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
113
int mm_answer_keyallowed(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
1136
struct sshbuf *b;
usr.bin/ssh/monitor.c
114
int mm_answer_keyverify(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
115
int mm_answer_pty(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
116
int mm_answer_pty_cleanup(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
117
int mm_answer_term(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
118
int mm_answer_state(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
121
int mm_answer_gss_setup_ctx(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
1218
struct sshbuf *b;
usr.bin/ssh/monitor.c
122
int mm_answer_gss_accept_ctx(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
123
int mm_answer_gss_userok(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
124
int mm_answer_gss_checkmic(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
1284
mm_answer_keyverify(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
1437
mm_answer_pty(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
148
int (*f)(struct ssh *, int, struct sshbuf *);
usr.bin/ssh/monitor.c
1507
mm_answer_pty_cleanup(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
1525
mm_answer_term(struct ssh *ssh, int sock, struct sshbuf *req)
usr.bin/ssh/monitor.c
1675
mm_answer_gss_setup_ctx(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
1708
mm_answer_gss_accept_ctx(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
1742
mm_answer_gss_checkmic(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
1773
mm_answer_gss_userok(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
389
struct sshbuf *logmsg;
usr.bin/ssh/monitor.c
443
struct sshbuf *m;
usr.bin/ssh/monitor.c
538
mm_answer_state(struct ssh *ssh, int sock, struct sshbuf *unused)
usr.bin/ssh/monitor.c
540
struct sshbuf *m = NULL, *config = NULL, *hostkeys = NULL;
usr.bin/ssh/monitor.c
541
struct sshbuf *opts = NULL, *confdata = NULL;
usr.bin/ssh/monitor.c
600
mm_answer_moduli(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
639
mm_answer_setcompat(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
653
mm_answer_sign(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
657
struct sshbuf *sigbuf = NULL;
usr.bin/ssh/monitor.c
775
mm_encode_server_options(struct sshbuf *m)
usr.bin/ssh/monitor.c
778
struct sshbuf *config;
usr.bin/ssh/monitor.c
791
mm_answer_pwnamallow(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
877
int mm_answer_auth2_read_banner(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
893
mm_answer_authserv(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
913
mm_answer_authpassword(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
94
extern struct sshbuf *cfg;
usr.bin/ssh/monitor.c
947
mm_answer_bsdauthquery(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.c
95
extern struct sshbuf *loginmsg;
usr.bin/ssh/monitor.c
981
mm_answer_bsdauthrespond(struct ssh *ssh, int sock, struct sshbuf *m)
usr.bin/ssh/monitor.h
62
struct sshbuf;
usr.bin/ssh/monitor.h
87
void mm_request_send(int, enum monitor_reqtype, struct sshbuf *);
usr.bin/ssh/monitor.h
88
void mm_request_receive(int, struct sshbuf *);
usr.bin/ssh/monitor.h
89
void mm_request_receive_expect(int, enum monitor_reqtype, struct sshbuf *);
usr.bin/ssh/monitor.h
93
void mm_encode_server_options(struct sshbuf *);
usr.bin/ssh/monitor.h
95
struct sshbuf *pack_hostkeys(void);
usr.bin/ssh/monitor_wrap.c
148
mm_request_send(int sock, enum monitor_reqtype type, struct sshbuf *m)
usr.bin/ssh/monitor_wrap.c
171
mm_request_receive(int sock, struct sshbuf *m)
usr.bin/ssh/monitor_wrap.c
203
mm_request_receive_expect(int sock, enum monitor_reqtype type, struct sshbuf *m)
usr.bin/ssh/monitor_wrap.c
224
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
257
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
274
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
300
mm_decode_activate_server_options(struct ssh *ssh, struct sshbuf *m)
usr.bin/ssh/monitor_wrap.c
302
struct sshbuf *config;
usr.bin/ssh/monitor_wrap.c
330
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
385
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
415
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
435
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
478
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
529
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
577
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
592
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
644
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
670
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
682
ServerOptions *opts, struct sshbuf **confdatap,
usr.bin/ssh/monitor_wrap.c
684
struct sshbuf **hostkeysp, struct sshbuf **keystatep,
usr.bin/ssh/monitor_wrap.c
686
struct sshbuf **authinfop, struct sshbuf **auth_optsp)
usr.bin/ssh/monitor_wrap.c
688
struct sshbuf *m, *config;
usr.bin/ssh/monitor_wrap.c
743
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
780
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
80
extern struct sshbuf *loginmsg;
usr.bin/ssh/monitor_wrap.c
807
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
833
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
86
struct sshbuf *log_msg;
usr.bin/ssh/monitor_wrap.c
863
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.c
886
struct sshbuf *m;
usr.bin/ssh/monitor_wrap.h
66
void mm_decode_activate_server_options(struct ssh *ssh, struct sshbuf *m);
usr.bin/ssh/monitor_wrap.h
86
struct sshbuf **, uint64_t *, struct sshbuf **, struct sshbuf **,
usr.bin/ssh/monitor_wrap.h
87
u_char **, struct sshbuf **, struct sshbuf **);
usr.bin/ssh/msg.c
40
ssh_msg_send(int fd, u_char type, struct sshbuf *m)
usr.bin/ssh/msg.c
62
ssh_msg_recv(int fd, struct sshbuf *m)
usr.bin/ssh/msg.h
28
struct sshbuf;
usr.bin/ssh/msg.h
29
int ssh_msg_send(int, u_char, struct sshbuf *);
usr.bin/ssh/msg.h
30
int ssh_msg_recv(int, struct sshbuf *);
usr.bin/ssh/mux.c
1094
struct sshbuf *reply;
usr.bin/ssh/mux.c
1137
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/mux.c
1167
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/mux.c
1196
struct sshbuf *in = NULL, *out = NULL;
usr.bin/ssh/mux.c
1274
struct sshbuf *m;
usr.bin/ssh/mux.c
1297
struct sshbuf *m;
usr.bin/ssh/mux.c
140
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
1408
struct sshbuf *reply;
usr.bin/ssh/mux.c
142
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
144
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
146
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
148
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
150
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
1504
mux_client_read(int fd, struct sshbuf *b, size_t need, int timeout_ms)
usr.bin/ssh/mux.c
152
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
154
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
1543
mux_client_write_packet(int fd, struct sshbuf *m)
usr.bin/ssh/mux.c
1545
struct sshbuf *queue;
usr.bin/ssh/mux.c
156
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
158
Channel *, struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
1594
mux_client_read_packet_timeout(int fd, struct sshbuf *m, int timeout_ms)
usr.bin/ssh/mux.c
1596
struct sshbuf *queue;
usr.bin/ssh/mux.c
1627
mux_client_read_packet(int fd, struct sshbuf *m)
usr.bin/ssh/mux.c
163
struct sshbuf *, struct sshbuf *);
usr.bin/ssh/mux.c
1635
struct sshbuf *m;
usr.bin/ssh/mux.c
1701
struct sshbuf *m;
usr.bin/ssh/mux.c
1752
struct sshbuf *m;
usr.bin/ssh/mux.c
1803
struct sshbuf *m;
usr.bin/ssh/mux.c
1858
struct sshbuf *m;
usr.bin/ssh/mux.c
1979
struct sshbuf *m;
usr.bin/ssh/mux.c
2168
struct sshbuf *m;
usr.bin/ssh/mux.c
2209
struct sshbuf *m;
usr.bin/ssh/mux.c
2309
struct sshbuf *m;
usr.bin/ssh/mux.c
256
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/mux.c
304
reply_ok(struct sshbuf *reply, u_int rid)
usr.bin/ssh/mux.c
315
reply_error(struct sshbuf *reply, u_int type, u_int rid, const char *msg)
usr.bin/ssh/mux.c
327
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/mux.c
486
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/mux.c
504
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/mux.c
540
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/mux.c
55
extern struct sshbuf *command;
usr.bin/ssh/mux.c
633
struct sshbuf *out;
usr.bin/ssh/mux.c
64
struct sshbuf *cmd;
usr.bin/ssh/mux.c
717
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/mux.c
882
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/mux.c
994
Channel *c, struct sshbuf *m, struct sshbuf *reply)
usr.bin/ssh/packet.c
119
struct sshbuf *input;
usr.bin/ssh/packet.c
122
struct sshbuf *output;
usr.bin/ssh/packet.c
125
struct sshbuf *outgoing_packet;
usr.bin/ssh/packet.c
128
struct sshbuf *incoming_packet;
usr.bin/ssh/packet.c
131
struct sshbuf *compression_buffer;
usr.bin/ssh/packet.c
2400
kex_to_blob(struct sshbuf *m, struct kex *kex)
usr.bin/ssh/packet.c
2422
newkeys_to_blob(struct sshbuf *m, struct ssh *ssh, int mode)
usr.bin/ssh/packet.c
2424
struct sshbuf *b;
usr.bin/ssh/packet.c
2466
ssh_packet_get_state(struct ssh *ssh, struct sshbuf *m)
usr.bin/ssh/packet.c
2497
newkeys_from_blob(struct sshbuf *m, struct ssh *ssh, int mode)
usr.bin/ssh/packet.c
2499
struct sshbuf *b = NULL;
usr.bin/ssh/packet.c
2571
kex_from_blob(struct sshbuf *m, struct kex **kexp)
usr.bin/ssh/packet.c
2615
ssh_packet_set_state(struct ssh *ssh, struct sshbuf *m)
usr.bin/ssh/packet.c
2685
sshpkt_putb(struct ssh *ssh, const struct sshbuf *b)
usr.bin/ssh/packet.c
2721
sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v)
usr.bin/ssh/packet.c
2797
sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp)
usr.bin/ssh/packet.c
828
compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
usr.bin/ssh/packet.c
874
uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
usr.bin/ssh/packet.c
935
compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
usr.bin/ssh/packet.c
941
uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
usr.bin/ssh/packet.c
96
struct sshbuf *payload;
usr.bin/ssh/packet.h
155
int ssh_packet_get_state(struct ssh *, struct sshbuf *);
usr.bin/ssh/packet.h
156
int ssh_packet_set_state(struct ssh *, struct sshbuf *);
usr.bin/ssh/packet.h
183
int sshpkt_putb(struct ssh *ssh, const struct sshbuf *b);
usr.bin/ssh/packet.h
189
int sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v);
usr.bin/ssh/packet.h
202
int sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp);
usr.bin/ssh/packet.h
39
struct sshbuf;
usr.bin/ssh/packet.h
88
typedef int (ssh_packet_hook_fn)(struct ssh *, struct sshbuf *,
usr.bin/ssh/servconf.c
2553
load_server_config(const char *filename, struct sshbuf *conf)
usr.bin/ssh/servconf.c
2678
serialise_s32(struct sshbuf *buf, int v)
usr.bin/ssh/servconf.c
2691
serialise_s64(struct sshbuf *buf, int64_t v)
usr.bin/ssh/servconf.c
2704
serialise_mode(struct sshbuf *buf, mode_t v)
usr.bin/ssh/servconf.c
2717
serialise_double(struct sshbuf *buf, double v)
usr.bin/ssh/servconf.c
2728
serialise_nullable_string(struct sshbuf *buf, const char *s)
usr.bin/ssh/servconf.c
2740
serialise_nullable_string_array(struct sshbuf *buf, char **a, u_int n)
usr.bin/ssh/servconf.c
2755
serialise_hostkeyfile(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2777
serialise_ipqos(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2791
serialise_listenaddress(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2816
serialise_logfacility(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2829
serialise_loglevel(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2842
serialise_port(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2861
serialise_gatewayports(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2873
serialise_streamlocalbindmask(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2886
serialise_streamlocalbindunlink(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2899
serialise_maxstartups(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2914
serialise_permituserenv(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2929
serialise_persourcenetblocksize(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2943
serialise_persourcepenalties(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2969
serialise_rekeylimit(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
2983
serialise_subsystem(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3007
serialise_timingsecret(const ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3020
serialise_server_options(const ServerOptions *options, struct sshbuf **bufp)
usr.bin/ssh/servconf.c
3022
struct sshbuf *buf = NULL;
usr.bin/ssh/servconf.c
3089
deserialise_s32(struct sshbuf *buf, int *v)
usr.bin/ssh/servconf.c
3113
deserialise_s64(struct sshbuf *buf, int64_t *v)
usr.bin/ssh/servconf.c
3138
deserialise_mode(struct sshbuf *buf, mode_t *v)
usr.bin/ssh/servconf.c
3155
deserialise_double(struct sshbuf *buf, double *v)
usr.bin/ssh/servconf.c
3161
deserialise_nullable_string(struct sshbuf *buf, char **sp)
usr.bin/ssh/servconf.c
3190
deserialise_count(struct sshbuf *buf, u_int *np, const char *what)
usr.bin/ssh/servconf.c
3212
deserialise_nullable_string_array(struct sshbuf *buf, char ***arrayp,
usr.bin/ssh/servconf.c
3251
deserialise_hostkeyfile(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3279
deserialise_ipqos(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3293
deserialise_listenaddress(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3319
deserialise_logfacility(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3338
deserialise_loglevel(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3357
deserialise_port(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3380
deserialise_gatewayports(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3392
deserialise_streamlocalbindmask(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3405
deserialise_streamlocalbindunlink(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3423
deserialise_maxstartups(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3438
deserialise_permituserenv(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3452
deserialise_persourcenetblocksize(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3468
deserialise_persourcepenalties(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3495
deserialise_rekeylimit(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3509
deserialise_subsystem(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3541
deserialise_timingsecret(ServerOptions *options, struct sshbuf *buf)
usr.bin/ssh/servconf.c
3553
deserialise_server_options(struct sshbuf *buf, ServerOptions *options)
usr.bin/ssh/servconf.c
3933
struct sshbuf *conf, struct include_list *includes,
usr.bin/ssh/servconf.c
3962
struct sshbuf *conf, struct include_list *includes,
usr.bin/ssh/servconf.c
67
const char *filename, struct sshbuf *conf, struct include_list *includes,
usr.bin/ssh/servconf.c
70
extern struct sshbuf *cfg;
usr.bin/ssh/servconf.h
21
struct sshbuf;
usr.bin/ssh/servconf.h
400
struct sshbuf *contents;
usr.bin/ssh/servconf.h
410
void load_server_config(const char *, struct sshbuf *);
usr.bin/ssh/servconf.h
411
void parse_server_config(ServerOptions *, const char *, struct sshbuf *,
usr.bin/ssh/servconf.h
425
int serialise_server_options(const ServerOptions *, struct sshbuf **);
usr.bin/ssh/servconf.h
426
int deserialise_server_options(struct sshbuf *, ServerOptions *);
usr.bin/ssh/serverloop.c
659
server_input_hostkeys_prove(struct ssh *ssh, struct sshbuf **respp)
usr.bin/ssh/serverloop.c
661
struct sshbuf *resp = NULL;
usr.bin/ssh/serverloop.c
662
struct sshbuf *sigbuf = NULL;
usr.bin/ssh/serverloop.c
750
struct sshbuf *resp = NULL;
usr.bin/ssh/session.c
124
extern struct sshbuf *loginmsg;
usr.bin/ssh/session.c
219
prepare_auth_info_file(struct passwd *pw, struct sshbuf *info)
usr.bin/ssh/sftp-client.c
1082
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1197
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1241
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1279
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1315
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1348
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1407
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
143
send_msg(struct sftp_conn *conn, struct sshbuf *m)
usr.bin/ssh/sftp-client.c
1438
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1467
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1501
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1523
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
1577
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
167
get_msg_extended(struct sftp_conn *conn, struct sshbuf *m, int initial)
usr.bin/ssh/sftp-client.c
2017
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
206
get_msg(struct sftp_conn *conn, struct sshbuf *m)
usr.bin/ssh/sftp-client.c
215
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
233
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
2371
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
2439
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
252
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
283
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
2842
struct sshbuf *msg, *uidbuf, *gidbuf;
usr.bin/ssh/sftp-client.c
327
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
379
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
439
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
601
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
654
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
682
struct sshbuf *msg;
usr.bin/ssh/sftp-client.c
984
struct sshbuf *msg;
usr.bin/ssh/sftp-common.c
102
decode_attrib(struct sshbuf *b, Attrib *a)
usr.bin/ssh/sftp-common.c
153
encode_attrib(struct sshbuf *b, const Attrib *a)
usr.bin/ssh/sftp-common.h
31
struct sshbuf;
usr.bin/ssh/sftp-common.h
48
int decode_attrib(struct sshbuf *, Attrib *);
usr.bin/ssh/sftp-common.h
49
int encode_attrib(struct sshbuf *, const Attrib *);
usr.bin/ssh/sftp-server.c
1491
struct sshbuf *msg;
usr.bin/ssh/sftp-server.c
1721
struct sshbuf *uids, *gids, *usernames, *groupnames, *msg;
usr.bin/ssh/sftp-server.c
493
get_handle(struct sshbuf *queue, int *hp)
usr.bin/ssh/sftp-server.c
511
send_msg(struct sshbuf *m)
usr.bin/ssh/sftp-server.c
541
struct sshbuf *msg;
usr.bin/ssh/sftp-server.c
573
struct sshbuf *msg;
usr.bin/ssh/sftp-server.c
608
struct sshbuf *msg;
usr.bin/ssh/sftp-server.c
63
struct sshbuf *iqueue;
usr.bin/ssh/sftp-server.c
631
struct sshbuf *msg;
usr.bin/ssh/sftp-server.c
64
struct sshbuf *oqueue;
usr.bin/ssh/sftp-server.c
648
struct sshbuf *msg;
usr.bin/ssh/sftp-server.c
680
compose_extension(struct sshbuf *msg, const char *name, const char *ver)
usr.bin/ssh/sftp-server.c
702
struct sshbuf *msg;
usr.bin/ssh/ssh-add.c
279
struct sshbuf *keyblob;
usr.bin/ssh/ssh-agent.c
1077
parse_dest_constraint_hop(struct sshbuf *b, struct dest_constraint_hop *dch)
usr.bin/ssh/ssh-agent.c
1138
parse_dest_constraint(struct sshbuf *m, struct dest_constraint *dc)
usr.bin/ssh/ssh-agent.c
114
struct sshbuf *sid;
usr.bin/ssh/ssh-agent.c
1140
struct sshbuf *b = NULL, *frombuf = NULL, *tobuf = NULL;
usr.bin/ssh/ssh-agent.c
1188
parse_key_constraint_extension(struct sshbuf *m, char **sk_providerp,
usr.bin/ssh/ssh-agent.c
1194
struct sshbuf *b = NULL;
usr.bin/ssh/ssh-agent.c
121
struct sshbuf *input;
usr.bin/ssh/ssh-agent.c
122
struct sshbuf *output;
usr.bin/ssh/ssh-agent.c
123
struct sshbuf *request;
usr.bin/ssh/ssh-agent.c
1287
parse_key_constraints(struct sshbuf *m, struct sshkey *k, time_t *deathp,
usr.bin/ssh/ssh-agent.c
1512
struct sshbuf *msg;
usr.bin/ssh/ssh-agent.c
1687
struct sshbuf *sid = NULL, *sig = NULL;
usr.bin/ssh/ssh-agent.c
1773
struct sshbuf *msg = NULL;
usr.bin/ssh/ssh-agent.c
622
struct sshbuf *msg, *keys;
usr.bin/ssh/ssh-agent.c
688
parse_userauth_request(struct sshbuf *msg, const struct sshkey *expected_key,
usr.bin/ssh/ssh-agent.c
689
char **userp, struct sshbuf **sess_idp, struct sshkey **hostkeyp)
usr.bin/ssh/ssh-agent.c
691
struct sshbuf *b = NULL, *sess_id = NULL;
usr.bin/ssh/ssh-agent.c
772
parse_sshsig_request(struct sshbuf *msg)
usr.bin/ssh/ssh-agent.c
775
struct sshbuf *b;
usr.bin/ssh/ssh-agent.c
806
check_websafe_message_contents(struct sshkey *key, struct sshbuf *data)
usr.bin/ssh/ssh-agent.c
824
buf_equal(const struct sshbuf *a, const struct sshbuf *b)
usr.bin/ssh/ssh-agent.c
846
struct sshbuf *msg = NULL, *data = NULL, *sid = NULL;
usr.bin/ssh/ssh-ecdsa-sk.c
110
ssh_ecdsa_sk_deserialize_public(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-ecdsa-sk.c
123
ssh_ecdsa_sk_deserialize_private(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-ecdsa-sk.c
153
const char *origin, const struct sshbuf *wrapper,
usr.bin/ssh/ssh-ecdsa-sk.c
154
uint8_t flags, const struct sshbuf *extensions,
usr.bin/ssh/ssh-ecdsa-sk.c
158
struct sshbuf *chall = NULL, *m = NULL;
usr.bin/ssh/ssh-ecdsa-sk.c
229
struct sshbuf *b = NULL, *sigbuf = NULL, *original_signed = NULL;
usr.bin/ssh/ssh-ecdsa-sk.c
230
struct sshbuf *webauthn_wrapper = NULL, *webauthn_exts = NULL;
usr.bin/ssh/ssh-ecdsa-sk.c
67
ssh_ecdsa_sk_serialize_public(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-ecdsa-sk.c
81
ssh_ecdsa_sk_serialize_private(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-ecdsa.c
125
ssh_ecdsa_serialize_public(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-ecdsa.c
141
ssh_ecdsa_serialize_private(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-ecdsa.c
220
ssh_ecdsa_deserialize_public(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-ecdsa.c
273
ssh_ecdsa_deserialize_private(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-ecdsa.c
361
struct sshbuf *b = NULL, *bb = NULL;
usr.bin/ssh/ssh-ecdsa.c
407
struct sshbuf *b = NULL, *sigbuf = NULL;
usr.bin/ssh/ssh-ed25519-sk.c
108
ssh_ed25519_sk_deserialize_private(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-ed25519-sk.c
126
struct sshbuf *b = NULL;
usr.bin/ssh/ssh-ed25519-sk.c
127
struct sshbuf *encoded = NULL;
usr.bin/ssh/ssh-ed25519-sk.c
55
ssh_ed25519_sk_serialize_public(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-ed25519-sk.c
69
ssh_ed25519_sk_serialize_private(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-ed25519-sk.c
95
ssh_ed25519_sk_deserialize_public(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-ed25519.c
100
ssh_ed25519_deserialize_public(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-ed25519.c
118
ssh_ed25519_deserialize_private(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-ed25519.c
187
struct sshbuf *b = NULL;
usr.bin/ssh/ssh-ed25519.c
230
struct sshbuf *b = NULL;
usr.bin/ssh/ssh-ed25519.c
52
ssh_ed25519_serialize_public(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-ed25519.c
66
ssh_ed25519_serialize_private(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-gss.h
102
void ssh_gssapi_buildmic(struct sshbuf *, const char *,
usr.bin/ssh/ssh-gss.h
103
const char *, const char *, const struct sshbuf *);
usr.bin/ssh/ssh-gss.h
88
struct sshbuf;
usr.bin/ssh/ssh-gss.h
89
int ssh_gssapi_get_buffer_desc(struct sshbuf *, gss_buffer_desc *);
usr.bin/ssh/ssh-keygen.c
1592
prepare_options_buf(struct sshbuf *c, int which)
usr.bin/ssh/ssh-keygen.c
1594
struct sshbuf *b;
usr.bin/ssh/ssh-keygen.c
2010
show_options(struct sshbuf *optbuf, int in_critical)
usr.bin/ssh/ssh-keygen.c
2013
struct sshbuf *options, *option = NULL;
usr.bin/ssh/ssh-keygen.c
2165
struct sshbuf *krlbuf;
usr.bin/ssh/ssh-keygen.c
2183
struct sshbuf *b;
usr.bin/ssh/ssh-keygen.c
2379
struct sshbuf *kbuf;
usr.bin/ssh/ssh-keygen.c
2521
struct sshbuf *sigbuf = NULL, *abuf = NULL;
usr.bin/ssh/ssh-keygen.c
2742
struct sshbuf *sigbuf = NULL, *abuf = NULL;
usr.bin/ssh/ssh-keygen.c
2832
struct sshbuf *sigbuf = NULL, *abuf = NULL;
usr.bin/ssh/ssh-keygen.c
3186
save_attestation(struct sshbuf *attest, const char *path)
usr.bin/ssh/ssh-keygen.c
322
struct sshbuf *b;
usr.bin/ssh/ssh-keygen.c
3292
struct sshbuf *challenge = NULL, *attest = NULL;
usr.bin/ssh/ssh-keygen.c
419
buffer_get_bignum_bits(struct sshbuf *b, BIGNUM *value)
usr.bin/ssh/ssh-keygen.c
437
do_convert_private_ssh2(struct sshbuf *b)
usr.bin/ssh/ssh-keygen.c
595
struct sshbuf *buf;
usr.bin/ssh/ssh-keysign.c
175
struct sshbuf *b;
usr.bin/ssh/ssh-keysign.c
63
struct sshbuf *b;
usr.bin/ssh/ssh-mldsa-eddsa.c
102
struct sshbuf *m_prime;
usr.bin/ssh/ssh-mldsa-eddsa.c
260
ssh_mldsa44_ed25519_serialize_public(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-mldsa-eddsa.c
275
ssh_mldsa44_ed25519_serialize_private(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-mldsa-eddsa.c
295
ssh_mldsa44_ed25519_deserialize_public(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-mldsa-eddsa.c
313
ssh_mldsa44_ed25519_deserialize_private(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-mldsa-eddsa.c
379
struct sshbuf *b = NULL;
usr.bin/ssh/ssh-mldsa-eddsa.c
427
struct sshbuf *b = NULL;
usr.bin/ssh/ssh-pkcs11-client.c
156
send_msg(int fd, struct sshbuf *m)
usr.bin/ssh/ssh-pkcs11-client.c
174
recv_msg(int fd, struct sshbuf *m)
usr.bin/ssh/ssh-pkcs11-client.c
231
struct sshbuf *msg = NULL;
usr.bin/ssh/ssh-pkcs11-client.c
388
struct sshbuf *msg;
usr.bin/ssh/ssh-pkcs11-client.c
461
struct sshbuf *keyblob = NULL;
usr.bin/ssh/ssh-pkcs11-client.c
52
struct sshbuf **keyblobs; /* XXX use a tree or something faster */
usr.bin/ssh/ssh-pkcs11-client.c
76
struct sshbuf *keyblob = NULL;
usr.bin/ssh/ssh-pkcs11-helper.c
106
struct sshbuf *msg;
usr.bin/ssh/ssh-pkcs11-helper.c
44
struct sshbuf *iqueue;
usr.bin/ssh/ssh-pkcs11-helper.c
45
struct sshbuf *oqueue;
usr.bin/ssh/ssh-pkcs11-helper.c
48
send_msg(struct sshbuf *m)
usr.bin/ssh/ssh-pkcs11-helper.c
62
struct sshbuf *msg;
usr.bin/ssh/ssh-pkcs11.c
398
struct sshbuf *keyblob;
usr.bin/ssh/ssh-pkcs11.c
447
struct sshbuf *keyblob;
usr.bin/ssh/ssh-pkcs11.c
70
struct sshbuf *keyblob;
usr.bin/ssh/ssh-rsa.c
188
ssh_rsa_deserialize_public(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-rsa.c
227
ssh_rsa_deserialize_private(const char *ktype, struct sshbuf *b,
usr.bin/ssh/ssh-rsa.c
452
struct sshbuf *b = NULL;
usr.bin/ssh/ssh-rsa.c
497
struct sshbuf *b = NULL;
usr.bin/ssh/ssh-rsa.c
64
ssh_rsa_serialize_public(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-rsa.c
85
ssh_rsa_serialize_private(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/ssh-sk-client.c
156
client_converse(struct sshbuf *msg, struct sshbuf **respp, u_int type)
usr.bin/ssh/ssh-sk-client.c
163
struct sshbuf *req = NULL, *resp = NULL;
usr.bin/ssh/ssh-sk-client.c
251
struct sshbuf *kbuf = NULL, *req = NULL, *resp = NULL;
usr.bin/ssh/ssh-sk-client.c
308
const char *pin, struct sshbuf *challenge_buf,
usr.bin/ssh/ssh-sk-client.c
309
struct sshkey **keyp, struct sshbuf *attest)
usr.bin/ssh/ssh-sk-client.c
312
struct sshbuf *kbuf = NULL, *abuf = NULL, *req = NULL, *resp = NULL;
usr.bin/ssh/ssh-sk-client.c
409
struct sshbuf *kbuf = NULL, *req = NULL, *resp = NULL;
usr.bin/ssh/ssh-sk-helper.c
104
static struct sshbuf *
usr.bin/ssh/ssh-sk-helper.c
105
process_sign(struct sshbuf *req)
usr.bin/ssh/ssh-sk-helper.c
108
struct sshbuf *resp, *kbuf;
usr.bin/ssh/ssh-sk-helper.c
162
static struct sshbuf *
usr.bin/ssh/ssh-sk-helper.c
163
process_enroll(struct sshbuf *req)
usr.bin/ssh/ssh-sk-helper.c
169
struct sshbuf *challenge, *attest, *kbuf, *resp;
usr.bin/ssh/ssh-sk-helper.c
226
static struct sshbuf *
usr.bin/ssh/ssh-sk-helper.c
227
process_load_resident(struct sshbuf *req)
usr.bin/ssh/ssh-sk-helper.c
231
struct sshbuf *kbuf, *resp;
usr.bin/ssh/ssh-sk-helper.c
292
struct sshbuf *req, *resp;
usr.bin/ssh/ssh-sk-helper.c
50
static struct sshbuf *reply_error(int r, char *fmt, ...)
usr.bin/ssh/ssh-sk-helper.c
53
static struct sshbuf *
usr.bin/ssh/ssh-sk-helper.c
58
struct sshbuf *resp;
usr.bin/ssh/ssh-sk.c
191
struct sshbuf *b = NULL;
usr.bin/ssh/ssh-sk.c
436
struct sshbuf *attest)
usr.bin/ssh/ssh-sk.c
461
const char *pin, struct sshbuf *challenge_buf,
usr.bin/ssh/ssh-sk.c
462
struct sshkey **keyp, struct sshbuf *attest)
usr.bin/ssh/ssh-sk.c
561
sshsk_ecdsa_sig(struct sk_sign_response *resp, struct sshbuf *sig)
usr.bin/ssh/ssh-sk.c
563
struct sshbuf *inner_sig = NULL;
usr.bin/ssh/ssh-sk.c
606
sshsk_ed25519_sig(struct sk_sign_response *resp, struct sshbuf *sig)
usr.bin/ssh/ssh-sk.c
641
struct sshbuf *inner_sig = NULL, *sig = NULL;
usr.bin/ssh/ssh-sk.h
21
struct sshbuf;
usr.bin/ssh/ssh-sk.h
52
const char *pin, struct sshbuf *challenge_buf,
usr.bin/ssh/ssh-sk.h
53
struct sshkey **keyp, struct sshbuf *attest);
usr.bin/ssh/ssh.c
144
struct sshbuf *command;
usr.bin/ssh/ssh_api.c
309
struct sshbuf *output = ssh_packet_get_output(ssh);
usr.bin/ssh/ssh_api.c
335
_ssh_read_banner(struct ssh *ssh, struct sshbuf *banner)
usr.bin/ssh/ssh_api.c
337
struct sshbuf *input = ssh_packet_get_input(ssh);
usr.bin/ssh/ssh_api.c
39
int _ssh_send_banner(struct ssh *, struct sshbuf *);
usr.bin/ssh/ssh_api.c
40
int _ssh_read_banner(struct ssh *, struct sshbuf *);
usr.bin/ssh/ssh_api.c
418
_ssh_send_banner(struct ssh *ssh, struct sshbuf *banner)
usr.bin/ssh/sshbuf-getput-basic.c
110
check_roffset(const struct sshbuf *buf, size_t offset, size_t len,
usr.bin/ssh/sshbuf-getput-basic.c
123
sshbuf_peek_u64(const struct sshbuf *buf, size_t offset, uint64_t *valp)
usr.bin/ssh/sshbuf-getput-basic.c
138
sshbuf_peek_u32(const struct sshbuf *buf, size_t offset, uint32_t *valp)
usr.bin/ssh/sshbuf-getput-basic.c
153
sshbuf_peek_u16(const struct sshbuf *buf, size_t offset, uint16_t *valp)
usr.bin/ssh/sshbuf-getput-basic.c
168
sshbuf_peek_u8(const struct sshbuf *buf, size_t offset, u_char *valp)
usr.bin/ssh/sshbuf-getput-basic.c
183
sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp)
usr.bin/ssh/sshbuf-getput-basic.c
210
sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp)
usr.bin/ssh/sshbuf-getput-basic.c
236
sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
usr.bin/ssh/sshbuf-getput-basic.c
267
sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp)
usr.bin/ssh/sshbuf-getput-basic.c
302
sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v)
usr.bin/ssh/sshbuf-getput-basic.c
31
sshbuf_get(struct sshbuf *buf, void *v, size_t len)
usr.bin/ssh/sshbuf-getput-basic.c
322
sshbuf_put(struct sshbuf *buf, const void *v, size_t len)
usr.bin/ssh/sshbuf-getput-basic.c
335
sshbuf_putb(struct sshbuf *buf, const struct sshbuf *v)
usr.bin/ssh/sshbuf-getput-basic.c
343
sshbuf_putf(struct sshbuf *buf, const char *fmt, ...)
usr.bin/ssh/sshbuf-getput-basic.c
355
sshbuf_putfv(struct sshbuf *buf, const char *fmt, va_list ap)
usr.bin/ssh/sshbuf-getput-basic.c
388
sshbuf_put_u64(struct sshbuf *buf, uint64_t val)
usr.bin/ssh/sshbuf-getput-basic.c
400
sshbuf_put_u32(struct sshbuf *buf, uint32_t val)
usr.bin/ssh/sshbuf-getput-basic.c
412
sshbuf_put_u16(struct sshbuf *buf, uint16_t val)
usr.bin/ssh/sshbuf-getput-basic.c
424
sshbuf_put_u8(struct sshbuf *buf, u_char val)
usr.bin/ssh/sshbuf-getput-basic.c
436
check_woffset(struct sshbuf *buf, size_t offset, size_t len, u_char **p)
usr.bin/ssh/sshbuf-getput-basic.c
44
sshbuf_get_u64(struct sshbuf *buf, uint64_t *valp)
usr.bin/ssh/sshbuf-getput-basic.c
450
sshbuf_poke_u64(struct sshbuf *buf, size_t offset, uint64_t val)
usr.bin/ssh/sshbuf-getput-basic.c
462
sshbuf_poke_u32(struct sshbuf *buf, size_t offset, uint32_t val)
usr.bin/ssh/sshbuf-getput-basic.c
474
sshbuf_poke_u16(struct sshbuf *buf, size_t offset, uint16_t val)
usr.bin/ssh/sshbuf-getput-basic.c
486
sshbuf_poke_u8(struct sshbuf *buf, size_t offset, u_char val)
usr.bin/ssh/sshbuf-getput-basic.c
498
sshbuf_poke(struct sshbuf *buf, size_t offset, void *v, size_t len)
usr.bin/ssh/sshbuf-getput-basic.c
510
sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len)
usr.bin/ssh/sshbuf-getput-basic.c
528
sshbuf_put_cstring(struct sshbuf *buf, const char *v)
usr.bin/ssh/sshbuf-getput-basic.c
534
sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v)
usr.bin/ssh/sshbuf-getput-basic.c
543
sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp)
usr.bin/ssh/sshbuf-getput-basic.c
547
struct sshbuf *ret;
usr.bin/ssh/sshbuf-getput-basic.c
567
sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len)
usr.bin/ssh/sshbuf-getput-basic.c
57
sshbuf_get_u32(struct sshbuf *buf, uint32_t *valp)
usr.bin/ssh/sshbuf-getput-basic.c
596
sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf,
usr.bin/ssh/sshbuf-getput-basic.c
632
sshbuf_get_nulterminated_string(struct sshbuf *buf, size_t maxlen,
usr.bin/ssh/sshbuf-getput-basic.c
70
sshbuf_get_u16(struct sshbuf *buf, uint16_t *valp)
usr.bin/ssh/sshbuf-getput-basic.c
83
sshbuf_get_u8(struct sshbuf *buf, u_char *valp)
usr.bin/ssh/sshbuf-getput-basic.c
96
check_offset(const struct sshbuf *buf, int wr, size_t offset, size_t len)
usr.bin/ssh/sshbuf-getput-crypto.c
124
sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v)
usr.bin/ssh/sshbuf-getput-crypto.c
146
sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g)
usr.bin/ssh/sshbuf-getput-crypto.c
166
sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v)
usr.bin/ssh/sshbuf-getput-crypto.c
173
sshbuf_put_ec_pkey(struct sshbuf *buf, EVP_PKEY *pkey)
usr.bin/ssh/sshbuf-getput-crypto.c
31
sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp)
usr.bin/ssh/sshbuf-getput-crypto.c
68
sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g)
usr.bin/ssh/sshbuf-getput-crypto.c
89
sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v)
usr.bin/ssh/sshbuf-io.c
32
sshbuf_load_fd(int fd, struct sshbuf **blobp)
usr.bin/ssh/sshbuf-io.c
38
struct sshbuf *blob;
usr.bin/ssh/sshbuf-io.c
78
sshbuf_load_file(const char *path, struct sshbuf **bufp)
usr.bin/ssh/sshbuf-io.c
98
sshbuf_write_file(const char *path, struct sshbuf *buf)
usr.bin/ssh/sshbuf-misc.c
101
struct sshbuf *
usr.bin/ssh/sshbuf-misc.c
104
struct sshbuf *ret;
usr.bin/ssh/sshbuf-misc.c
126
sshbuf_dtob64(const struct sshbuf *d, struct sshbuf *b64, int wrap)
usr.bin/ssh/sshbuf-misc.c
164
sshbuf_dtob64_string(const struct sshbuf *buf, int wrap)
usr.bin/ssh/sshbuf-misc.c
166
struct sshbuf *tmp;
usr.bin/ssh/sshbuf-misc.c
181
sshbuf_b64tod(struct sshbuf *buf, const char *b64)
usr.bin/ssh/sshbuf-misc.c
204
sshbuf_dtourlb64(const struct sshbuf *d, struct sshbuf *b64, int wrap)
usr.bin/ssh/sshbuf-misc.c
208
struct sshbuf *b = NULL;
usr.bin/ssh/sshbuf-misc.c
250
sshbuf_dup_string(struct sshbuf *buf)
usr.bin/ssh/sshbuf-misc.c
273
sshbuf_cmp(const struct sshbuf *b, size_t offset,
usr.bin/ssh/sshbuf-misc.c
288
sshbuf_equals(const struct sshbuf *a, const struct sshbuf *b)
usr.bin/ssh/sshbuf-misc.c
302
sshbuf_find(const struct sshbuf *b, size_t start_offset,
usr.bin/ssh/sshbuf-misc.c
324
sshbuf_read(int fd, struct sshbuf *buf, size_t maxlen, size_t *rlen)
usr.bin/ssh/sshbuf-misc.c
63
sshbuf_dump(const struct sshbuf *buf, FILE *f)
usr.bin/ssh/sshbuf-misc.c
70
sshbuf_dtob16(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
109
struct sshbuf *
usr.bin/ssh/sshbuf.c
112
struct sshbuf *ret;
usr.bin/ssh/sshbuf.c
127
sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent)
usr.bin/ssh/sshbuf.c
142
struct sshbuf *
usr.bin/ssh/sshbuf.c
143
sshbuf_fromb(struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
145
struct sshbuf *ret;
usr.bin/ssh/sshbuf.c
159
sshbuf_free(struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
194
sshbuf_reset(struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
217
sshbuf_max_size(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
223
sshbuf_alloc(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
228
const struct sshbuf *
usr.bin/ssh/sshbuf.c
229
sshbuf_parent(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
235
sshbuf_refcount(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
241
sshbuf_set_max_size(struct sshbuf *buf, size_t max_size)
usr.bin/ssh/sshbuf.c
279
sshbuf_len(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
287
sshbuf_avail(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
295
sshbuf_ptr(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
303
sshbuf_mutable_ptr(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
311
sshbuf_check_reserve(const struct sshbuf *buf, size_t len)
usr.bin/ssh/sshbuf.c
327
sshbuf_allocate(struct sshbuf *buf, size_t len)
usr.bin/ssh/sshbuf.c
370
sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp)
usr.bin/ssh/sshbuf.c
390
sshbuf_consume(struct sshbuf *buf, size_t len)
usr.bin/ssh/sshbuf.c
410
sshbuf_consume_end(struct sshbuf *buf, size_t len)
usr.bin/ssh/sshbuf.c
427
sshbuf_consume_upto_child(struct sshbuf *buf, const struct sshbuf *child)
usr.bin/ssh/sshbuf.c
49
struct sshbuf *parent; /* If child, pointer to parent */
usr.bin/ssh/sshbuf.c
53
sshbuf_check_sanity(const struct sshbuf *buf)
usr.bin/ssh/sshbuf.c
75
sshbuf_maybe_pack(struct sshbuf *buf, int force)
usr.bin/ssh/sshbuf.c
90
struct sshbuf *
usr.bin/ssh/sshbuf.c
93
struct sshbuf *ret;
usr.bin/ssh/sshbuf.h
100
size_t sshbuf_len(const struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
105
size_t sshbuf_avail(const struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
110
const u_char *sshbuf_ptr(const struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
116
u_char *sshbuf_mutable_ptr(const struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
124
int sshbuf_check_reserve(const struct sshbuf *buf, size_t len);
usr.bin/ssh/sshbuf.h
132
int sshbuf_allocate(struct sshbuf *buf, size_t len);
usr.bin/ssh/sshbuf.h
139
int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp);
usr.bin/ssh/sshbuf.h
145
int sshbuf_consume(struct sshbuf *buf, size_t len);
usr.bin/ssh/sshbuf.h
151
int sshbuf_consume_end(struct sshbuf *buf, size_t len);
usr.bin/ssh/sshbuf.h
169
int sshbuf_consume_upto_child(struct sshbuf *buf, const struct sshbuf *child);
usr.bin/ssh/sshbuf.h
172
int sshbuf_get(struct sshbuf *buf, void *v, size_t len);
usr.bin/ssh/sshbuf.h
173
int sshbuf_put(struct sshbuf *buf, const void *v, size_t len);
usr.bin/ssh/sshbuf.h
174
int sshbuf_putb(struct sshbuf *buf, const struct sshbuf *v);
usr.bin/ssh/sshbuf.h
177
int sshbuf_putf(struct sshbuf *buf, const char *fmt, ...)
usr.bin/ssh/sshbuf.h
179
int sshbuf_putfv(struct sshbuf *buf, const char *fmt, va_list ap);
usr.bin/ssh/sshbuf.h
182
int sshbuf_get_u64(struct sshbuf *buf, uint64_t *valp);
usr.bin/ssh/sshbuf.h
183
int sshbuf_get_u32(struct sshbuf *buf, uint32_t *valp);
usr.bin/ssh/sshbuf.h
184
int sshbuf_get_u16(struct sshbuf *buf, uint16_t *valp);
usr.bin/ssh/sshbuf.h
185
int sshbuf_get_u8(struct sshbuf *buf, u_char *valp);
usr.bin/ssh/sshbuf.h
186
int sshbuf_put_u64(struct sshbuf *buf, uint64_t val);
usr.bin/ssh/sshbuf.h
187
int sshbuf_put_u32(struct sshbuf *buf, uint32_t val);
usr.bin/ssh/sshbuf.h
188
int sshbuf_put_u16(struct sshbuf *buf, uint16_t val);
usr.bin/ssh/sshbuf.h
189
int sshbuf_put_u8(struct sshbuf *buf, u_char val);
usr.bin/ssh/sshbuf.h
192
int sshbuf_peek_u64(const struct sshbuf *buf, size_t offset,
usr.bin/ssh/sshbuf.h
194
int sshbuf_peek_u32(const struct sshbuf *buf, size_t offset,
usr.bin/ssh/sshbuf.h
196
int sshbuf_peek_u16(const struct sshbuf *buf, size_t offset,
usr.bin/ssh/sshbuf.h
198
int sshbuf_peek_u8(const struct sshbuf *buf, size_t offset,
usr.bin/ssh/sshbuf.h
205
int sshbuf_poke_u64(struct sshbuf *buf, size_t offset, uint64_t val);
usr.bin/ssh/sshbuf.h
206
int sshbuf_poke_u32(struct sshbuf *buf, size_t offset, uint32_t val);
usr.bin/ssh/sshbuf.h
207
int sshbuf_poke_u16(struct sshbuf *buf, size_t offset, uint16_t val);
usr.bin/ssh/sshbuf.h
208
int sshbuf_poke_u8(struct sshbuf *buf, size_t offset, u_char val);
usr.bin/ssh/sshbuf.h
209
int sshbuf_poke(struct sshbuf *buf, size_t offset, void *v, size_t len);
usr.bin/ssh/sshbuf.h
216
int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
usr.bin/ssh/sshbuf.h
217
int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
usr.bin/ssh/sshbuf.h
218
int sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v);
usr.bin/ssh/sshbuf.h
219
int sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len);
usr.bin/ssh/sshbuf.h
220
int sshbuf_put_cstring(struct sshbuf *buf, const char *v);
usr.bin/ssh/sshbuf.h
221
int sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v);
usr.bin/ssh/sshbuf.h
228
int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp,
usr.bin/ssh/sshbuf.h
235
int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
usr.bin/ssh/sshbuf.h
242
int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp);
usr.bin/ssh/sshbuf.h
243
int sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf,
usr.bin/ssh/sshbuf.h
245
int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
usr.bin/ssh/sshbuf.h
246
int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len);
usr.bin/ssh/sshbuf.h
247
int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g);
usr.bin/ssh/sshbuf.h
248
int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v);
usr.bin/ssh/sshbuf.h
249
int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g);
usr.bin/ssh/sshbuf.h
250
int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v);
usr.bin/ssh/sshbuf.h
251
int sshbuf_put_ec_pkey(struct sshbuf *buf, EVP_PKEY *pkey);
usr.bin/ssh/sshbuf.h
254
int sshbuf_get_nulterminated_string(struct sshbuf *buf, size_t maxlen,
usr.bin/ssh/sshbuf.h
258
void sshbuf_dump(const struct sshbuf *buf, FILE *f);
usr.bin/ssh/sshbuf.h
264
char *sshbuf_dtob16(const struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
266
struct sshbuf *sshbuf_b16tod(const char *b16);
usr.bin/ssh/sshbuf.h
269
char *sshbuf_dtob64_string(const struct sshbuf *buf, int wrap);
usr.bin/ssh/sshbuf.h
270
int sshbuf_dtob64(const struct sshbuf *d, struct sshbuf *b64, int wrap);
usr.bin/ssh/sshbuf.h
272
int sshbuf_dtourlb64(const struct sshbuf *d, struct sshbuf *b64, int wrap);
usr.bin/ssh/sshbuf.h
275
int sshbuf_b64tod(struct sshbuf *buf, const char *b64);
usr.bin/ssh/sshbuf.h
289
int sshbuf_cmp(const struct sshbuf *b, size_t offset,
usr.bin/ssh/sshbuf.h
299
int sshbuf_equals(const struct sshbuf *a, const struct sshbuf *b);
usr.bin/ssh/sshbuf.h
310
sshbuf_find(const struct sshbuf *b, size_t start_offset,
usr.bin/ssh/sshbuf.h
318
char *sshbuf_dup_string(struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
324
int sshbuf_load_fd(int, struct sshbuf **)
usr.bin/ssh/sshbuf.h
326
int sshbuf_load_file(const char *, struct sshbuf **)
usr.bin/ssh/sshbuf.h
333
int sshbuf_write_file(const char *path, struct sshbuf *buf)
usr.bin/ssh/sshbuf.h
337
int sshbuf_read(int, struct sshbuf *, size_t, size_t *)
usr.bin/ssh/sshbuf.h
392
size_t sshbuf_alloc(const struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
397
int sshbuf_set_parent(struct sshbuf *child, struct sshbuf *parent);
usr.bin/ssh/sshbuf.h
402
const struct sshbuf *sshbuf_parent(const struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
407
u_int sshbuf_refcount(const struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
44
struct sshbuf;
usr.bin/ssh/sshbuf.h
50
struct sshbuf *sshbuf_new(void);
usr.bin/ssh/sshbuf.h
56
struct sshbuf *sshbuf_from(const void *blob, size_t len);
usr.bin/ssh/sshbuf.h
64
struct sshbuf *sshbuf_fromb(struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
74
int sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp);
usr.bin/ssh/sshbuf.h
79
void sshbuf_free(struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
84
void sshbuf_reset(struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
89
size_t sshbuf_max_size(const struct sshbuf *buf);
usr.bin/ssh/sshbuf.h
95
int sshbuf_set_max_size(struct sshbuf *buf, size_t max_size);
usr.bin/ssh/sshconnect2.c
1313
struct sshbuf *b = NULL;
usr.bin/ssh/sshconnect2.c
2023
struct sshbuf *b;
usr.bin/ssh/sshconnect2.c
2140
struct sshbuf *b = NULL;
usr.bin/ssh/sshconnect2.c
2356
struct sshbuf *b;
usr.bin/ssh/sshconnect2.c
851
struct sshbuf *b;
usr.bin/ssh/sshd-auth.c
147
struct sshbuf *cfg;
usr.bin/ssh/sshd-auth.c
153
struct sshbuf *loginmsg;
usr.bin/ssh/sshd-auth.c
205
append_hostkey_type(struct sshbuf *b, const char *s)
usr.bin/ssh/sshd-auth.c
220
struct sshbuf *b;
usr.bin/ssh/sshd-auth.c
366
parse_hostkeys(struct sshbuf *hostkeys)
usr.bin/ssh/sshd-auth.c
407
struct sshbuf *hostkeys;
usr.bin/ssh/sshd-session.c
162
struct sshbuf *cfg;
usr.bin/ssh/sshd-session.c
168
struct sshbuf *loginmsg;
usr.bin/ssh/sshd-session.c
250
struct sshbuf *
usr.bin/ssh/sshd-session.c
253
struct sshbuf *keybuf = NULL, *hostkeys = NULL;
usr.bin/ssh/sshd-session.c
493
struct sshbuf *buf;
usr.bin/ssh/sshd-session.c
553
parse_hostkeys(struct sshbuf *hostkeys)
usr.bin/ssh/sshd-session.c
558
struct sshbuf *kbuf;
usr.bin/ssh/sshd-session.c
609
recv_rexec_state(int fd, struct sshbuf *conf, uint64_t *timing_secretp)
usr.bin/ssh/sshd-session.c
611
struct sshbuf *m, *inc, *hostkeys;
usr.bin/ssh/sshd.c
1199
accumulate_host_timing_secret(struct sshbuf *server_cfg,
usr.bin/ssh/sshd.c
1205
struct sshbuf *buf;
usr.bin/ssh/sshd.c
167
struct sshbuf *config;
usr.bin/ssh/sshd.c
168
struct sshbuf *keys;
usr.bin/ssh/sshd.c
174
struct sshbuf *cfg;
usr.bin/ssh/sshd.c
175
struct sshbuf *config; /* packed */
usr.bin/ssh/sshd.c
181
struct sshbuf *loginmsg;
usr.bin/ssh/sshd.c
638
static struct sshbuf *
usr.bin/ssh/sshd.c
641
struct sshbuf *m = NULL, *keybuf = NULL, *hostkeys = NULL;
usr.bin/ssh/sshd.c
695
static struct sshbuf *
usr.bin/ssh/sshd.c
696
pack_config(struct sshbuf *conf)
usr.bin/ssh/sshd.c
698
struct sshbuf *m = NULL, *inc = NULL;
usr.bin/ssh/sshd.c
763
struct sshbuf *keys;
usr.bin/ssh/sshd.c
905
struct sshbuf *buf;
usr.bin/ssh/sshkey.c
1271
struct sshbuf *blob;
usr.bin/ssh/sshkey.c
1342
struct sshbuf *b = NULL;
usr.bin/ssh/sshkey.c
1368
sshkey_format_text(const struct sshkey *key, struct sshbuf *b)
usr.bin/ssh/sshkey.c
1387
struct sshbuf *b = NULL;
usr.bin/ssh/sshkey.c
1599
struct sshbuf *prvbuf = NULL;
usr.bin/ssh/sshkey.c
1707
private2_check_padding(struct sshbuf *decrypted)
usr.bin/ssh/sshkey.c
1733
struct sshbuf *prvbuf = NULL;
usr.bin/ssh/sshkey.c
1820
cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf)
usr.bin/ssh/sshkey.c
1822
struct sshbuf *principals = NULL, *crit = NULL;
usr.bin/ssh/sshkey.c
1823
struct sshbuf *exts = NULL, *ca = NULL;
usr.bin/ssh/sshkey.c
1946
sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key)
usr.bin/ssh/sshkey.c
1955
sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp,
usr.bin/ssh/sshkey.c
1961
struct sshbuf *copy;
usr.bin/ssh/sshkey.c
2024
struct sshbuf *b;
usr.bin/ssh/sshkey.c
2035
sshkey_fromb(struct sshbuf *b, struct sshkey **keyp)
usr.bin/ssh/sshkey.c
2041
sshkey_froms(struct sshbuf *buf, struct sshkey **keyp)
usr.bin/ssh/sshkey.c
2043
struct sshbuf *b;
usr.bin/ssh/sshkey.c
2057
struct sshbuf *b = NULL;
usr.bin/ssh/sshkey.c
2239
struct sshbuf *principals = NULL;
usr.bin/ssh/sshkey.c
2243
struct sshbuf *cert = NULL;
usr.bin/ssh/sshkey.c
2486
sshkey_serialize_private_sk(const struct sshkey *key, struct sshbuf *b)
usr.bin/ssh/sshkey.c
2500
sshkey_private_serialize_opt(struct sshkey *key, struct sshbuf *buf,
usr.bin/ssh/sshkey.c
2505
struct sshbuf *b = NULL;
usr.bin/ssh/sshkey.c
2544
sshkey_private_serialize(struct sshkey *key, struct sshbuf *b)
usr.bin/ssh/sshkey.c
2553
sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k)
usr.bin/ssh/sshkey.c
2570
sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp)
usr.bin/ssh/sshkey.c
2784
sshkey_private_to_blob2(struct sshkey *prv, struct sshbuf *blob,
usr.bin/ssh/sshkey.c
2796
struct sshbuf *encoded = NULL, *encrypted = NULL, *kdf = NULL;
usr.bin/ssh/sshkey.c
2909
private2_uudecode(struct sshbuf *blob, struct sshbuf **decodedp)
usr.bin/ssh/sshkey.c
2915
struct sshbuf *encoded = NULL, *decoded = NULL;
usr.bin/ssh/sshkey.c
2984
private2_decrypt(struct sshbuf *decoded, const char *passphrase,
usr.bin/ssh/sshkey.c
2985
struct sshbuf **decryptedp, struct sshkey **pubkeyp)
usr.bin/ssh/sshkey.c
2991
struct sshbuf *kdf = NULL, *decrypted = NULL;
usr.bin/ssh/sshkey.c
3131
sshkey_parse_private2(struct sshbuf *blob, int type, const char *passphrase,
usr.bin/ssh/sshkey.c
3136
struct sshbuf *decoded = NULL, *decrypted = NULL;
usr.bin/ssh/sshkey.c
3191
sshkey_parse_private2_pubkey(struct sshbuf *blob, int type,
usr.bin/ssh/sshkey.c
3195
struct sshbuf *decoded = NULL;
usr.bin/ssh/sshkey.c
3243
sshkey_private_to_blob_pem_pkcs8(struct sshkey *key, struct sshbuf *buf,
usr.bin/ssh/sshkey.c
3253
struct sshbuf *blob;
usr.bin/ssh/sshkey.c
3340
sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
usr.bin/ssh/sshkey.c
3441
sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type,
usr.bin/ssh/sshkey.c
3580
sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type,
usr.bin/ssh/sshkey.c
3603
sshkey_parse_private_fileblob(struct sshbuf *buffer, const char *passphrase,
usr.bin/ssh/sshkey.c
3622
sshkey_parse_pubkey_from_private_fileblob_type(struct sshbuf *blob, int type,
usr.bin/ssh/sshkey.c
815
sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b)
usr.bin/ssh/sshkey.c
82
static int sshkey_from_blob_internal(struct sshbuf *buf,
usr.bin/ssh/sshkey.c
826
to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain,
usr.bin/ssh/sshkey.c
858
sshkey_putb(const struct sshkey *key, struct sshbuf *b)
usr.bin/ssh/sshkey.c
864
sshkey_puts_opts_internal(const struct sshkey *key, struct sshbuf *b,
usr.bin/ssh/sshkey.c
867
struct sshbuf *tmp;
usr.bin/ssh/sshkey.c
880
sshkey_puts(const struct sshkey *key, struct sshbuf *b)
usr.bin/ssh/sshkey.c
886
sshkey_putb_plain(const struct sshkey *key, struct sshbuf *b)
usr.bin/ssh/sshkey.c
892
sshkey_puts_plain(const struct sshkey *key, struct sshbuf *b)
usr.bin/ssh/sshkey.c
903
struct sshbuf *b = NULL;
usr.bin/ssh/sshkey.h
106
struct sshbuf *critical;
usr.bin/ssh/sshkey.h
107
struct sshbuf *extensions;
usr.bin/ssh/sshkey.h
129
struct sshbuf *sk_key_handle;
usr.bin/ssh/sshkey.h
130
struct sshbuf *sk_reserved;
usr.bin/ssh/sshkey.h
154
int (*serialize_public)(const struct sshkey *, struct sshbuf *,
usr.bin/ssh/sshkey.h
156
int (*deserialize_public)(const char *, struct sshbuf *,
usr.bin/ssh/sshkey.h
158
int (*serialize_private)(const struct sshkey *, struct sshbuf *,
usr.bin/ssh/sshkey.h
160
int (*deserialize_private)(const char *, struct sshbuf *,
usr.bin/ssh/sshkey.h
195
int sshkey_format_text(const struct sshkey *, struct sshbuf *);
usr.bin/ssh/sshkey.h
255
int sshkey_fromb(struct sshbuf *, struct sshkey **);
usr.bin/ssh/sshkey.h
256
int sshkey_froms(struct sshbuf *, struct sshkey **);
usr.bin/ssh/sshkey.h
259
int sshkey_putb(const struct sshkey *, struct sshbuf *);
usr.bin/ssh/sshkey.h
260
int sshkey_puts(const struct sshkey *, struct sshbuf *);
usr.bin/ssh/sshkey.h
262
int sshkey_putb_plain(const struct sshkey *, struct sshbuf *);
usr.bin/ssh/sshkey.h
263
int sshkey_puts_plain(const struct sshkey *, struct sshbuf *);
usr.bin/ssh/sshkey.h
284
int sshkey_private_serialize(struct sshkey *key, struct sshbuf *buf);
usr.bin/ssh/sshkey.h
285
int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **keyp);
usr.bin/ssh/sshkey.h
288
int sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
usr.bin/ssh/sshkey.h
291
int sshkey_parse_private_fileblob(struct sshbuf *buffer,
usr.bin/ssh/sshkey.h
293
int sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type,
usr.bin/ssh/sshkey.h
295
int sshkey_parse_pubkey_from_private_fileblob_type(struct sshbuf *blob,
usr.bin/ssh/sshkey.h
312
int sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b);
usr.bin/ssh/sshkey.h
314
int sshkey_deserialize_sk(struct sshbuf *b, struct sshkey *key);
usr.bin/ssh/sshkey.h
316
struct sshbuf *buf);
usr.bin/ssh/sshkey.h
317
int sshkey_private_deserialize_sk(struct sshbuf *buf, struct sshkey *k);
usr.bin/ssh/sshkey.h
50
struct sshbuf;
usr.bin/ssh/sshkey.h
99
struct sshbuf *certblob; /* Kept around for use on wire */
usr.bin/ssh/sshlogin.c
64
extern struct sshbuf *loginmsg;
usr.bin/ssh/sshsig.c
1147
sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey)
usr.bin/ssh/sshsig.c
163
const char *sk_provider, const char *sk_pin, const struct sshbuf *h_message,
usr.bin/ssh/sshsig.c
164
const char *sig_namespace, struct sshbuf **out,
usr.bin/ssh/sshsig.c
170
struct sshbuf *blob = NULL;
usr.bin/ssh/sshsig.c
171
struct sshbuf *tosign = NULL;
usr.bin/ssh/sshsig.c
240
sshsig_parse_preamble(struct sshbuf *buf)
usr.bin/ssh/sshsig.c
271
sshsig_peek_hashalg(struct sshbuf *signature, char **hashalgp)
usr.bin/ssh/sshsig.c
273
struct sshbuf *buf = NULL;
usr.bin/ssh/sshsig.c
303
sshsig_wrap_verify(struct sshbuf *signature, const char *hashalg,
usr.bin/ssh/sshsig.c
304
const struct sshbuf *h_message, const char *expect_namespace,
usr.bin/ssh/sshsig.c
308
struct sshbuf *buf = NULL, *toverify = NULL;
usr.bin/ssh/sshsig.c
404
hash_buffer(const struct sshbuf *m, const char *hashalg, struct sshbuf **bp)
usr.bin/ssh/sshsig.c
408
struct sshbuf *b = NULL;
usr.bin/ssh/sshsig.c
448
const struct sshbuf *message, const char *sig_namespace,
usr.bin/ssh/sshsig.c
449
struct sshbuf **out, sshsig_signer *signer, void *signer_ctx)
usr.bin/ssh/sshsig.c
451
struct sshbuf *b = NULL;
usr.bin/ssh/sshsig.c
47
sshsig_armor(const struct sshbuf *blob, struct sshbuf **out)
usr.bin/ssh/sshsig.c
473
sshsig_verifyb(struct sshbuf *signature, const struct sshbuf *message,
usr.bin/ssh/sshsig.c
477
struct sshbuf *b = NULL;
usr.bin/ssh/sshsig.c
49
struct sshbuf *buf = NULL;
usr.bin/ssh/sshsig.c
504
hash_file(int fd, const char *hashalg, struct sshbuf **bp)
usr.bin/ssh/sshsig.c
510
struct sshbuf *b = NULL;
usr.bin/ssh/sshsig.c
576
int fd, const char *sig_namespace, struct sshbuf **out,
usr.bin/ssh/sshsig.c
579
struct sshbuf *b = NULL;
usr.bin/ssh/sshsig.c
601
sshsig_verify_fd(struct sshbuf *signature, int fd,
usr.bin/ssh/sshsig.c
605
struct sshbuf *b = NULL;
usr.bin/ssh/sshsig.c
841
struct sshbuf *nprincipals;
usr.bin/ssh/sshsig.c
86
sshsig_dearmor(struct sshbuf *sig, struct sshbuf **out)
usr.bin/ssh/sshsig.c
90
struct sshbuf *buf = NULL;
usr.bin/ssh/sshsig.c
91
struct sshbuf *sbuf = NULL;
usr.bin/ssh/sshsig.h
21
struct sshbuf;
usr.bin/ssh/sshsig.h
38
const char *sk_provider, const char *sk_pin, const struct sshbuf *message,
usr.bin/ssh/sshsig.h
39
const char *sig_namespace, struct sshbuf **out,
usr.bin/ssh/sshsig.h
47
int sshsig_verifyb(struct sshbuf *signature,
usr.bin/ssh/sshsig.h
48
const struct sshbuf *message, const char *sig_namespace,
usr.bin/ssh/sshsig.h
61
struct sshbuf **out, sshsig_signer *signer, void *signer_ctx);
usr.bin/ssh/sshsig.h
68
int sshsig_verify_fd(struct sshbuf *signature, int fd,
usr.bin/ssh/sshsig.h
77
int sshsig_armor(const struct sshbuf *blob, struct sshbuf **out);
usr.bin/ssh/sshsig.h
82
int sshsig_dearmor(struct sshbuf *sig, struct sshbuf **out);
usr.bin/ssh/sshsig.h
99
int sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey);
usr.bin/ssh/ttymodes.c
253
struct sshbuf *buf;
usr.bin/ssh/ttymodes.c
316
struct sshbuf *buf;