| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | authfd.c | 225 if ((r = sshbuf_put_u8(msg, type)) != 0 || in ssh_lock_agent() 278 if ((r = sshbuf_put_u8(msg, SSH2_AGENTC_REQUEST_IDENTITIES)) != 0) in ssh_fetch_identitylist() 424 if ((r = sshbuf_put_u8(msg, SSH2_AGENTC_SIGN_REQUEST)) != 0 || in ssh_agent_sign() 475 (r = sshbuf_put_u8(b, dch->key_is_ca[i] != 0)) != 0) in encode_dest_constraint_hop() 519 if ((r = sshbuf_put_u8(m, SSH_AGENT_CONSTRAIN_LIFETIME)) != 0 || in encode_constraints() 524 if ((r = sshbuf_put_u8(m, SSH_AGENT_CONSTRAIN_CONFIRM)) != 0) in encode_constraints() 528 if ((r = sshbuf_put_u8(m, SSH_AGENT_CONSTRAIN_MAXSIGN)) != 0 || in encode_constraints() 533 if ((r = sshbuf_put_u8(m, in encode_constraints() 550 if ((r = sshbuf_put_u8(m, in encode_constraints() 568 if ((r = sshbuf_put_u8(m, in encode_constraints() [all …]
|
| H A D | ttymodes.c | 279 if ((r = sshbuf_put_u8(buf, TTY_OP_OSPEED)) != 0 || in ssh_tty_make_modes() 281 (r = sshbuf_put_u8(buf, TTY_OP_ISPEED)) != 0 || in ssh_tty_make_modes() 287 if ((r = sshbuf_put_u8(buf, OP)) != 0 || \ in ssh_tty_make_modes() 296 } else if ((r = sshbuf_put_u8(buf, OP)) != 0 || \ in ssh_tty_make_modes() 307 if ((r = sshbuf_put_u8(buf, TTY_OP_END)) != 0 || in ssh_tty_make_modes()
|
| H A D | auth-options.c | 778 if ((r = sshbuf_put_u8(m, s == NULL)) != 0 || in serialise_nullable_string() 804 if ((r = sshbuf_put_u8(m, opts->permit_port_forwarding_flag)) != 0 || in sshauthopt_serialise() 805 (r = sshbuf_put_u8(m, opts->permit_agent_forwarding_flag)) != 0 || in sshauthopt_serialise() 806 (r = sshbuf_put_u8(m, opts->permit_x11_forwarding_flag)) != 0 || in sshauthopt_serialise() 807 (r = sshbuf_put_u8(m, opts->permit_pty_flag)) != 0 || in sshauthopt_serialise() 808 (r = sshbuf_put_u8(m, opts->permit_user_rc)) != 0 || in sshauthopt_serialise() 809 (r = sshbuf_put_u8(m, opts->restricted)) != 0 || in sshauthopt_serialise() 810 (r = sshbuf_put_u8(m, opts->cert_authority)) != 0 || in sshauthopt_serialise() 811 (r = sshbuf_put_u8(m, opts->no_require_user_presence)) != 0 || in sshauthopt_serialise() 812 (r = sshbuf_put_u8(m, opts->require_verify)) != 0) in sshauthopt_serialise() [all …]
|
| H A D | gss-genr.c | 129 (r = sshbuf_put_u8(b, '\n')) != 0) in ssh_gssapi_last_error() 141 (r = sshbuf_put_u8(b, '\n')) != 0) in ssh_gssapi_last_error() 147 if ((r = sshbuf_put_u8(b, '\n')) != 0) in ssh_gssapi_last_error() 265 (r = sshbuf_put_u8(b, SSH2_MSG_USERAUTH_REQUEST)) != 0 || in ssh_gssapi_buildmic()
|
| H A D | kexgex.c | 70 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 || in kexgex_hash() 73 (r = sshbuf_put_u8(b, SSH2_MSG_KEXINIT)) != 0 || in kexgex_hash()
|
| H A D | sftp-client.c | 227 if ((r = sshbuf_put_u8(msg, code)) != 0 || in send_string_request() 245 if ((r = sshbuf_put_u8(msg, code)) != 0 || in send_string_attrs_request() 463 if ((r = sshbuf_put_u8(msg, SSH2_FXP_INIT)) != 0 || in sftp_init() 623 if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 || in sftp_get_limits() 671 if ((r = sshbuf_put_u8(msg, SSH2_FXP_CLOSE)) != 0 || in sftp_close() 706 if ((r = sshbuf_put_u8(msg, SSH2_FXP_OPENDIR)) != 0 || in sftp_lsreaddir() 731 if ((r = sshbuf_put_u8(msg, SSH2_FXP_READDIR)) != 0 || in sftp_lsreaddir() 1011 if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED)) != 0 || in sftp_realpath_expand() 1133 if ((r = sshbuf_put_u8(msg, SSH2_FXP_OPEN)) != 0 || in sftp_copy() 1153 if ((r = sshbuf_put_u8(msg, SSH2_FXP_OPEN)) != 0 || in sftp_copy() [all …]
|
| H A D | sshbuf-misc.c | 111 if ((r = sshbuf_put_u8(b64, s[i])) != 0) in sshbuf_dtob64() 113 if (i % 70 == 69 && (r = sshbuf_put_u8(b64, '\n')) != 0) in sshbuf_dtob64() 116 if ((i - 1) % 70 != 69 && (r = sshbuf_put_u8(b64, '\n')) != 0) in sshbuf_dtob64()
|
| H A D | sshkey-xmss.c | 335 if ((r = sshbuf_put_u8(b, have_info)) != 0 || in sshkey_xmss_serialize_pk_info() 704 (r = sshbuf_put_u8(b, th->completed)) != 0 || in sshkey_xmss_serialize_state() 721 if ((r = sshbuf_put_u8(b, opts)) != 0) in sshkey_xmss_serialize_state_opt() 735 if ((r = sshbuf_put_u8(b, have_stack)) != 0) in sshkey_xmss_serialize_state_opt() 743 if ((r = sshbuf_put_u8(b, have_filename)) != 0) in sshkey_xmss_serialize_state_opt() 749 if ((r = sshbuf_put_u8(b, have_enc)) != 0) in sshkey_xmss_serialize_state_opt() 755 (r = sshbuf_put_u8(b, state->allow_update)) != 0) in sshkey_xmss_serialize_state_opt() 937 if ((r = sshbuf_put_u8(padded, ++i & 0xff)) != 0) in sshkey_xmss_encrypt_state()
|
| H A D | krl.c | 640 if ((r = sshbuf_put_u8(buf, state)) != 0 || in revoked_certs_generate() 712 if ((r = sshbuf_put_u8(buf, state)) != 0 || in revoked_certs_generate() 726 if ((r = sshbuf_put_u8(buf, KRL_SECTION_CERT_KEY_ID)) != 0 || in revoked_certs_generate() 767 if ((r = sshbuf_put_u8(buf, KRL_SECTION_CERTIFICATES)) != 0 || in ssh_krl_to_blob() 780 if ((r = sshbuf_put_u8(buf, KRL_SECTION_EXPLICIT_KEY)) != 0 || in ssh_krl_to_blob() 791 if ((r = sshbuf_put_u8(buf, in ssh_krl_to_blob() 803 if ((r = sshbuf_put_u8(buf, in ssh_krl_to_blob()
|
| H A D | sftp-server.c | 556 if ((r = sshbuf_put_u8(msg, SSH2_FXP_STATUS)) != 0 || in send_status_errmsg() 584 if ((r = sshbuf_put_u8(msg, type)) != 0 || in send_data_or_handle() 619 if ((r = sshbuf_put_u8(msg, SSH2_FXP_NAME)) != 0 || in send_names() 643 if ((r = sshbuf_put_u8(msg, SSH2_FXP_ATTRS)) != 0 || in send_attrib() 663 if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED_REPLY)) != 0 || in send_statvfs() 716 if ((r = sshbuf_put_u8(msg, SSH2_FXP_VERSION)) != 0 || in process_init() 1508 if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED_REPLY)) != 0 || in process_extended_limits() 1738 if ((r = sshbuf_put_u8(msg, SSH2_FXP_EXTENDED_REPLY)) != 0 || in process_extended_get_users_groups_by_id()
|
| H A D | ssh-sk-client.c | 161 (r = sshbuf_put_u8(req, log_is_on_stderr() != 0)) != 0 || in client_converse() 319 (r = sshbuf_put_u8(req, flags)) != 0 || in sshsk_enroll()
|
| H A D | misc.c | 1299 if ((r = sshbuf_put_u8(buf, *string)) != 0) in vdollar_percent_expand() 2071 r = sshbuf_put_u8(arg, c); in argv_assemble() 2076 if ((r = sshbuf_put_u8(arg, '\\')) != 0) in argv_assemble() 2080 r = sshbuf_put_u8(arg, c); in argv_assemble() 2086 if ((i != 0 && (r = sshbuf_put_u8(buf, ' ')) != 0) || in argv_assemble() 2087 (ws != 0 && (r = sshbuf_put_u8(buf, '"')) != 0) || in argv_assemble() 2089 (ws != 0 && (r = sshbuf_put_u8(buf, '"')) != 0)) in argv_assemble()
|
| H A D | ssh-ed25519-sk.c | 210 sshbuf_put_u8(encoded, sig_flags) != 0 || in ssh_ed25519_sk_verify()
|
| H A D | auth2-hostbased.c | 133 (r = sshbuf_put_u8(b, SSH2_MSG_USERAUTH_REQUEST)) != 0 || in userauth_hostbased()
|
| H A D | auth2-pubkey.c | 213 if ((r = sshbuf_put_u8(b, SSH2_MSG_USERAUTH_REQUEST)) != 0 || in userauth_pubkey() 217 (r = sshbuf_put_u8(b, have_sig)) != 0 || in userauth_pubkey()
|
| H A D | ssh-agent.c | 605 (r = sshbuf_put_u8(e->output, success ? in send_status() 646 if ((r = sshbuf_put_u8(msg, SSH2_AGENT_IDENTITIES_ANSWER)) != 0 || in process_request_identities() 962 if ((r = sshbuf_put_u8(msg, SSH2_AGENT_SIGN_RESPONSE)) != 0 || in process_sign_request2() 965 } else if ((r = sshbuf_put_u8(msg, SSH_AGENT_FAILURE)) != 0) in process_sign_request2() 1516 if ((r = sshbuf_put_u8(msg, SSH2_AGENT_IDENTITIES_ANSWER)) != 0 || in no_identities()
|
| H A D | clientloop.c | 1312 if ((r = sshbuf_put_u8(bin, 4)) != 0) in process_escapes() 1345 if ((r = sshbuf_put_u8(bin, in process_escapes() 1373 if ((r = sshbuf_put_u8(bin, ch)) != 0) in process_escapes() 1727 if ((r = sshbuf_put_u8(b, 0)) != 0 || /* padlen */ in client_request_forwarded_tcpip() 1728 (r = sshbuf_put_u8(b, SSH2_MSG_CHANNEL_OPEN)) != 0 || in client_request_forwarded_tcpip()
|
| H A D | sshbuf-getput-basic.c | 426 sshbuf_put_u8(struct sshbuf *buf, u_char val) in sshbuf_put_u8() function
|
| H A D | sshsig.c | 76 (r = sshbuf_put_u8(buf, '\n')) != 0) { in sshsig_armor()
|
| H A D | session.c | 246 if ((r = sshbuf_put_u8(loginmsg, 0)) != 0) in display_loginmsg()
|