Symbol: sshbuf_put_u8
crypto/openssh/auth-options.c
776
if ((r = sshbuf_put_u8(m, s == NULL)) != 0 ||
crypto/openssh/auth-options.c
802
if ((r = sshbuf_put_u8(m, opts->permit_port_forwarding_flag)) != 0 ||
crypto/openssh/auth-options.c
803
(r = sshbuf_put_u8(m, opts->permit_agent_forwarding_flag)) != 0 ||
crypto/openssh/auth-options.c
804
(r = sshbuf_put_u8(m, opts->permit_x11_forwarding_flag)) != 0 ||
crypto/openssh/auth-options.c
805
(r = sshbuf_put_u8(m, opts->permit_pty_flag)) != 0 ||
crypto/openssh/auth-options.c
806
(r = sshbuf_put_u8(m, opts->permit_user_rc)) != 0 ||
crypto/openssh/auth-options.c
807
(r = sshbuf_put_u8(m, opts->restricted)) != 0 ||
crypto/openssh/auth-options.c
808
(r = sshbuf_put_u8(m, opts->cert_authority)) != 0 ||
crypto/openssh/auth-options.c
809
(r = sshbuf_put_u8(m, opts->no_require_user_presence)) != 0 ||
crypto/openssh/auth-options.c
810
(r = sshbuf_put_u8(m, opts->require_verify)) != 0)
crypto/openssh/auth-options.c
818
if ((r = sshbuf_put_u8(m, opts->force_tun_device == -1)) != 0 ||
crypto/openssh/auth2-hostbased.c
132
(r = sshbuf_put_u8(b, SSH2_MSG_USERAUTH_REQUEST)) != 0 ||
crypto/openssh/auth2-pubkey.c
207
if ((r = sshbuf_put_u8(b, SSH2_MSG_USERAUTH_REQUEST)) != 0 ||
crypto/openssh/auth2-pubkey.c
211
(r = sshbuf_put_u8(b, have_sig)) != 0 ||
crypto/openssh/auth2.c
795
if ((r = sshbuf_put_u8(authctxt->session_info, ' ')) != 0 ||
crypto/openssh/auth2.c
805
if ((r = sshbuf_put_u8(authctxt->session_info, ' ')) != 0 ||
crypto/openssh/auth2.c
811
if ((r = sshbuf_put_u8(authctxt->session_info, '\n')) != 0)
crypto/openssh/authfd.c
222
if ((r = sshbuf_put_u8(msg, type)) != 0 ||
crypto/openssh/authfd.c
275
if ((r = sshbuf_put_u8(msg, SSH2_AGENTC_REQUEST_IDENTITIES)) != 0)
crypto/openssh/authfd.c
421
if ((r = sshbuf_put_u8(msg, SSH2_AGENTC_SIGN_REQUEST)) != 0 ||
crypto/openssh/authfd.c
479
(r = sshbuf_put_u8(b, dch->key_is_ca[i] != 0)) != 0)
crypto/openssh/authfd.c
523
if ((r = sshbuf_put_u8(m, SSH_AGENT_CONSTRAIN_LIFETIME)) != 0 ||
crypto/openssh/authfd.c
528
if ((r = sshbuf_put_u8(m, SSH_AGENT_CONSTRAIN_CONFIRM)) != 0)
crypto/openssh/authfd.c
532
if ((r = sshbuf_put_u8(m,
crypto/openssh/authfd.c
549
if ((r = sshbuf_put_u8(m,
crypto/openssh/authfd.c
567
if ((r = sshbuf_put_u8(m,
crypto/openssh/authfd.c
571
(r = sshbuf_put_u8(m, cert_only != 0)) != 0 ||
crypto/openssh/authfd.c
618
if ((r = sshbuf_put_u8(msg, type)) != 0 ||
crypto/openssh/authfd.c
658
if ((r = sshbuf_put_u8(msg,
crypto/openssh/authfd.c
700
if ((r = sshbuf_put_u8(msg, type)) != 0 ||
crypto/openssh/authfd.c
737
if ((r = sshbuf_put_u8(msg, type)) != 0)
crypto/openssh/authfd.c
761
if ((r = sshbuf_put_u8(msg, SSH_AGENTC_EXTENSION)) != 0 ||
crypto/openssh/authfd.c
766
(r = sshbuf_put_u8(msg, forwarding ? 1 : 0)) != 0)
crypto/openssh/authfd.c
790
if ((r = sshbuf_put_u8(msg, SSH_AGENTC_EXTENSION)) != 0 ||
crypto/openssh/channels.c
1591
if ((r = sshbuf_put_u8(output, 0)) != 0 || /* vn: 0 for reply */
crypto/openssh/channels.c
1592
(r = sshbuf_put_u8(output, 90)) != 0 || /* cd: req granted */
crypto/openssh/channels.c
1651
if ((r = sshbuf_put_u8(output, 0x05)) != 0 ||
crypto/openssh/channels.c
1652
(r = sshbuf_put_u8(output, SSH_SOCKS5_NOAUTH)) != 0)
crypto/openssh/channels.c
1755
if ((r = sshbuf_put_u8(output, 0x05)) != 0 || /* version */
crypto/openssh/channels.c
1756
(r = sshbuf_put_u8(output, SSH_SOCKS5_SUCCESS)) != 0 || /* cmd */
crypto/openssh/channels.c
1757
(r = sshbuf_put_u8(output, 0)) != 0 || /* reserved, ignored */
crypto/openssh/channels.c
1758
(r = sshbuf_put_u8(output, SSH_SOCKS5_IPV4)) != 0 || /* addrtype */
crypto/openssh/channels.c
3420
if ((r = sshbuf_put_u8(b, 0)) != 0 || /* padlen */
crypto/openssh/channels.c
3421
(r = sshbuf_put_u8(b, type)) != 0 ||
crypto/openssh/clientloop.c
1321
if ((r = sshbuf_put_u8(bin, 4)) != 0)
crypto/openssh/clientloop.c
1354
if ((r = sshbuf_put_u8(bin,
crypto/openssh/clientloop.c
1382
if ((r = sshbuf_put_u8(bin, ch)) != 0)
crypto/openssh/clientloop.c
1756
if ((r = sshbuf_put_u8(b, 0)) != 0 || /* padlen */
crypto/openssh/clientloop.c
1757
(r = sshbuf_put_u8(b, SSH2_MSG_CHANNEL_OPEN)) != 0 ||
crypto/openssh/gss-genr.c
130
(r = sshbuf_put_u8(b, '\n')) != 0)
crypto/openssh/gss-genr.c
142
(r = sshbuf_put_u8(b, '\n')) != 0)
crypto/openssh/gss-genr.c
148
if ((r = sshbuf_put_u8(b, '\n')) != 0)
crypto/openssh/gss-genr.c
266
(r = sshbuf_put_u8(b, SSH2_MSG_USERAUTH_REQUEST)) != 0 ||
crypto/openssh/kex.c
1347
if ((r = sshbuf_put_u8(peer_version, c)) != 0) {
crypto/openssh/kex.c
158
if ((r = sshbuf_put_u8(b, 0)) != 0)
crypto/openssh/kex.c
165
if ((r = sshbuf_put_u8(b, 0)) != 0 || /* first_kex_packet_follows */
crypto/openssh/kexgen.c
71
(r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 ||
crypto/openssh/kexgen.c
74
(r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 ||
crypto/openssh/kexgex.c
73
(r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 ||
crypto/openssh/kexgex.c
76
(r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 ||
crypto/openssh/krl.c
633
if ((r = sshbuf_put_u8(buf, state)) != 0 ||
crypto/openssh/krl.c
706
if ((r = sshbuf_put_u8(buf, state)) != 0 ||
crypto/openssh/krl.c
720
if ((r = sshbuf_put_u8(buf, KRL_SECTION_CERT_KEY_ID)) != 0 ||
crypto/openssh/krl.c
761
if ((r = sshbuf_put_u8(buf, KRL_SECTION_CERTIFICATES)) != 0 ||
crypto/openssh/krl.c
774
if ((r = sshbuf_put_u8(buf, KRL_SECTION_EXPLICIT_KEY)) != 0 ||
crypto/openssh/krl.c
785
if ((r = sshbuf_put_u8(buf,
crypto/openssh/krl.c
797
if ((r = sshbuf_put_u8(buf,
crypto/openssh/misc.c
1423
if ((r = sshbuf_put_u8(buf, *string)) != 0)
crypto/openssh/misc.c
2222
r = sshbuf_put_u8(arg, c);
crypto/openssh/misc.c
2227
if ((r = sshbuf_put_u8(arg, '\\')) != 0)
crypto/openssh/misc.c
2231
r = sshbuf_put_u8(arg, c);
crypto/openssh/misc.c
2237
if ((i != 0 && (r = sshbuf_put_u8(buf, ' ')) != 0) ||
crypto/openssh/misc.c
2238
(ws != 0 && (r = sshbuf_put_u8(buf, '"')) != 0) ||
crypto/openssh/misc.c
2240
(ws != 0 && (r = sshbuf_put_u8(buf, '"')) != 0))
crypto/openssh/monitor.c
1623
(r = sshbuf_put_u8(m, sig_details != NULL)) != 0)
crypto/openssh/monitor.c
1627
(r = sshbuf_put_u8(m, sig_details->sk_flags)) != 0)
crypto/openssh/monitor.c
686
if ((r = sshbuf_put_u8(m, 0)) != 0)
crypto/openssh/monitor.c
691
if ((r = sshbuf_put_u8(m, 1)) != 0 ||
crypto/openssh/monitor.c
869
if ((r = sshbuf_put_u8(m, 0)) != 0)
crypto/openssh/monitor.c
880
if ((r = sshbuf_put_u8(m, 1)) != 0)
crypto/openssh/packet.c
2712
return sshbuf_put_u8(ssh->state->outgoing_packet, val);
crypto/openssh/regress/unittests/crypto/tests.c
52
ASSERT_INT_EQ(sshbuf_put_u8(ret, 0), 0);
crypto/openssh/regress/unittests/servconf/tests.c
214
ASSERT_INT_EQ(sshbuf_put_u8(buf, 0), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fixed.c
102
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x01), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
720
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0), 0); /* hello\0 */
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
770
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0), 0); /* "there\0" */
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
772
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0), 0); /* "it is\0" */
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
801
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
814
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_basic.c
816
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
180
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x00), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
198
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x00), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_crypto.c
255
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x00), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
101
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x11), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
102
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x22), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
103
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x33), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
78
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x11), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
89
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x11), 0);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_misc.c
90
ASSERT_INT_EQ(sshbuf_put_u8(p1, 0x22), 0);
crypto/openssh/regress/unittests/sshkey/common.c
66
ASSERT_INT_EQ(sshbuf_put_u8(ret, 0), 0);
crypto/openssh/servconf.c
2643
if ((r = sshbuf_put_u8(conf, 0)) != 0)
crypto/openssh/servconf.c
2745
if ((r = sshbuf_put_u8(buf, v < 0)) != 0 ||
crypto/openssh/servconf.c
2758
if ((r = sshbuf_put_u8(buf, v < 0)) != 0 ||
crypto/openssh/servconf.c
2793
if ((r = sshbuf_put_u8(buf, s != NULL)) != 0)
crypto/openssh/servconf.c
2951
if ((r = sshbuf_put_u8(buf,
crypto/openssh/session.c
232
if ((r = sshbuf_put_u8(loginmsg, 0)) != 0)
crypto/openssh/sftp-client.c
1010
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
1132
if ((r = sshbuf_put_u8(msg, SSH2_FXP_OPEN)) != 0 ||
crypto/openssh/sftp-client.c
1152
if ((r = sshbuf_put_u8(msg, SSH2_FXP_OPEN)) != 0 ||
crypto/openssh/sftp-client.c
1174
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
1218
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
1226
if ((r = sshbuf_put_u8(msg, SSH2_FXP_RENAME)) != 0 ||
crypto/openssh/sftp-client.c
1266
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
1303
if ((r = sshbuf_put_u8(msg, SSH2_FXP_SYMLINK)) != 0 ||
crypto/openssh/sftp-client.c
1337
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
1431
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
1461
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
1490
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
1515
if ((r = sshbuf_put_u8(msg, SSH2_FXP_READ)) != 0 ||
crypto/openssh/sftp-client.c
1549
if ((r = sshbuf_put_u8(msg, SSH2_FXP_OPEN)) != 0 ||
crypto/openssh/sftp-client.c
2135
if ((r = sshbuf_put_u8(msg, SSH2_FXP_WRITE)) != 0 ||
crypto/openssh/sftp-client.c
229
if ((r = sshbuf_put_u8(msg, code)) != 0 ||
crypto/openssh/sftp-client.c
247
if ((r = sshbuf_put_u8(msg, code)) != 0 ||
crypto/openssh/sftp-client.c
2592
if ((r = sshbuf_put_u8(msg, SSH2_FXP_WRITE)) != 0 ||
crypto/openssh/sftp-client.c
2880
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
465
if ((r = sshbuf_put_u8(msg, SSH2_FXP_INIT)) != 0 ||
crypto/openssh/sftp-client.c
622
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 ||
crypto/openssh/sftp-client.c
670
if ((r = sshbuf_put_u8(msg, SSH2_FXP_CLOSE)) != 0 ||
crypto/openssh/sftp-client.c
705
if ((r = sshbuf_put_u8(msg, SSH2_FXP_OPENDIR)) != 0 ||
crypto/openssh/sftp-client.c
730
if ((r = sshbuf_put_u8(msg, SSH2_FXP_READDIR)) != 0 ||
crypto/openssh/sftp-server.c
1528
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED_REPLY)) != 0 ||
crypto/openssh/sftp-server.c
1782
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED_REPLY)) != 0 ||
crypto/openssh/sftp-server.c
552
if ((r = sshbuf_put_u8(msg, SSH2_FXP_STATUS)) != 0 ||
crypto/openssh/sftp-server.c
580
if ((r = sshbuf_put_u8(msg, type)) != 0 ||
crypto/openssh/sftp-server.c
615
if ((r = sshbuf_put_u8(msg, SSH2_FXP_NAME)) != 0 ||
crypto/openssh/sftp-server.c
639
if ((r = sshbuf_put_u8(msg, SSH2_FXP_ATTRS)) != 0 ||
crypto/openssh/sftp-server.c
659
if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED_REPLY)) != 0 ||
crypto/openssh/sftp-server.c
712
if ((r = sshbuf_put_u8(msg, SSH2_FXP_VERSION)) != 0 ||
crypto/openssh/ssh-agent.c
1538
if ((r = sshbuf_put_u8(msg, SSH2_AGENT_IDENTITIES_ANSWER)) != 0 ||
crypto/openssh/ssh-agent.c
1799
if ((r = sshbuf_put_u8(msg, SSH_AGENT_EXTENSION_RESPONSE)) != 0 ||
crypto/openssh/ssh-agent.c
627
(r = sshbuf_put_u8(e->output, code)) != 0)
crypto/openssh/ssh-agent.c
673
if ((r = sshbuf_put_u8(msg, SSH2_AGENT_IDENTITIES_ANSWER)) != 0 ||
crypto/openssh/ssh-agent.c
990
if ((r = sshbuf_put_u8(msg, SSH2_AGENT_SIGN_RESPONSE)) != 0 ||
crypto/openssh/ssh-agent.c
993
} else if ((r = sshbuf_put_u8(msg, SSH_AGENT_FAILURE)) != 0)
crypto/openssh/ssh-ecdsa-sk.c
365
(ret = sshbuf_put_u8(original_signed, sig_flags)) != 0 ||
crypto/openssh/ssh-ed25519-sk.c
207
sshbuf_put_u8(encoded, sig_flags) != 0 ||
crypto/openssh/ssh-mldsa-eddsa.c
117
(r = sshbuf_put_u8(m_prime, (uint8_t)ctxlen)) != 0 ||
crypto/openssh/ssh-pkcs11-client.c
250
if ((r = sshbuf_put_u8(msg, SSH2_AGENTC_SIGN_REQUEST)) != 0 ||
crypto/openssh/ssh-pkcs11-client.c
401
if ((r = sshbuf_put_u8(msg, SSH_AGENTC_ADD_SMARTCARD_KEY)) != 0 ||
crypto/openssh/ssh-pkcs11-helper.c
136
if ((r = sshbuf_put_u8(msg, SSH2_AGENT_SIGN_RESPONSE)) != 0 ||
crypto/openssh/ssh-pkcs11-helper.c
140
if ((r = sshbuf_put_u8(msg, SSH2_AGENT_FAILURE)) != 0)
crypto/openssh/ssh-pkcs11-helper.c
79
if ((r = sshbuf_put_u8(msg,
crypto/openssh/ssh-pkcs11-helper.c
91
} else if ((r = sshbuf_put_u8(msg, SSH_AGENT_FAILURE)) != 0 ||
crypto/openssh/ssh-sk-client.c
178
(r = sshbuf_put_u8(req, log_is_on_stderr() != 0)) != 0 ||
crypto/openssh/ssh-sk-client.c
344
(r = sshbuf_put_u8(req, flags)) != 0 ||
crypto/openssh/ssh-sk.c
602
(r = sshbuf_put_u8(sig, resp->flags)) != 0 ||
crypto/openssh/ssh-sk.c
635
(r = sshbuf_put_u8(sig, resp->flags)) != 0 ||
crypto/openssh/ssh_api.c
367
if ((r = sshbuf_put_u8(banner, c)) != 0)
crypto/openssh/sshbuf-misc.c
118
if ((r = sshbuf_put_u8(ret, (u_char)((v1 << 4) | v2))) != 0) {
crypto/openssh/sshbuf-misc.c
147
if ((r = sshbuf_put_u8(b64, s[i])) != 0)
crypto/openssh/sshbuf-misc.c
149
if (i % 70 == 69 && (r = sshbuf_put_u8(b64, '\n')) != 0)
crypto/openssh/sshbuf-misc.c
152
if ((i - 1) % 70 != 69 && (r = sshbuf_put_u8(b64, '\n')) != 0)
crypto/openssh/sshbuf.h
184
int sshbuf_put_u8(struct sshbuf *buf, u_char val);
crypto/openssh/sshconnect2.c
1418
if ((r = sshbuf_put_u8(b, SSH2_MSG_USERAUTH_REQUEST)) != 0 ||
crypto/openssh/sshconnect2.c
1422
(r = sshbuf_put_u8(b, 1)) != 0 ||
crypto/openssh/sshconnect2.c
2229
(r = sshbuf_put_u8(b, SSH2_MSG_USERAUTH_REQUEST)) != 0 ||
crypto/openssh/sshd.c
719
(r = sshbuf_put_u8(m, 0)) != 0 ||
crypto/openssh/sshd.c
754
(r = sshbuf_put_u8(m, 0)) != 0 ||
crypto/openssh/sshkey.c
1697
if ((r = sshbuf_put_u8(prvbuf, ++i & 0xff)) != 0)
crypto/openssh/sshkey.c
2539
(r = sshbuf_put_u8(b, key->sk_flags)) != 0 ||
crypto/openssh/sshkey.c
2916
if ((r = sshbuf_put_u8(encrypted, ++i & 0xff)) != 0)
crypto/openssh/sshkey.c
2990
if ((r = sshbuf_put_u8(encoded, *cp)) != 0)
crypto/openssh/sshkey.c
3000
if ((r = sshbuf_put_u8(encoded, 0)) != 0)
crypto/openssh/sshsig.c
74
(r = sshbuf_put_u8(buf, '\n')) != 0) {
crypto/openssh/ttymodes.c
302
if ((r = sshbuf_put_u8(buf, TTY_OP_OSPEED)) != 0 ||
crypto/openssh/ttymodes.c
304
(r = sshbuf_put_u8(buf, TTY_OP_ISPEED)) != 0 ||
crypto/openssh/ttymodes.c
310
if ((r = sshbuf_put_u8(buf, OP)) != 0 || \
crypto/openssh/ttymodes.c
320
} else if ((r = sshbuf_put_u8(buf, OP)) != 0 || \
crypto/openssh/ttymodes.c
331
if ((r = sshbuf_put_u8(buf, TTY_OP_END)) != 0 ||