Symbol: sshbuf_put_cstring
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
1011
if ((r = sshbuf_put_cstring(buffer, *resp)) != 0)
crypto/openssh/auth-pam.c
1015
if ((r = sshbuf_put_cstring(buffer, fake)) != 0)
crypto/openssh/auth-pam.c
423
if ((r = sshbuf_put_cstring(buffer,
crypto/openssh/auth-pam.c
445
if ((r = sshbuf_put_cstring(buffer,
crypto/openssh/auth-pam.c
538
if ((r = sshbuf_put_cstring(buffer, "OK")) != 0)
crypto/openssh/auth-pam.c
556
if ((r = sshbuf_put_cstring(buffer, environ[i])) != 0)
crypto/openssh/auth-pam.c
569
if ((r = sshbuf_put_cstring(buffer, env_from_pam[i])) != 0)
crypto/openssh/auth-pam.c
580
if ((r = sshbuf_put_cstring(buffer,
crypto/openssh/auth.c
603
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
213
(r = sshbuf_put_cstring(b, userstyle)) != 0 ||
crypto/openssh/auth2-pubkey.c
214
(r = sshbuf_put_cstring(b, authctxt->service)) != 0 ||
crypto/openssh/auth2-pubkey.c
215
(r = sshbuf_put_cstring(b, method)) != 0 ||
crypto/openssh/auth2-pubkey.c
217
(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
3183
if ((r = sshbuf_put_cstring(modified, ctype)) != 0 ||
crypto/openssh/clientloop.c
1726
(r = sshbuf_put_cstring(b, request_type)) != 0 ||
crypto/openssh/clientloop.c
1730
(r = sshbuf_put_cstring(b, listen_address)) != 0 ||
crypto/openssh/clientloop.c
1732
(r = sshbuf_put_cstring(b, originator_address)) != 0 ||
crypto/openssh/clientloop.c
2366
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
716
if ((r = sshbuf_put_cstring(sect, rki->key_id)) != 0)
crypto/openssh/krl.c
753
(r = sshbuf_put_cstring(buf, krl->comment)) != 0)
crypto/openssh/monitor.c
1056
if ((r = sshbuf_put_cstring(m, prompts[0])) != 0)
crypto/openssh/monitor.c
1190
(r = sshbuf_put_cstring(m, name)) != 0 ||
crypto/openssh/monitor.c
1191
(r = sshbuf_put_cstring(m, info)) != 0 ||
crypto/openssh/monitor.c
1198
if ((r = sshbuf_put_cstring(m, prompts[i])) != 0 ||
crypto/openssh/monitor.c
1690
(r = sshbuf_put_cstring(m, s->tty)) != 0)
crypto/openssh/monitor.c
611
if ((r = sshbuf_put_cstring(inc, item->selector)) != 0 ||
crypto/openssh/monitor.c
612
(r = sshbuf_put_cstring(inc, item->filename)) != 0 ||
crypto/openssh/monitor.c
754
if ((r = sshbuf_put_cstring(sigbuf, proof_req)) != 0 ||
crypto/openssh/monitor.c
824
(r = sshbuf_put_cstring(m, options.x)) != 0) \
crypto/openssh/monitor.c
829
if ((r = sshbuf_put_cstring(m, options.x[i])) != 0) \
crypto/openssh/monitor.c
882
if ((r = sshbuf_put_cstring(m, pwent->pw_name)) != 0 ||
crypto/openssh/monitor.c
883
(r = sshbuf_put_cstring(m, "*")) != 0 ||
crypto/openssh/monitor.c
885
(r = sshbuf_put_cstring(m, pwent->pw_gecos)) != 0 ||
crypto/openssh/monitor.c
888
(r = sshbuf_put_cstring(m, pwent->pw_class)) != 0 ||
crypto/openssh/monitor.c
890
(r = sshbuf_put_cstring(m, pwent->pw_dir)) != 0 ||
crypto/openssh/monitor.c
891
(r = sshbuf_put_cstring(m, pwent->pw_shell)) != 0)
crypto/openssh/monitor.c
942
if ((r = sshbuf_put_cstring(m, banner != NULL ? banner : "")) != 0)
crypto/openssh/monitor_wrap.c
1024
if ((r = sshbuf_put_cstring(m, command)) != 0)
crypto/openssh/monitor_wrap.c
103
(r = sshbuf_put_cstring(log_msg, msg)) != 0)
crypto/openssh/monitor_wrap.c
265
(r = sshbuf_put_cstring(m, hostkey_alg)) != 0 ||
crypto/openssh/monitor_wrap.c
348
if ((r = sshbuf_put_cstring(m, username)) != 0)
crypto/openssh/monitor_wrap.c
436
if ((r = sshbuf_put_cstring(m, service)) != 0 ||
crypto/openssh/monitor_wrap.c
437
(r = sshbuf_put_cstring(m, style ? style : "")) != 0)
crypto/openssh/monitor_wrap.c
459
if ((r = sshbuf_put_cstring(m, password)) != 0)
crypto/openssh/monitor_wrap.c
514
(r = sshbuf_put_cstring(m, user ? user : "")) != 0 ||
crypto/openssh/monitor_wrap.c
515
(r = sshbuf_put_cstring(m, host ? host : "")) != 0 ||
crypto/openssh/monitor_wrap.c
568
(r = sshbuf_put_cstring(m, sigalg == NULL ? "" : sigalg)) != 0)
crypto/openssh/monitor_wrap.c
675
if ((r = sshbuf_put_cstring(m, s->tty)) != 0)
crypto/openssh/monitor_wrap.c
810
if ((r = sshbuf_put_cstring(m, resp[i])) != 0)
crypto/openssh/monitor_wrap.c
982
if ((r = sshbuf_put_cstring(m, responses[0])) != 0)
crypto/openssh/mux.c
1797
(r = sshbuf_put_cstring(m, lhost)) != 0 ||
crypto/openssh/mux.c
1799
(r = sshbuf_put_cstring(m, chost)) != 0 ||
crypto/openssh/mux.c
1922
(r = sshbuf_put_cstring(m, term == NULL ? "" : term)) != 0 ||
crypto/openssh/mux.c
1931
if ((r = sshbuf_put_cstring(m, environ[i])) != 0)
crypto/openssh/mux.c
1936
if ((r = sshbuf_put_cstring(m, options.setenv[i])) != 0)
crypto/openssh/mux.c
2138
(r = sshbuf_put_cstring(m, options.stdio_forward_host)) != 0 ||
crypto/openssh/mux.c
327
(r = sshbuf_put_cstring(reply, msg)) != 0)
crypto/openssh/packet.c
2352
(r = sshbuf_put_cstring(m, kex->hostkey_alg)) != 0 ||
crypto/openssh/packet.c
2390
if ((r = sshbuf_put_cstring(b, enc->name)) != 0 ||
crypto/openssh/packet.c
2397
if ((r = sshbuf_put_cstring(b, mac->name)) != 0 ||
crypto/openssh/packet.c
2403
(r = sshbuf_put_cstring(b, comp->name)) != 0)
crypto/openssh/packet.c
2638
return sshbuf_put_cstring(ssh->state->outgoing_packet, v);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fixed.c
106
ASSERT_INT_EQ(sshbuf_put_cstring(p1, "hello"), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
48
ASSERT_INT_EQ(sshbuf_put_cstring(b, name), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
50
ASSERT_INT_EQ(sshbuf_put_cstring(sect, value), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
80
ASSERT_INT_EQ(sshbuf_put_cstring(principals, "gsamsa"), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
81
ASSERT_INT_EQ(sshbuf_put_cstring(principals, "gregor"), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
92
ASSERT_INT_EQ(sshbuf_put_cstring(b, type), 0);
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
93
ASSERT_INT_EQ(sshbuf_put_cstring(b, "noncenoncenonce!"), 0); /* nonce */
crypto/openssh/regress/unittests/sshkey/test_sshkey.c
97
ASSERT_INT_EQ(sshbuf_put_cstring(b, "gregor"), 0); /* key ID */
crypto/openssh/serverloop.c
705
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
2879
(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
667
(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
143
if ((r = sshbuf_put_cstring(b,
crypto/openssh/ssh-ecdsa.c
363
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
1707
if ((r = sshbuf_put_cstring(c, ext->key)) != 0 ||
crypto/openssh/ssh-keygen.c
1714
if ((r = sshbuf_put_cstring(c, ext->key)) != 0 ||
crypto/openssh/ssh-keygen.c
1715
(r = sshbuf_put_cstring(b, ext->val)) != 0 ||
crypto/openssh/ssh-pkcs11-client.c
645
(r = sshbuf_put_cstring(msg, name)) != 0 ||
crypto/openssh/ssh-pkcs11-client.c
646
(r = sshbuf_put_cstring(msg, pin)) != 0)
crypto/openssh/ssh-pkcs11-helper.c
148
(r = sshbuf_put_cstring(msg, labels[i])) != 0)
crypto/openssh/ssh-rsa.c
451
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-sk-helper.c
257
(r = sshbuf_put_cstring(resp, "")) != 0 || /* comment */
crypto/openssh/ssh-sk.c
461
if ((r = sshbuf_put_cstring(attest, "ssh-sk-attest-v01")) != 0 ||
crypto/openssh/ssh-sk.c
712
if ((r = sshbuf_put_cstring(sig, sshkey_ssh_name_plain(key))) != 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
194
int sshbuf_put_cstring(struct sshbuf *buf, const char *v);
crypto/openssh/sshconnect2.c
1412
(r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 ||
crypto/openssh/sshconnect2.c
1413
(r = sshbuf_put_cstring(b, authctxt->service)) != 0 ||
crypto/openssh/sshconnect2.c
1414
(r = sshbuf_put_cstring(b, method)) != 0 ||
crypto/openssh/sshconnect2.c
1416
(r = sshbuf_put_cstring(b, alg)) != 0 ||
crypto/openssh/sshconnect2.c
2214
(r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 ||
crypto/openssh/sshconnect2.c
2215
(r = sshbuf_put_cstring(b, authctxt->service)) != 0 ||
crypto/openssh/sshconnect2.c
2216
(r = sshbuf_put_cstring(b, authctxt->method->name)) != 0 ||
crypto/openssh/sshconnect2.c
2217
(r = sshbuf_put_cstring(b, authctxt->active_ktype)) != 0 ||
crypto/openssh/sshconnect2.c
2219
(r = sshbuf_put_cstring(b, chost)) != 0 ||
crypto/openssh/sshconnect2.c
2220
(r = sshbuf_put_cstring(b, authctxt->local_user)) != 0) {
crypto/openssh/sshd.c
749
if ((r = sshbuf_put_cstring(inc, item->selector)) != 0 ||
crypto/openssh/sshd.c
750
(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
2322
if ((ret = sshbuf_put_cstring(cert, sshkey_ssh_name(k))) != 0)
crypto/openssh/sshkey.c
2338
(ret = sshbuf_put_cstring(cert, k->cert->key_id)) != 0)
crypto/openssh/sshkey.c
2346
if ((ret = sshbuf_put_cstring(principals,
crypto/openssh/sshkey.c
2537
if ((r = sshbuf_put_cstring(b, key->sk_application)) != 0 ||
crypto/openssh/sshkey.c
2561
if ((r = sshbuf_put_cstring(b, sshkey_ssh_name(key))) != 0)
crypto/openssh/sshkey.c
2900
(r = sshbuf_put_cstring(encoded, ciphername)) != 0 ||
crypto/openssh/sshkey.c
2901
(r = sshbuf_put_cstring(encoded, kdfname)) != 0 ||
crypto/openssh/sshkey.c
2919
(r = sshbuf_put_cstring(encrypted, comment)) != 0)
crypto/openssh/sshkey.c
871
if ((r = sshbuf_put_cstring(b, key->sk_application)) != 0)
crypto/openssh/sshkey.c
904
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
220
(r = sshbuf_put_cstring(blob, sig_namespace)) != 0 ||
crypto/openssh/sshsig.c
222
(r = sshbuf_put_cstring(blob, hashalg)) != 0 ||
crypto/openssh/sshsig.c
329
(r = sshbuf_put_cstring(toverify, expect_namespace)) != 0 ||
crypto/openssh/sshsig.c
331
(r = sshbuf_put_cstring(toverify, hashalg)) != 0 ||