crypto/openssh/auth-options.c
719
if ((r = sshbuf_put_cstring(b, a[i])) != 0)
crypto/openssh/auth-options.c
779
(r = sshbuf_put_cstring(m, s)) != 0)
crypto/openssh/auth-pam.c
1008
if ((r = sshbuf_put_cstring(buffer, *resp)) != 0)
crypto/openssh/auth-pam.c
1012
if ((r = sshbuf_put_cstring(buffer, fake)) != 0)
crypto/openssh/auth-pam.c
422
if ((r = sshbuf_put_cstring(buffer,
crypto/openssh/auth-pam.c
444
if ((r = sshbuf_put_cstring(buffer,
crypto/openssh/auth-pam.c
537
if ((r = sshbuf_put_cstring(buffer, "OK")) != 0)
crypto/openssh/auth-pam.c
555
if ((r = sshbuf_put_cstring(buffer, environ[i])) != 0)
crypto/openssh/auth-pam.c
568
if ((r = sshbuf_put_cstring(buffer, env_from_pam[i])) != 0)
crypto/openssh/auth-pam.c
579
if ((r = sshbuf_put_cstring(buffer,
crypto/openssh/auth.c
577
if ((r = sshbuf_put_cstring(auth_debug, buf)) != 0)
crypto/openssh/auth2-hostbased.c
132
(r = sshbuf_put_cstring(b, authctxt->user)) != 0 ||
crypto/openssh/auth2-hostbased.c
133
(r = sshbuf_put_cstring(b, authctxt->service)) != 0 ||
crypto/openssh/auth2-hostbased.c
134
(r = sshbuf_put_cstring(b, method)) != 0 ||
crypto/openssh/auth2-hostbased.c
137
(r = sshbuf_put_cstring(b, chost)) != 0 ||
crypto/openssh/auth2-hostbased.c
138
(r = sshbuf_put_cstring(b, cuser)) != 0)
crypto/openssh/auth2-pubkey.c
208
(r = sshbuf_put_cstring(b, userstyle)) != 0 ||
crypto/openssh/auth2-pubkey.c
209
(r = sshbuf_put_cstring(b, authctxt->service)) != 0 ||
crypto/openssh/auth2-pubkey.c
210
(r = sshbuf_put_cstring(b, method)) != 0 ||
crypto/openssh/auth2-pubkey.c
212
(r = sshbuf_put_cstring(b, pkalg)) != 0 ||
crypto/openssh/authfd.c
224
(r = sshbuf_put_cstring(msg, password)) != 0 ||
crypto/openssh/authfd.c
467
if ((r = sshbuf_put_cstring(b, dch->user)) != 0 ||
crypto/openssh/authfd.c
468
(r = sshbuf_put_cstring(b, dch->hostname)) != 0 ||
crypto/openssh/authfd.c
533
(r = sshbuf_put_cstring(m,
crypto/openssh/authfd.c
535
(r = sshbuf_put_cstring(m, provider)) != 0)
crypto/openssh/authfd.c
550
(r = sshbuf_put_cstring(m,
crypto/openssh/authfd.c
568
(r = sshbuf_put_cstring(m,
crypto/openssh/authfd.c
623
(r = sshbuf_put_cstring(msg, comment)) != 0)
crypto/openssh/authfd.c
704
(r = sshbuf_put_cstring(msg, reader_id)) != 0 ||
crypto/openssh/authfd.c
705
(r = sshbuf_put_cstring(msg, pin)) != 0)
crypto/openssh/authfd.c
765
(r = sshbuf_put_cstring(msg, "session-bind@openssh.com")) != 0 ||
crypto/openssh/channels.c
3179
if ((r = sshbuf_put_cstring(modified, ctype)) != 0 ||
crypto/openssh/clientloop.c
1725
(r = sshbuf_put_cstring(b, request_type)) != 0 ||
crypto/openssh/clientloop.c
1729
(r = sshbuf_put_cstring(b, listen_address)) != 0 ||
crypto/openssh/clientloop.c
1731
(r = sshbuf_put_cstring(b, originator_address)) != 0 ||
crypto/openssh/clientloop.c
2365
if ( (r = sshbuf_put_cstring(signdata,
crypto/openssh/gss-genr.c
267
(r = sshbuf_put_cstring(b, user)) != 0 ||
crypto/openssh/gss-genr.c
268
(r = sshbuf_put_cstring(b, service)) != 0 ||
crypto/openssh/gss-genr.c
269
(r = sshbuf_put_cstring(b, context)) != 0)
crypto/openssh/kex.c
166
if ((r = sshbuf_put_cstring(b, proposal[i])) != 0)
crypto/openssh/kex.c
305
(r = sshbuf_put_cstring(m, "server-sig-algs")) != 0 ||
crypto/openssh/kex.c
306
(r = sshbuf_put_cstring(m, ssh->kex->server_sig_algs)) != 0 ||
crypto/openssh/kex.c
307
(r = sshbuf_put_cstring(m,
crypto/openssh/kex.c
309
(r = sshbuf_put_cstring(m, "0")) != 0 ||
crypto/openssh/kex.c
310
(r = sshbuf_put_cstring(m, "ping@openssh.com")) != 0 ||
crypto/openssh/kex.c
311
(r = sshbuf_put_cstring(m, "0")) != 0) {
crypto/openssh/kex.c
324
(r = sshbuf_put_cstring(m, "ext-info-in-auth@openssh.com")) != 0 ||
crypto/openssh/kex.c
325
(r = sshbuf_put_cstring(m, "0")) != 0) {
crypto/openssh/krl.c
715
if ((r = sshbuf_put_cstring(sect, rki->key_id)) != 0)
crypto/openssh/krl.c
752
(r = sshbuf_put_cstring(buf, krl->comment)) != 0)
crypto/openssh/monitor.c
1083
(r = sshbuf_put_cstring(m, name)) != 0 ||
crypto/openssh/monitor.c
1084
(r = sshbuf_put_cstring(m, info)) != 0 ||
crypto/openssh/monitor.c
1091
if ((r = sshbuf_put_cstring(m, prompts[i])) != 0 ||
crypto/openssh/monitor.c
1583
(r = sshbuf_put_cstring(m, s->tty)) != 0)
crypto/openssh/monitor.c
656
if ((r = sshbuf_put_cstring(sigbuf, proof_req)) != 0 ||
crypto/openssh/monitor.c
726
(r = sshbuf_put_cstring(m, options.x)) != 0) \
crypto/openssh/monitor.c
731
if ((r = sshbuf_put_cstring(m, options.x[i])) != 0) \
crypto/openssh/monitor.c
784
if ((r = sshbuf_put_cstring(m, pwent->pw_name)) != 0 ||
crypto/openssh/monitor.c
785
(r = sshbuf_put_cstring(m, "*")) != 0 ||
crypto/openssh/monitor.c
787
(r = sshbuf_put_cstring(m, pwent->pw_gecos)) != 0 ||
crypto/openssh/monitor.c
790
(r = sshbuf_put_cstring(m, pwent->pw_class)) != 0 ||
crypto/openssh/monitor.c
792
(r = sshbuf_put_cstring(m, pwent->pw_dir)) != 0 ||
crypto/openssh/monitor.c
793
(r = sshbuf_put_cstring(m, pwent->pw_shell)) != 0)
crypto/openssh/monitor.c
835
if ((r = sshbuf_put_cstring(m, banner != NULL ? banner : "")) != 0)
crypto/openssh/monitor.c
949
if ((r = sshbuf_put_cstring(m, prompts[0])) != 0)
crypto/openssh/monitor_wrap.c
103
(r = sshbuf_put_cstring(log_msg, msg)) != 0)
crypto/openssh/monitor_wrap.c
277
(r = sshbuf_put_cstring(m, hostkey_alg)) != 0 ||
crypto/openssh/monitor_wrap.c
358
if ((r = sshbuf_put_cstring(m, username)) != 0)
crypto/openssh/monitor_wrap.c
446
if ((r = sshbuf_put_cstring(m, service)) != 0 ||
crypto/openssh/monitor_wrap.c
447
(r = sshbuf_put_cstring(m, style ? style : "")) != 0)
crypto/openssh/monitor_wrap.c
469
if ((r = sshbuf_put_cstring(m, password)) != 0)
crypto/openssh/monitor_wrap.c
524
(r = sshbuf_put_cstring(m, user ? user : "")) != 0 ||
crypto/openssh/monitor_wrap.c
525
(r = sshbuf_put_cstring(m, host ? host : "")) != 0 ||
crypto/openssh/monitor_wrap.c
578
(r = sshbuf_put_cstring(m, sigalg == NULL ? "" : sigalg)) != 0)
crypto/openssh/monitor_wrap.c
685
if ((r = sshbuf_put_cstring(m, s->tty)) != 0)
crypto/openssh/monitor_wrap.c
820
if ((r = sshbuf_put_cstring(m, resp[i])) != 0)
crypto/openssh/monitor_wrap.c
926
if ((r = sshbuf_put_cstring(m, responses[0])) != 0)
crypto/openssh/monitor_wrap.c
968
if ((r = sshbuf_put_cstring(m, command)) != 0)
crypto/openssh/mux.c
1798
(r = sshbuf_put_cstring(m, lhost)) != 0 ||
crypto/openssh/mux.c
1800
(r = sshbuf_put_cstring(m, chost)) != 0 ||
crypto/openssh/mux.c
1923
(r = sshbuf_put_cstring(m, term == NULL ? "" : term)) != 0 ||
crypto/openssh/mux.c
1932
if ((r = sshbuf_put_cstring(m, environ[i])) != 0)
crypto/openssh/mux.c
1937
if ((r = sshbuf_put_cstring(m, options.setenv[i])) != 0)
crypto/openssh/mux.c
2139
(r = sshbuf_put_cstring(m, options.stdio_forward_host)) != 0 ||
crypto/openssh/mux.c
328
(r = sshbuf_put_cstring(reply, msg)) != 0)
crypto/openssh/packet.c
2345
(r = sshbuf_put_cstring(m, kex->hostkey_alg)) != 0 ||
crypto/openssh/packet.c
2383
if ((r = sshbuf_put_cstring(b, enc->name)) != 0 ||
crypto/openssh/packet.c
2390
if ((r = sshbuf_put_cstring(b, mac->name)) != 0 ||
crypto/openssh/packet.c
2396
(r = sshbuf_put_cstring(b, comp->name)) != 0)
crypto/openssh/packet.c
2631
return sshbuf_put_cstring(ssh->state->outgoing_packet, v);
crypto/openssh/serverloop.c
704
if ((r = sshbuf_put_cstring(sigbuf,
crypto/openssh/sftp-client.c
1027
(r = sshbuf_put_cstring(msg,
crypto/openssh/sftp-client.c
1029
(r = sshbuf_put_cstring(msg, path)) != 0)
crypto/openssh/sftp-client.c
1149
(r = sshbuf_put_cstring(msg, oldpath)) != 0 ||
crypto/openssh/sftp-client.c
1169
(r = sshbuf_put_cstring(msg, newpath)) != 0 ||
crypto/openssh/sftp-client.c
1191
(r = sshbuf_put_cstring(msg, "copy-data")) != 0 ||
crypto/openssh/sftp-client.c
1235
(r = sshbuf_put_cstring(msg,
crypto/openssh/sftp-client.c
1245
if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 ||
crypto/openssh/sftp-client.c
1246
(r = sshbuf_put_cstring(msg, newpath)) != 0)
crypto/openssh/sftp-client.c
1283
(r = sshbuf_put_cstring(msg, "hardlink@openssh.com")) != 0 ||
crypto/openssh/sftp-client.c
1284
(r = sshbuf_put_cstring(msg, oldpath)) != 0 ||
crypto/openssh/sftp-client.c
1285
(r = sshbuf_put_cstring(msg, newpath)) != 0)
crypto/openssh/sftp-client.c
1320
(r = sshbuf_put_cstring(msg, oldpath)) != 0 ||
crypto/openssh/sftp-client.c
1321
(r = sshbuf_put_cstring(msg, newpath)) != 0)
crypto/openssh/sftp-client.c
1354
(r = sshbuf_put_cstring(msg, "fsync@openssh.com")) != 0 ||
crypto/openssh/sftp-client.c
1448
(r = sshbuf_put_cstring(msg, "statvfs@openssh.com")) != 0 ||
crypto/openssh/sftp-client.c
1449
(r = sshbuf_put_cstring(msg, path)) != 0)
crypto/openssh/sftp-client.c
1478
(r = sshbuf_put_cstring(msg, "fstatvfs@openssh.com")) != 0 ||
crypto/openssh/sftp-client.c
1507
(r = sshbuf_put_cstring(msg, "lsetstat@openssh.com")) != 0 ||
crypto/openssh/sftp-client.c
1508
(r = sshbuf_put_cstring(msg, path)) != 0 ||
crypto/openssh/sftp-client.c
1566
(r = sshbuf_put_cstring(msg, path)) != 0 ||
crypto/openssh/sftp-client.c
2878
(r = sshbuf_put_cstring(msg,
crypto/openssh/sftp-client.c
639
(r = sshbuf_put_cstring(msg, "limits@openssh.com")) != 0)
crypto/openssh/sftp-client.c
722
(r = sshbuf_put_cstring(msg, path)) != 0)
crypto/openssh/sftp-server.c
1749
if ((r = sshbuf_put_cstring(usernames, name)) != 0)
crypto/openssh/sftp-server.c
1759
if ((r = sshbuf_put_cstring(groupnames, name)) != 0)
crypto/openssh/sftp-server.c
565
if ((r = sshbuf_put_cstring(msg, errmsg == NULL ?
crypto/openssh/sftp-server.c
567
(r = sshbuf_put_cstring(msg, "")) != 0)
crypto/openssh/sftp-server.c
629
if ((r = sshbuf_put_cstring(msg, stats[i].name)) != 0 ||
crypto/openssh/sftp-server.c
630
(r = sshbuf_put_cstring(msg, stats[i].long_name)) != 0 ||
crypto/openssh/sftp-server.c
701
if ((r = sshbuf_put_cstring(msg, name)) != 0 ||
crypto/openssh/sftp-server.c
702
(r = sshbuf_put_cstring(msg, ver)) != 0)
crypto/openssh/ssh-agent.c
644
(r = sshbuf_put_cstring(keys, id->comment)) != 0) {
crypto/openssh/ssh-dss.c
306
if ((ret = sshbuf_put_cstring(b, "ssh-dss")) != 0 ||
crypto/openssh/ssh-ecdsa.c
102
if ((r = sshbuf_put_cstring(b,
crypto/openssh/ssh-ecdsa.c
268
if ((ret = sshbuf_put_cstring(b, sshkey_ssh_name_plain(key))) != 0 ||
crypto/openssh/ssh-ed25519.c
181
if ((r = sshbuf_put_cstring(b, "ssh-ed25519")) != 0 ||
crypto/openssh/ssh-keygen.c
1679
if ((r = sshbuf_put_cstring(c, ext->key)) != 0 ||
crypto/openssh/ssh-keygen.c
1686
if ((r = sshbuf_put_cstring(c, ext->key)) != 0 ||
crypto/openssh/ssh-keygen.c
1687
(r = sshbuf_put_cstring(b, ext->val)) != 0 ||
crypto/openssh/ssh-pkcs11-client.c
604
(r = sshbuf_put_cstring(msg, name)) != 0 ||
crypto/openssh/ssh-pkcs11-client.c
605
(r = sshbuf_put_cstring(msg, pin)) != 0)
crypto/openssh/ssh-pkcs11-helper.c
145
(r = sshbuf_put_cstring(msg, labels[i])) != 0)
crypto/openssh/ssh-rsa.c
452
if ((ret = sshbuf_put_cstring(b, rsa_hash_alg_ident(hash_alg))) != 0 ||
crypto/openssh/ssh-sk-client.c
255
(r = sshbuf_put_cstring(req, provider)) != 0 ||
crypto/openssh/ssh-sk-client.c
257
(r = sshbuf_put_cstring(req, NULL)) != 0 || /* alg */
crypto/openssh/ssh-sk-client.c
259
(r = sshbuf_put_cstring(req, pin)) != 0) {
crypto/openssh/ssh-sk-client.c
322
(r = sshbuf_put_cstring(req, provider_path)) != 0 ||
crypto/openssh/ssh-sk-client.c
323
(r = sshbuf_put_cstring(req, device)) != 0 ||
crypto/openssh/ssh-sk-client.c
324
(r = sshbuf_put_cstring(req, application)) != 0 ||
crypto/openssh/ssh-sk-client.c
325
(r = sshbuf_put_cstring(req, userid)) != 0 ||
crypto/openssh/ssh-sk-client.c
327
(r = sshbuf_put_cstring(req, pin)) != 0 ||
crypto/openssh/ssh-sk-client.c
416
if ((r = sshbuf_put_cstring(req, provider_path)) != 0 ||
crypto/openssh/ssh-sk-client.c
417
(r = sshbuf_put_cstring(req, device)) != 0 ||
crypto/openssh/ssh-sk-client.c
418
(r = sshbuf_put_cstring(req, pin)) != 0 ||
crypto/openssh/ssh-xmss.c
241
if ((r = sshbuf_put_cstring(b, "ssh-xmss@openssh.com")) != 0 ||
crypto/openssh/ssh-xmss.c
77
if ((r = sshbuf_put_cstring(b, key->xmss_name)) != 0 ||
crypto/openssh/ssh-xmss.c
95
if ((r = sshbuf_put_cstring(b, key->xmss_name)) != 0 ||
crypto/openssh/sshbuf.h
193
int sshbuf_put_cstring(struct sshbuf *buf, const char *v);
crypto/openssh/sshconnect2.c
1408
(r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 ||
crypto/openssh/sshconnect2.c
1409
(r = sshbuf_put_cstring(b, authctxt->service)) != 0 ||
crypto/openssh/sshconnect2.c
1410
(r = sshbuf_put_cstring(b, method)) != 0 ||
crypto/openssh/sshconnect2.c
1412
(r = sshbuf_put_cstring(b, alg)) != 0 ||
crypto/openssh/sshconnect2.c
2212
(r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 ||
crypto/openssh/sshconnect2.c
2213
(r = sshbuf_put_cstring(b, authctxt->service)) != 0 ||
crypto/openssh/sshconnect2.c
2214
(r = sshbuf_put_cstring(b, authctxt->method->name)) != 0 ||
crypto/openssh/sshconnect2.c
2215
(r = sshbuf_put_cstring(b, authctxt->active_ktype)) != 0 ||
crypto/openssh/sshconnect2.c
2217
(r = sshbuf_put_cstring(b, chost)) != 0 ||
crypto/openssh/sshconnect2.c
2218
(r = sshbuf_put_cstring(b, authctxt->local_user)) != 0) {
crypto/openssh/sshd.c
692
if ((r = sshbuf_put_cstring(inc, item->selector)) != 0 ||
crypto/openssh/sshd.c
693
(r = sshbuf_put_cstring(inc, item->filename)) != 0 ||
crypto/openssh/sshkey-xmss.c
301
if ((r = sshbuf_put_cstring(b, state->enc_ciphername)) != 0 ||
crypto/openssh/sshkey-xmss.c
690
if ((r = sshbuf_put_cstring(b, SSH_XMSS_K2_MAGIC)) != 0 ||
crypto/openssh/sshkey-xmss.c
749
(r = sshbuf_put_cstring(b, k->xmss_filename)) != 0)
crypto/openssh/sshkey.c
2217
if ((ret = sshbuf_put_cstring(cert, sshkey_ssh_name(k))) != 0)
crypto/openssh/sshkey.c
2233
(ret = sshbuf_put_cstring(cert, k->cert->key_id)) != 0)
crypto/openssh/sshkey.c
2241
if ((ret = sshbuf_put_cstring(principals,
crypto/openssh/sshkey.c
2432
if ((r = sshbuf_put_cstring(b, key->sk_application)) != 0 ||
crypto/openssh/sshkey.c
2456
if ((r = sshbuf_put_cstring(b, sshkey_ssh_name(key))) != 0)
crypto/openssh/sshkey.c
2808
(r = sshbuf_put_cstring(encoded, ciphername)) != 0 ||
crypto/openssh/sshkey.c
2809
(r = sshbuf_put_cstring(encoded, kdfname)) != 0 ||
crypto/openssh/sshkey.c
2827
(r = sshbuf_put_cstring(encrypted, comment)) != 0)
crypto/openssh/sshkey.c
735
if ((r = sshbuf_put_cstring(b, key->sk_application)) != 0)
crypto/openssh/sshkey.c
768
if ((ret = sshbuf_put_cstring(b, typename)) != 0)
crypto/openssh/sshsig.c
184
(r = sshbuf_put_cstring(tosign, sig_namespace)) != 0 ||
crypto/openssh/sshsig.c
186
(r = sshbuf_put_cstring(tosign, hashalg)) != 0 ||
crypto/openssh/sshsig.c
215
(r = sshbuf_put_cstring(blob, sig_namespace)) != 0 ||
crypto/openssh/sshsig.c
217
(r = sshbuf_put_cstring(blob, hashalg)) != 0 ||
crypto/openssh/sshsig.c
324
(r = sshbuf_put_cstring(toverify, expect_namespace)) != 0 ||
crypto/openssh/sshsig.c
326
(r = sshbuf_put_cstring(toverify, hashalg)) != 0 ||