| /freebsd-12.1/crypto/openssh/ |
| H A D | auth2-hostbased.c | 126 (r = sshbuf_put_cstring(b, authctxt->user)) != 0 || in userauth_hostbased() 127 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in userauth_hostbased() 128 (r = sshbuf_put_cstring(b, "hostbased")) != 0 || in userauth_hostbased() 131 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased() 132 (r = sshbuf_put_cstring(b, cuser)) != 0) in userauth_hostbased()
|
| H A D | sshbuf-getput-basic.c | 367 sshbuf_put_cstring(struct sshbuf *buf, const char *v) in sshbuf_put_cstring() function 481 (r = sshbuf_put_cstring(buf, pwent->pw_name)) != 0 || in sshbuf_put_passwd() 482 (r = sshbuf_put_cstring(buf, "*")) != 0 || in sshbuf_put_passwd() 489 (r = sshbuf_put_cstring(buf, pwent->pw_gecos)) != 0 || in sshbuf_put_passwd() 492 (r = sshbuf_put_cstring(buf, pwent->pw_class)) != 0 || in sshbuf_put_passwd() 494 (r = sshbuf_put_cstring(buf, pwent->pw_dir)) != 0 || in sshbuf_put_passwd() 495 (r = sshbuf_put_cstring(buf, pwent->pw_shell)) != 0 || in sshbuf_put_passwd()
|
| H A D | monitor_wrap.c | 100 (r = sshbuf_put_cstring(log_msg, msg)) != 0) in mm_log_handler() 235 (r = sshbuf_put_cstring(m, hostkey_alg)) != 0 || in mm_sshkey_sign() 322 if ((r = sshbuf_put_cstring(m, username)) != 0) in mm_getpwnamallow() 423 if ((r = sshbuf_put_cstring(m, service)) != 0 || in mm_inform_authserv() 424 (r = sshbuf_put_cstring(m, style ? style : "")) != 0) in mm_inform_authserv() 446 if ((r = sshbuf_put_cstring(m, password)) != 0) in mm_auth_password() 502 (r = sshbuf_put_cstring(m, user ? user : "")) != 0 || in mm_key_allowed() 654 if ((r = sshbuf_put_cstring(m, s->tty)) != 0) in mm_session_pty_cleanup2() 789 if ((r = sshbuf_put_cstring(m, resp[i])) != 0) in mm_sshpam_respond() 895 if ((r = sshbuf_put_cstring(m, responses[0])) != 0) in mm_bsdauth_respond() [all …]
|
| H A D | ssh-pkcs11-client.c | 219 (r = sshbuf_put_cstring(msg, name)) != 0 || in pkcs11_add_provider() 220 (r = sshbuf_put_cstring(msg, pin)) != 0) in pkcs11_add_provider() 257 (r = sshbuf_put_cstring(msg, name)) != 0 || in pkcs11_del_provider() 258 (r = sshbuf_put_cstring(msg, "")) != 0) in pkcs11_del_provider()
|
| H A D | kexecdh.c | 70 if ((r = sshbuf_put_cstring(b, client_version_string)) != 0 || in kex_ecdh_hash() 71 (r = sshbuf_put_cstring(b, server_version_string)) != 0 || in kex_ecdh_hash()
|
| H A D | kexdh.c | 66 if ((r = sshbuf_put_cstring(b, client_version_string)) != 0 || in kex_dh_hash() 67 (r = sshbuf_put_cstring(b, server_version_string)) != 0 || in kex_dh_hash()
|
| H A D | kexgex.c | 69 if ((r = sshbuf_put_cstring(b, client_version_string)) != 0 || in kexgex_hash() 70 (r = sshbuf_put_cstring(b, server_version_string)) != 0 || in kexgex_hash()
|
| H A D | sftp-server.c | 527 if ((r = sshbuf_put_cstring(msg, in send_status() 529 (r = sshbuf_put_cstring(msg, "")) != 0) in send_status() 584 if ((r = sshbuf_put_cstring(msg, stats[i].name)) != 0 || in send_names() 585 (r = sshbuf_put_cstring(msg, stats[i].long_name)) != 0 || in send_names() 657 (r = sshbuf_put_cstring(msg, "1")) != 0 || /* version */ in process_init() 659 (r = sshbuf_put_cstring(msg, "[email protected]")) != 0 || in process_init() 660 (r = sshbuf_put_cstring(msg, "2")) != 0 || /* version */ in process_init() 663 (r = sshbuf_put_cstring(msg, "2")) != 0 || /* version */ in process_init() 666 (r = sshbuf_put_cstring(msg, "1")) != 0 || /* version */ in process_init() 668 (r = sshbuf_put_cstring(msg, "[email protected]")) != 0 || in process_init() [all …]
|
| H A D | kexc25519.c | 104 if ((r = sshbuf_put_cstring(b, client_version_string)) < 0 || in kex_c25519_hash() 105 (r = sshbuf_put_cstring(b, server_version_string)) < 0 || in kex_c25519_hash()
|
| H A D | sftp-client.c | 548 (r = sshbuf_put_cstring(msg, path)) != 0) in do_lsreaddir() 898 (r = sshbuf_put_cstring(msg, in do_rename() 906 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_rename() 907 (r = sshbuf_put_cstring(msg, newpath)) != 0) in do_rename() 943 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_hardlink() 944 (r = sshbuf_put_cstring(msg, newpath)) != 0) in do_hardlink() 978 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_symlink() 979 (r = sshbuf_put_cstring(msg, newpath)) != 0) in do_symlink() 1103 (r = sshbuf_put_cstring(msg, path)) != 0) in do_statvfs() 1218 (r = sshbuf_put_cstring(msg, remote_path)) != 0 || in do_download() [all …]
|
| H A D | gss-genr.c | 269 (r = sshbuf_put_cstring(b, user)) != 0 || in ssh_gssapi_buildmic() 270 (r = sshbuf_put_cstring(b, service)) != 0 || in ssh_gssapi_buildmic() 271 (r = sshbuf_put_cstring(b, context)) != 0) in ssh_gssapi_buildmic()
|
| H A D | authfd.c | 189 (r = sshbuf_put_cstring(msg, password)) != 0) in ssh_lock_agent() 453 (r = sshbuf_put_cstring(msg, comment)) != 0) in ssh_add_identity_constrained() 535 (r = sshbuf_put_cstring(msg, reader_id)) != 0 || in ssh_update_card() 536 (r = sshbuf_put_cstring(msg, pin)) != 0) in ssh_update_card()
|
| H A D | auth-pam.c | 408 if ((r = sshbuf_put_cstring(buffer, in sshpam_thread_conv() 430 if ((r = sshbuf_put_cstring(buffer, in sshpam_thread_conv() 523 if ((r = sshbuf_put_cstring(buffer, "OK")) != 0) in sshpam_thread() 541 if ((r = sshbuf_put_cstring(buffer, environ[i])) != 0) in sshpam_thread() 554 if ((r = sshbuf_put_cstring(buffer, env_from_pam[i])) != 0) in sshpam_thread() 565 if ((r = sshbuf_put_cstring(buffer, in sshpam_thread() 949 if ((r = sshbuf_put_cstring(buffer, *resp)) != 0) in sshpam_respond() 953 if ((r = sshbuf_put_cstring(buffer, fake)) != 0) in sshpam_respond()
|
| H A D | monitor.c | 661 if ((r = sshbuf_put_cstring(sigbuf, proof_req)) != 0 || in mm_answer_sign() 742 (r = sshbuf_put_cstring(m, lc->lc_class)) != 0 || in mm_answer_login_getpwclass() 743 (r = sshbuf_put_cstring(m, lc->lc_cap)) != 0 || in mm_answer_login_getpwclass() 744 (r = sshbuf_put_cstring(m, lc->lc_style)) != 0) in mm_answer_login_getpwclass() 808 if ((r = sshbuf_put_cstring(m, options.x)) != 0) \ in mm_answer_pwnamallow() 815 if ((r = sshbuf_put_cstring(m, options.x[i])) != 0) \ in mm_answer_pwnamallow() 944 if ((r = sshbuf_put_cstring(m, prompts[0])) != 0) in mm_answer_bsdauthquery() 1078 (r = sshbuf_put_cstring(m, name)) != 0 || in mm_answer_pam_query() 1079 (r = sshbuf_put_cstring(m, info)) != 0 || in mm_answer_pam_query() 1086 if ((r = sshbuf_put_cstring(m, prompts[i])) != 0 || in mm_answer_pam_query() [all …]
|
| H A D | sshkey.c | 775 if ((ret = sshbuf_put_cstring(b, typename)) != 0 || in to_blob_buf() 786 if ((ret = sshbuf_put_cstring(b, typename)) != 0 || in to_blob_buf() 787 (ret = sshbuf_put_cstring(b, in to_blob_buf() 797 if ((ret = sshbuf_put_cstring(b, typename)) != 0 || in to_blob_buf() 806 if ((ret = sshbuf_put_cstring(b, typename)) != 0 || in to_blob_buf() 816 if ((ret = sshbuf_put_cstring(b, typename)) != 0 || in to_blob_buf() 2536 if ((ret = sshbuf_put_cstring(cert, in sshkey_certify_custom() 2562 if ((ret = sshbuf_put_cstring(cert, k->xmss_name)) || in sshkey_certify_custom() 2583 if ((ret = sshbuf_put_cstring(principals, in sshkey_certify_custom() 2787 if ((r = sshbuf_put_cstring(b, in sshkey_private_serialize_opt() [all …]
|
| H A D | sshconnect2.c | 1250 (r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 || in sign_and_send_pubkey() 1251 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in sign_and_send_pubkey() 1252 (r = sshbuf_put_cstring(b, authctxt->method->name)) != 0 || in sign_and_send_pubkey() 1254 (r = sshbuf_put_cstring(b, alg)) != 0 || in sign_and_send_pubkey() 1978 (r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 || in userauth_hostbased() 1979 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in userauth_hostbased() 1980 (r = sshbuf_put_cstring(b, authctxt->method->name)) != 0 || in userauth_hostbased() 1981 (r = sshbuf_put_cstring(b, sshkey_ssh_name(private))) != 0 || in userauth_hostbased() 1983 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased() 1984 (r = sshbuf_put_cstring(b, authctxt->local_user)) != 0) { in userauth_hostbased()
|
| H A D | auth2-pubkey.c | 176 (r = sshbuf_put_cstring(b, userstyle)) != 0 || in userauth_pubkey() 177 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in userauth_pubkey() 178 (r = sshbuf_put_cstring(b, "publickey")) != 0 || in userauth_pubkey() 180 (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-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 | ssh-xmss.c | 77 if ((r = sshbuf_put_cstring(b, "[email protected]")) != 0 || in ssh_xmss_sign()
|
| H A D | packet.c | 2175 (r = sshbuf_put_cstring(m, kex->hostkey_alg)) != 0 || in kex_to_blob() 2182 (r = sshbuf_put_cstring(m, kex->client_version_string)) != 0 || in kex_to_blob() 2183 (r = sshbuf_put_cstring(m, kex->server_version_string)) != 0) in kex_to_blob() 2211 if ((r = sshbuf_put_cstring(b, enc->name)) != 0 || in newkeys_to_blob() 2218 if ((r = sshbuf_put_cstring(b, mac->name)) != 0 || in newkeys_to_blob() 2224 (r = sshbuf_put_cstring(b, comp->name)) != 0) in newkeys_to_blob() 2465 return sshbuf_put_cstring(ssh->state->outgoing_packet, v); in sshpkt_put_cstring()
|
| H A D | mux.c | 342 (r = sshbuf_put_cstring(reply, msg)) != 0) in reply_error() 1813 (r = sshbuf_put_cstring(m, lhost)) != 0 || in mux_client_forward() 1815 (r = sshbuf_put_cstring(m, chost)) != 0 || in mux_client_forward() 1943 (r = sshbuf_put_cstring(m, term)) != 0 || in mux_client_request_session() 1952 if ((r = sshbuf_put_cstring(m, environ[i])) != 0) in mux_client_request_session() 1957 if ((r = sshbuf_put_cstring(m, options.setenv[i])) != 0) in mux_client_request_session() 2166 (r = sshbuf_put_cstring(m, options.stdio_forward_host)) != 0 || in mux_client_request_stdio_fwd()
|
| /freebsd-12.1/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_sshkey.c | 46 ASSERT_INT_EQ(sshbuf_put_cstring(b, name), 0); in put_opt() 48 ASSERT_INT_EQ(sshbuf_put_cstring(sect, value), 0); in put_opt() 77 ASSERT_INT_EQ(sshbuf_put_cstring(principals, "gsamsa"), 0); in build_cert() 78 ASSERT_INT_EQ(sshbuf_put_cstring(principals, "gregor"), 0); in build_cert() 89 ASSERT_INT_EQ(sshbuf_put_cstring(b, type), 0); in build_cert() 90 ASSERT_INT_EQ(sshbuf_put_cstring(b, "noncenoncenonce!"), 0); /* nonce */ in build_cert() 94 ASSERT_INT_EQ(sshbuf_put_cstring(b, "gregor"), 0); /* key ID */ in build_cert()
|
| /freebsd-12.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()
|