/dflybsd-src/crypto/openssh/ |
H A D | ssh-sk-client.c | 255 (r = sshbuf_put_cstring(req, provider)) != 0 || in sshsk_sign() 257 (r = sshbuf_put_cstring(req, NULL)) != 0 || /* alg */ in sshsk_sign() 259 (r = sshbuf_put_cstring(req, pin)) != 0) { in sshsk_sign() 322 (r = sshbuf_put_cstring(req, provider_path)) != 0 || in sshsk_enroll() 323 (r = sshbuf_put_cstring(req, device)) != 0 || in sshsk_enroll() 324 (r = sshbuf_put_cstring(req, application)) != 0 || in sshsk_enroll() 325 (r = sshbuf_put_cstring(req, userid)) != 0 || in sshsk_enroll() 327 (r = sshbuf_put_cstring(req, pin)) != 0 || in sshsk_enroll() 416 if ((r = sshbuf_put_cstring(req, provider_path)) != 0 || in sshsk_load_resident() 417 (r = sshbuf_put_cstring(req, device)) != 0 || in sshsk_load_resident() [all …]
|
H A D | authfd.c | 224 (r = sshbuf_put_cstring(msg, password)) != 0 || in ssh_lock_agent() 467 if ((r = sshbuf_put_cstring(b, dch->user)) != 0 || in encode_dest_constraint_hop() 468 (r = sshbuf_put_cstring(b, dch->hostname)) != 0 || in encode_dest_constraint_hop() 533 (r = sshbuf_put_cstring(m, in encode_constraints() 535 (r = sshbuf_put_cstring(m, provider)) != 0) in encode_constraints() 550 (r = sshbuf_put_cstring(m, in encode_constraints() 568 (r = sshbuf_put_cstring(m, in encode_constraints() 623 (r = sshbuf_put_cstring(msg, comment)) != 0) in ssh_add_identity_constrained() 704 (r = sshbuf_put_cstring(msg, reader_id)) != 0 || in ssh_update_card() 705 (r = sshbuf_put_cstring(msg, pin)) != 0) in ssh_update_card() [all …]
|
H A D | auth2-hostbased.c | 132 (r = sshbuf_put_cstring(b, authctxt->user)) != 0 || in userauth_hostbased() 133 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in userauth_hostbased() 134 (r = sshbuf_put_cstring(b, method)) != 0 || in userauth_hostbased() 137 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased() 138 (r = sshbuf_put_cstring(b, cuser)) != 0) in userauth_hostbased()
|
H A D | monitor_wrap.c | 103 (r = sshbuf_put_cstring(log_msg, msg)) != 0) in mm_log_handler() 277 (r = sshbuf_put_cstring(m, hostkey_alg)) != 0 || in mm_sshkey_sign() 358 if ((r = sshbuf_put_cstring(m, username)) != 0) in mm_getpwnamallow() 446 if ((r = sshbuf_put_cstring(m, service)) != 0 || in mm_inform_authserv() 447 (r = sshbuf_put_cstring(m, style ? style : "")) != 0) in mm_inform_authserv() 469 if ((r = sshbuf_put_cstring(m, password)) != 0) in mm_auth_password() 524 (r = sshbuf_put_cstring(m, user ? user : "")) != 0 || in mm_key_allowed() 525 (r = sshbuf_put_cstring(m, host ? host : "")) != 0 || in mm_key_allowed() 578 (r = sshbuf_put_cstring(m, sigalg == NULL ? "" : sigalg)) != 0) in mm_sshkey_verify() 685 if ((r = sshbuf_put_cstring(m, s->tty)) != 0) in mm_session_pty_cleanup2() [all …]
|
H A D | monitor.c | 656 if ((r = sshbuf_put_cstring(sigbuf, proof_req)) != 0 || in mm_answer_sign() 726 (r = sshbuf_put_cstring(m, options.x)) != 0) \ in mm_encode_server_options() 731 if ((r = sshbuf_put_cstring(m, options.x[i])) != 0) \ in mm_encode_server_options() 784 if ((r = sshbuf_put_cstring(m, pwent->pw_name)) != 0 || in mm_answer_pwnamallow() 785 (r = sshbuf_put_cstring(m, "*")) != 0 || in mm_answer_pwnamallow() 787 (r = sshbuf_put_cstring(m, pwent->pw_gecos)) != 0 || in mm_answer_pwnamallow() 790 (r = sshbuf_put_cstring(m, pwent->pw_class)) != 0 || in mm_answer_pwnamallow() 792 (r = sshbuf_put_cstring(m, pwent->pw_dir)) != 0 || in mm_answer_pwnamallow() 793 (r = sshbuf_put_cstring(m, pwent->pw_shell)) != 0) in mm_answer_pwnamallow() 835 if ((r = sshbuf_put_cstring(m, banner != NULL ? banner : "")) != 0) in mm_answer_auth2_read_banner() [all …]
|
H A D | sftp-client.c | 639 (r = sshbuf_put_cstring(msg, "limits@openssh.com")) != 0) in sftp_get_limits() 722 (r = sshbuf_put_cstring(msg, path)) != 0) in sftp_lsreaddir() 1027 (r = sshbuf_put_cstring(msg, in sftp_realpath_expand() 1029 (r = sshbuf_put_cstring(msg, path)) != 0) in sftp_realpath_expand() 1149 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_copy() 1169 (r = sshbuf_put_cstring(msg, newpath)) != 0 || in sftp_copy() 1191 (r = sshbuf_put_cstring(msg, "copy-data")) != 0 || in sftp_copy() 1235 (r = sshbuf_put_cstring(msg, in sftp_rename() 1245 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_rename() 1246 (r = sshbuf_put_cstring(msg, newpath)) != 0) in sftp_rename() [all …]
|
H A D | gss-genr.c | 267 (r = sshbuf_put_cstring(b, user)) != 0 || in ssh_gssapi_buildmic() 268 (r = sshbuf_put_cstring(b, service)) != 0 || in ssh_gssapi_buildmic() 269 (r = sshbuf_put_cstring(b, context)) != 0) in ssh_gssapi_buildmic()
|
H A D | auth-pam.c | 422 if ((r = sshbuf_put_cstring(buffer, in sshpam_thread_conv() 444 if ((r = sshbuf_put_cstring(buffer, in sshpam_thread_conv() 537 if ((r = sshbuf_put_cstring(buffer, "OK")) != 0) in sshpam_thread() 555 if ((r = sshbuf_put_cstring(buffer, environ[i])) != 0) in sshpam_thread() 568 if ((r = sshbuf_put_cstring(buffer, env_from_pam[i])) != 0) in sshpam_thread() 579 if ((r = sshbuf_put_cstring(buffer, in sshpam_thread() 1008 if ((r = sshbuf_put_cstring(buffer, *resp)) != 0) in sshpam_respond() 1012 if ((r = sshbuf_put_cstring(buffer, fake)) != 0) in sshpam_respond()
|
H A D | kex.c | 166 if ((r = sshbuf_put_cstring(b, proposal[i])) != 0) in kex_prop2buf() 305 (r = sshbuf_put_cstring(m, "server-sig-algs")) != 0 || in kex_compose_ext_info_server() 306 (r = sshbuf_put_cstring(m, ssh->kex->server_sig_algs)) != 0 || in kex_compose_ext_info_server() 307 (r = sshbuf_put_cstring(m, in kex_compose_ext_info_server() 309 (r = sshbuf_put_cstring(m, "0")) != 0 || in kex_compose_ext_info_server() 310 (r = sshbuf_put_cstring(m, "ping@openssh.com")) != 0 || in kex_compose_ext_info_server() 311 (r = sshbuf_put_cstring(m, "0")) != 0) { in kex_compose_ext_info_server() 324 (r = sshbuf_put_cstring(m, "ext-info-in-auth@openssh.com")) != 0 || in kex_compose_ext_info_client() 325 (r = sshbuf_put_cstring(m, "0")) != 0) { in kex_compose_ext_info_client()
|
H A D | ssh-xmss.c | 77 if ((r = sshbuf_put_cstring(b, key->xmss_name)) != 0 || in ssh_xmss_serialize_public() 95 if ((r = sshbuf_put_cstring(b, key->xmss_name)) != 0 || in ssh_xmss_serialize_private() 241 if ((r = sshbuf_put_cstring(b, "ssh-xmss@openssh.com")) != 0 || in ssh_xmss_sign()
|
H A D | sshsig.c | 184 (r = sshbuf_put_cstring(tosign, sig_namespace)) != 0 || in sshsig_wrap_sign() 186 (r = sshbuf_put_cstring(tosign, hashalg)) != 0 || in sshsig_wrap_sign() 215 (r = sshbuf_put_cstring(blob, sig_namespace)) != 0 || in sshsig_wrap_sign() 217 (r = sshbuf_put_cstring(blob, hashalg)) != 0 || in sshsig_wrap_sign() 324 (r = sshbuf_put_cstring(toverify, expect_namespace)) != 0 || in sshsig_wrap_verify() 326 (r = sshbuf_put_cstring(toverify, hashalg)) != 0 || in sshsig_wrap_verify()
|
H A D | auth2-pubkey.c | 208 (r = sshbuf_put_cstring(b, userstyle)) != 0 || in userauth_pubkey() 209 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in userauth_pubkey() 210 (r = sshbuf_put_cstring(b, method)) != 0 || in userauth_pubkey() 212 (r = sshbuf_put_cstring(b, pkalg)) != 0 || in userauth_pubkey()
|
H A D | sshconnect2.c | 1408 (r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 || in sign_and_send_pubkey() 1409 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in sign_and_send_pubkey() 1410 (r = sshbuf_put_cstring(b, method)) != 0 || in sign_and_send_pubkey() 1412 (r = sshbuf_put_cstring(b, alg)) != 0 || in sign_and_send_pubkey() 2212 (r = sshbuf_put_cstring(b, authctxt->server_user)) != 0 || in userauth_hostbased() 2213 (r = sshbuf_put_cstring(b, authctxt->service)) != 0 || in userauth_hostbased() 2214 (r = sshbuf_put_cstring(b, authctxt->method->name)) != 0 || in userauth_hostbased() 2215 (r = sshbuf_put_cstring(b, authctxt->active_ktype)) != 0 || in userauth_hostbased() 2217 (r = sshbuf_put_cstring(b, chost)) != 0 || in userauth_hostbased() 2218 (r = sshbuf_put_cstring(b, authctxt->local_user)) != 0) { in userauth_hostbased()
|
H A D | ssh-ecdsa.c | 102 if ((r = sshbuf_put_cstring(b, in ssh_ecdsa_serialize_public() 268 if ((ret = sshbuf_put_cstring(b, sshkey_ssh_name_plain(key))) != 0 || in ssh_ecdsa_sign()
|
H A D | sftp-server.c | 565 if ((r = sshbuf_put_cstring(msg, errmsg == NULL ? in send_status_errmsg() 567 (r = sshbuf_put_cstring(msg, "")) != 0) in send_status_errmsg() 629 if ((r = sshbuf_put_cstring(msg, stats[i].name)) != 0 || in send_names() 630 (r = sshbuf_put_cstring(msg, stats[i].long_name)) != 0 || in send_names() 701 if ((r = sshbuf_put_cstring(msg, name)) != 0 || in compose_extension() 702 (r = sshbuf_put_cstring(msg, ver)) != 0) in compose_extension() 1749 if ((r = sshbuf_put_cstring(usernames, name)) != 0) in process_extended_get_users_groups_by_id() 1759 if ((r = sshbuf_put_cstring(groupnames, name)) != 0) in process_extended_get_users_groups_by_id()
|
H A D | mux.c | 328 (r = sshbuf_put_cstring(reply, msg)) != 0) in reply_error() 1798 (r = sshbuf_put_cstring(m, lhost)) != 0 || in mux_client_forward() 1800 (r = sshbuf_put_cstring(m, chost)) != 0 || in mux_client_forward() 1923 (r = sshbuf_put_cstring(m, term == NULL ? "" : term)) != 0 || in mux_client_request_session() 1932 if ((r = sshbuf_put_cstring(m, environ[i])) != 0) in mux_client_request_session() 1937 if ((r = sshbuf_put_cstring(m, options.setenv[i])) != 0) in mux_client_request_session() 2139 (r = sshbuf_put_cstring(m, options.stdio_forward_host)) != 0 || in mux_client_request_stdio_fwd()
|
H A D | sshkey.c | 735 if ((r = sshbuf_put_cstring(b, key->sk_application)) != 0) in sshkey_serialize_sk() 768 if ((ret = sshbuf_put_cstring(b, typename)) != 0) in to_blob_buf() 2217 if ((ret = sshbuf_put_cstring(cert, sshkey_ssh_name(k))) != 0) in sshkey_certify_custom() 2233 (ret = sshbuf_put_cstring(cert, k->cert->key_id)) != 0) in sshkey_certify_custom() 2241 if ((ret = sshbuf_put_cstring(principals, in sshkey_certify_custom() 2432 if ((r = sshbuf_put_cstring(b, key->sk_application)) != 0 || in sshkey_serialize_private_sk() 2456 if ((r = sshbuf_put_cstring(b, sshkey_ssh_name(key))) != 0) in sshkey_private_serialize_opt() 2808 (r = sshbuf_put_cstring(encoded, ciphername)) != 0 || in sshkey_private_to_blob2() 2809 (r = sshbuf_put_cstring(encoded, kdfname)) != 0 || in sshkey_private_to_blob2() 2827 (r = sshbuf_put_cstring(encrypted, comment)) != 0) in sshkey_private_to_blob2()
|
H A D | ssh-pkcs11-client.c | 604 (r = sshbuf_put_cstring(msg, name)) != 0 || in pkcs11_add_provider() 605 (r = sshbuf_put_cstring(msg, pin)) != 0) in pkcs11_add_provider()
|
H A D | ssh-ed25519.c | 181 if ((r = sshbuf_put_cstring(b, "ssh-ed25519")) != 0 || in ssh_ed25519_sign()
|
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 | sshbuf.h | 193 int sshbuf_put_cstring(struct sshbuf *buf, const char *v);
|
H A D | auth-options.c | 719 if ((r = sshbuf_put_cstring(b, a[i])) != 0) in serialise_array() 779 (r = sshbuf_put_cstring(m, s)) != 0) in serialise_nullable_string()
|
H A D | packet.c | 2345 (r = sshbuf_put_cstring(m, kex->hostkey_alg)) != 0 || in kex_to_blob() 2383 if ((r = sshbuf_put_cstring(b, enc->name)) != 0 || in newkeys_to_blob() 2390 if ((r = sshbuf_put_cstring(b, mac->name)) != 0 || in newkeys_to_blob() 2396 (r = sshbuf_put_cstring(b, comp->name)) != 0) in newkeys_to_blob() 2631 return sshbuf_put_cstring(ssh->state->outgoing_packet, v); in sshpkt_put_cstring()
|
H A D | ssh-pkcs11-helper.c | 145 (r = sshbuf_put_cstring(msg, labels[i])) != 0) in process_add()
|
H A D | ssh-dss.c | 306 if ((ret = sshbuf_put_cstring(b, "ssh-dss")) != 0 || in ssh_dss_sign()
|