| /freebsd-13.1/crypto/openssh/ |
| H A D | ssh-sk-client.c | 256 (r = sshbuf_put_cstring(req, provider)) != 0 || in sshsk_sign() 258 (r = sshbuf_put_cstring(req, NULL)) != 0 || /* alg */ in sshsk_sign() 260 (r = sshbuf_put_cstring(req, pin)) != 0) { in sshsk_sign() 329 (r = sshbuf_put_cstring(req, provider_path)) != 0 || in sshsk_enroll() 330 (r = sshbuf_put_cstring(req, device)) != 0 || in sshsk_enroll() 331 (r = sshbuf_put_cstring(req, application)) != 0 || in sshsk_enroll() 332 (r = sshbuf_put_cstring(req, userid)) != 0 || in sshsk_enroll() 334 (r = sshbuf_put_cstring(req, pin)) != 0 || in sshsk_enroll() 397 if ((r = sshbuf_put_cstring(req, provider_path)) != 0 || in sshsk_load_resident() 398 (r = sshbuf_put_cstring(req, device)) != 0 || in sshsk_load_resident() [all …]
|
| H A D | auth2-hostbased.c | 133 (r = sshbuf_put_cstring(b, authctxt->user)) != 0 || in userauth_hostbased() 134 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in userauth_hostbased() 135 (r = sshbuf_put_cstring(b, "hostbased")) != 0 || in userauth_hostbased() 138 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased() 139 (r = sshbuf_put_cstring(b, cuser)) != 0) in userauth_hostbased()
|
| H A D | monitor_wrap.c | 101 (r = sshbuf_put_cstring(log_msg, msg)) != 0) in mm_log_handler() 231 (r = sshbuf_put_cstring(m, hostkey_alg)) != 0 || in mm_sshkey_sign() 271 if ((r = sshbuf_put_cstring(m, username)) != 0) in mm_getpwnamallow() 389 if ((r = sshbuf_put_cstring(m, service)) != 0 || in mm_inform_authserv() 390 (r = sshbuf_put_cstring(m, style ? style : "")) != 0) in mm_inform_authserv() 412 if ((r = sshbuf_put_cstring(m, password)) != 0) in mm_auth_password() 467 (r = sshbuf_put_cstring(m, user ? user : "")) != 0 || in mm_key_allowed() 630 if ((r = sshbuf_put_cstring(m, s->tty)) != 0) in mm_session_pty_cleanup2() 765 if ((r = sshbuf_put_cstring(m, resp[i])) != 0) in mm_sshpam_respond() 871 if ((r = sshbuf_put_cstring(m, responses[0])) != 0) in mm_bsdauth_respond() [all …]
|
| H A D | authfd.c | 224 (r = sshbuf_put_cstring(msg, password)) != 0 || in ssh_lock_agent() 481 (r = sshbuf_put_cstring(m, in encode_constraints() 483 (r = sshbuf_put_cstring(m, provider)) != 0) in encode_constraints() 530 (r = sshbuf_put_cstring(msg, comment)) != 0) in ssh_add_identity_constrained() 609 (r = sshbuf_put_cstring(msg, reader_id)) != 0 || in ssh_update_card() 610 (r = sshbuf_put_cstring(msg, pin)) != 0) in ssh_update_card()
|
| H A D | ssh-pkcs11-client.c | 332 (r = sshbuf_put_cstring(msg, name)) != 0 || in pkcs11_add_provider() 333 (r = sshbuf_put_cstring(msg, pin)) != 0) in pkcs11_add_provider() 379 (r = sshbuf_put_cstring(msg, name)) != 0 || in pkcs11_del_provider() 380 (r = sshbuf_put_cstring(msg, "")) != 0) in pkcs11_del_provider()
|
| H A D | monitor.c | 755 if ((r = sshbuf_put_cstring(m, pwent->pw_name)) != 0 || in mm_answer_pwnamallow() 756 (r = sshbuf_put_cstring(m, "*")) != 0 || in mm_answer_pwnamallow() 763 (r = sshbuf_put_cstring(m, pwent->pw_dir)) != 0 || in mm_answer_pwnamallow() 764 (r = sshbuf_put_cstring(m, pwent->pw_shell)) != 0) in mm_answer_pwnamallow() 775 (r = sshbuf_put_cstring(m, options.x)) != 0) \ in mm_answer_pwnamallow() 780 if ((r = sshbuf_put_cstring(m, options.x[i])) != 0) \ in mm_answer_pwnamallow() 935 if ((r = sshbuf_put_cstring(m, prompts[0])) != 0) in mm_answer_bsdauthquery() 1069 (r = sshbuf_put_cstring(m, name)) != 0 || in mm_answer_pam_query() 1070 (r = sshbuf_put_cstring(m, info)) != 0 || in mm_answer_pam_query() 1077 if ((r = sshbuf_put_cstring(m, prompts[i])) != 0 || in mm_answer_pam_query() [all …]
|
| H A D | sftp-client.c | 699 (r = sshbuf_put_cstring(msg, path)) != 0) in do_lsreaddir() 993 (r = sshbuf_put_cstring(msg, in do_realpath_expand() 995 (r = sshbuf_put_cstring(msg, path)) != 0) in do_realpath_expand() 1079 (r = sshbuf_put_cstring(msg, in do_rename() 1087 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_rename() 1088 (r = sshbuf_put_cstring(msg, newpath)) != 0) in do_rename() 1125 (r = sshbuf_put_cstring(msg, newpath)) != 0) in do_hardlink() 1160 (r = sshbuf_put_cstring(msg, newpath)) != 0) in do_symlink() 1283 (r = sshbuf_put_cstring(msg, path)) != 0) in do_statvfs() 1338 (r = sshbuf_put_cstring(msg, path)) != 0 || in do_lsetstat() [all …]
|
| H A D | gss-genr.c | 266 (r = sshbuf_put_cstring(b, user)) != 0 || in ssh_gssapi_buildmic() 267 (r = sshbuf_put_cstring(b, service)) != 0 || in ssh_gssapi_buildmic() 268 (r = sshbuf_put_cstring(b, context)) != 0) in ssh_gssapi_buildmic()
|
| H A D | auth-pam.c | 423 if ((r = sshbuf_put_cstring(buffer, in sshpam_thread_conv() 445 if ((r = sshbuf_put_cstring(buffer, in sshpam_thread_conv() 538 if ((r = sshbuf_put_cstring(buffer, "OK")) != 0) in sshpam_thread() 556 if ((r = sshbuf_put_cstring(buffer, environ[i])) != 0) in sshpam_thread() 569 if ((r = sshbuf_put_cstring(buffer, env_from_pam[i])) != 0) in sshpam_thread() 580 if ((r = sshbuf_put_cstring(buffer, in sshpam_thread() 998 if ((r = sshbuf_put_cstring(buffer, *resp)) != 0) in sshpam_respond() 1002 if ((r = sshbuf_put_cstring(buffer, fake)) != 0) in sshpam_respond()
|
| H A D | sshkey.c | 843 if ((ret = sshbuf_put_cstring(b, typename)) != 0 || in to_blob_buf() 855 if ((ret = sshbuf_put_cstring(b, typename)) != 0 || in to_blob_buf() 856 (ret = sshbuf_put_cstring(b, in to_blob_buf() 861 if ((ret = sshbuf_put_cstring(b, in to_blob_buf() 886 if ((ret = sshbuf_put_cstring(b, in to_blob_buf() 2957 if ((ret = sshbuf_put_cstring(cert, in sshkey_certify_custom() 2964 if ((ret = sshbuf_put_cstring(cert, in sshkey_certify_custom() 2983 if ((ret = sshbuf_put_cstring(cert, in sshkey_certify_custom() 3015 if ((ret = sshbuf_put_cstring(principals, in sshkey_certify_custom() 3269 if ((r = sshbuf_put_cstring(b, in sshkey_private_serialize_opt() [all …]
|
| H A D | sshsig.c | 173 (r = sshbuf_put_cstring(tosign, sig_namespace)) != 0 || in sshsig_wrap_sign() 175 (r = sshbuf_put_cstring(tosign, hashalg)) != 0 || in sshsig_wrap_sign() 204 (r = sshbuf_put_cstring(blob, sig_namespace)) != 0 || in sshsig_wrap_sign() 206 (r = sshbuf_put_cstring(blob, hashalg)) != 0 || in sshsig_wrap_sign() 313 (r = sshbuf_put_cstring(toverify, expect_namespace)) != 0 || in sshsig_wrap_verify() 315 (r = sshbuf_put_cstring(toverify, hashalg)) != 0 || in sshsig_wrap_verify()
|
| H A D | sshconnect2.c | 1431 (r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 || in sign_and_send_pubkey() 1432 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in sign_and_send_pubkey() 1433 (r = sshbuf_put_cstring(b, authctxt->method->name)) != 0 || in sign_and_send_pubkey() 1435 (r = sshbuf_put_cstring(b, alg)) != 0 || in sign_and_send_pubkey() 2186 (r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 || in userauth_hostbased() 2187 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in userauth_hostbased() 2188 (r = sshbuf_put_cstring(b, authctxt->method->name)) != 0 || in userauth_hostbased() 2189 (r = sshbuf_put_cstring(b, authctxt->active_ktype)) != 0 || in userauth_hostbased() 2191 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased() 2192 (r = sshbuf_put_cstring(b, authctxt->local_user)) != 0) { in userauth_hostbased()
|
| H A D | auth2-pubkey.c | 193 (r = sshbuf_put_cstring(b, userstyle)) != 0 || in userauth_pubkey() 194 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in userauth_pubkey() 195 (r = sshbuf_put_cstring(b, "publickey")) != 0 || in userauth_pubkey() 197 (r = sshbuf_put_cstring(b, pkalg)) != 0 || in userauth_pubkey()
|
| H A D | ssh-ed25519.c | 69 if ((r = sshbuf_put_cstring(b, "ssh-ed25519")) != 0 || in ssh_ed25519_sign()
|
| H A D | ssh-xmss.c | 77 if ((r = sshbuf_put_cstring(b, "[email protected]")) != 0 || in ssh_xmss_sign()
|
| H A D | ssh-ecdsa.c | 90 if ((ret = sshbuf_put_cstring(b, sshkey_ssh_name_plain(key))) != 0 || in ssh_ecdsa_sign()
|
| H A D | ssh-dss.c | 97 if ((ret = sshbuf_put_cstring(b, "ssh-dss")) != 0 || in ssh_dss_sign()
|
| H A D | sftp-server.c | 552 if ((r = sshbuf_put_cstring(msg, in send_status() 554 (r = sshbuf_put_cstring(msg, "")) != 0) in send_status() 609 if ((r = sshbuf_put_cstring(msg, stats[i].name)) != 0 || in send_names() 610 (r = sshbuf_put_cstring(msg, stats[i].long_name)) != 0 || in send_names() 681 if ((r = sshbuf_put_cstring(msg, name)) != 0 || in compose_extension() 682 (r = sshbuf_put_cstring(msg, ver)) != 0) in compose_extension()
|
| H A D | mux.c | 327 (r = sshbuf_put_cstring(reply, msg)) != 0) in reply_error() 1777 (r = sshbuf_put_cstring(m, lhost)) != 0 || in mux_client_forward() 1779 (r = sshbuf_put_cstring(m, chost)) != 0 || in mux_client_forward() 1902 (r = sshbuf_put_cstring(m, term == NULL ? "" : term)) != 0 || in mux_client_request_session() 1911 if ((r = sshbuf_put_cstring(m, environ[i])) != 0) in mux_client_request_session() 1916 if ((r = sshbuf_put_cstring(m, options.setenv[i])) != 0) in mux_client_request_session() 2112 (r = sshbuf_put_cstring(m, options.stdio_forward_host)) != 0 || in mux_client_request_stdio_fwd()
|
| H A D | sshkey-xmss.c | 301 if ((r = sshbuf_put_cstring(b, state->enc_ciphername)) != 0 || in sshkey_xmss_serialize_enc_key() 690 if ((r = sshbuf_put_cstring(b, SSH_XMSS_K2_MAGIC)) != 0 || in sshkey_xmss_serialize_state() 749 (r = sshbuf_put_cstring(b, k->xmss_filename)) != 0) in sshkey_xmss_serialize_state_opt()
|
| H A D | ssh-sk.c | 432 if ((r = sshbuf_put_cstring(attest, "ssh-sk-attest-v01")) != 0 || in fill_attestation_blob() 683 if ((r = sshbuf_put_cstring(sig, sshkey_ssh_name_plain(key))) != 0) { in sshsk_sign()
|
| H A D | sshbuf.h | 208 int sshbuf_put_cstring(struct sshbuf *buf, const char *v);
|
| H A D | auth-options.c | 715 if ((r = sshbuf_put_cstring(b, a[i])) != 0) { in serialise_array() 776 (r = sshbuf_put_cstring(m, s)) != 0) in serialise_nullable_string()
|
| /freebsd-13.1/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_sshkey.c | 47 ASSERT_INT_EQ(sshbuf_put_cstring(b, name), 0); in put_opt() 49 ASSERT_INT_EQ(sshbuf_put_cstring(sect, value), 0); in put_opt() 79 ASSERT_INT_EQ(sshbuf_put_cstring(principals, "gsamsa"), 0); in build_cert() 80 ASSERT_INT_EQ(sshbuf_put_cstring(principals, "gregor"), 0); in build_cert() 91 ASSERT_INT_EQ(sshbuf_put_cstring(b, type), 0); in build_cert() 92 ASSERT_INT_EQ(sshbuf_put_cstring(b, "noncenoncenonce!"), 0); /* nonce */ in build_cert() 96 ASSERT_INT_EQ(sshbuf_put_cstring(b, "gregor"), 0); /* key ID */ in build_cert()
|
| /freebsd-13.1/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_fixed.c | 107 ASSERT_INT_EQ(sshbuf_put_cstring(p1, "hello"), 0); in sshbuf_fixed()
|