Home
last modified time | relevance | path

Searched refs:sshbuf_put_u32 (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dkexgex.c69 (r = sshbuf_put_u32(b, sshbuf_len(client_kexinit) + 1)) != 0 || in kexgex_hash()
72 (r = sshbuf_put_u32(b, sshbuf_len(server_kexinit) + 1)) != 0 || in kexgex_hash()
76 (min != -1 && (r = sshbuf_put_u32(b, min)) != 0) || in kexgex_hash()
77 (r = sshbuf_put_u32(b, wantbits)) != 0 || in kexgex_hash()
78 (max != -1 && (r = sshbuf_put_u32(b, max)) != 0) || in kexgex_hash()
H A Dsftp-common.c164 if ((r = sshbuf_put_u32(b, a->flags)) != 0) in encode_attrib()
171 if ((r = sshbuf_put_u32(b, a->uid)) != 0 || in encode_attrib()
172 (r = sshbuf_put_u32(b, a->gid)) != 0) in encode_attrib()
176 if ((r = sshbuf_put_u32(b, a->perm)) != 0) in encode_attrib()
180 if ((r = sshbuf_put_u32(b, a->atime)) != 0 || in encode_attrib()
181 (r = sshbuf_put_u32(b, a->mtime)) != 0) in encode_attrib()
H A Dttymodes.c280 (r = sshbuf_put_u32(buf, obaud)) != 0 || in ssh_tty_make_modes()
282 (r = sshbuf_put_u32(buf, ibaud)) != 0) in ssh_tty_make_modes()
288 (r = sshbuf_put_u32(buf, tio.c_cc[NAME])) != 0) \ in ssh_tty_make_modes()
297 (r = sshbuf_put_u32(buf, ((tio.FIELD & NAME) != 0))) != 0) \ in ssh_tty_make_modes()
H A Dsftp-client.c228 (r = sshbuf_put_u32(msg, id)) != 0 || in send_string_request()
246 (r = sshbuf_put_u32(msg, id)) != 0 || in send_string_attrs_request()
464 (r = sshbuf_put_u32(msg, SSH2_FILEXFER_VERSION)) != 0) in sftp_init()
624 (r = sshbuf_put_u32(msg, id)) != 0 || in sftp_get_limits()
672 (r = sshbuf_put_u32(msg, id)) != 0 || in sftp_close()
707 (r = sshbuf_put_u32(msg, id)) != 0 || in sftp_lsreaddir()
732 (r = sshbuf_put_u32(msg, id)) != 0 || in sftp_lsreaddir()
1012 (r = sshbuf_put_u32(msg, id)) != 0 || in sftp_realpath_expand()
1134 (r = sshbuf_put_u32(msg, id)) != 0 || in sftp_copy()
1136 (r = sshbuf_put_u32(msg, SSH2_FXF_READ)) != 0 || in sftp_copy()
[all …]
H A Dssh-sk-helper.c73 if (sshbuf_put_u32(resp, SSH_SK_HELPER_ERROR) != 0 || in reply_error()
74 sshbuf_put_u32(resp, (u_int)-r) != 0) in reply_error()
134 if ((r = sshbuf_put_u32(resp, SSH_SK_HELPER_SIGN)) != 0 || in process_sign()
194 if ((r = sshbuf_put_u32(resp, SSH_SK_HELPER_ENROLL)) != 0 || in process_enroll()
246 if ((r = sshbuf_put_u32(resp, SSH_SK_HELPER_LOAD_RESIDENT)) != 0) in process_load_resident()
H A Dsshkey-xmss.c336 (r = sshbuf_put_u32(b, idx)) != 0 || in sshkey_xmss_serialize_pk_info()
337 (r = sshbuf_put_u32(b, state->maxidx)) != 0) in sshkey_xmss_serialize_pk_info()
688 (r = sshbuf_put_u32(b, state->idx)) != 0 || in sshkey_xmss_serialize_state()
690 (r = sshbuf_put_u32(b, state->stackoffset)) != 0 || in sshkey_xmss_serialize_state()
696 (r = sshbuf_put_u32(b, num_treehash(state))) != 0) in sshkey_xmss_serialize_state()
701 if ((r = sshbuf_put_u32(b, th->h)) != 0 || in sshkey_xmss_serialize_state()
702 (r = sshbuf_put_u32(b, th->next_idx)) != 0 || in sshkey_xmss_serialize_state()
703 (r = sshbuf_put_u32(b, th->stackusage)) != 0 || in sshkey_xmss_serialize_state()
705 (r = sshbuf_put_u32(b, node)) != 0) in sshkey_xmss_serialize_state()
754 if ((r = sshbuf_put_u32(b, state->maxidx)) != 0 || in sshkey_xmss_serialize_state_opt()
[all …]
H A Dssh-sk-client.c160 if ((r = sshbuf_put_u32(req, type)) != 0 || in client_converse()
162 (r = sshbuf_put_u32(req, (uint32_t)(ll < 0 ? 0 : ll))) != 0 || in client_converse()
255 (r = sshbuf_put_u32(req, compat)) != 0 || in sshsk_sign()
314 if ((r = sshbuf_put_u32(req, (u_int)type)) != 0 || in sshsk_enroll()
412 (r = sshbuf_put_u32(req, flags)) != 0) { in sshsk_load_resident()
H A Dmonitor_wrap.c105 if ((r = sshbuf_put_u32(log_msg, 0)) != 0 || /* length; filled below */ in mm_log_handler()
106 (r = sshbuf_put_u32(log_msg, level)) != 0 || in mm_log_handler()
107 (r = sshbuf_put_u32(log_msg, forced)) != 0 || in mm_log_handler()
241 if ((r = sshbuf_put_u32(m, min)) != 0 || in mm_choose_dh()
242 (r = sshbuf_put_u32(m, nbits)) != 0 || in mm_choose_dh()
243 (r = sshbuf_put_u32(m, max)) != 0) in mm_choose_dh()
280 if ((r = sshbuf_put_u32(m, ndx)) != 0 || in mm_sshkey_sign()
283 (r = sshbuf_put_u32(m, compat)) != 0) in mm_sshkey_sign()
522 if ((r = sshbuf_put_u32(m, type)) != 0 || in mm_key_allowed()
526 (r = sshbuf_put_u32(m, pubkey_auth_attempt)) != 0) in mm_key_allowed()
[all …]
H A Dsftp-server.c557 (r = sshbuf_put_u32(msg, id)) != 0 || in send_status_errmsg()
558 (r = sshbuf_put_u32(msg, status)) != 0) in send_status_errmsg()
585 (r = sshbuf_put_u32(msg, id)) != 0 || in send_data_or_handle()
620 (r = sshbuf_put_u32(msg, id)) != 0 || in send_names()
621 (r = sshbuf_put_u32(msg, count)) != 0) in send_names()
644 (r = sshbuf_put_u32(msg, id)) != 0 || in send_attrib()
664 (r = sshbuf_put_u32(msg, id)) != 0 || in send_statvfs()
717 (r = sshbuf_put_u32(msg, SSH2_FILEXFER_VERSION)) != 0) in process_init()
1509 (r = sshbuf_put_u32(msg, id)) != 0 || in process_extended_limits()
1739 (r = sshbuf_put_u32(msg, id)) != 0 || in process_extended_get_users_groups_by_id()
H A Dauthfd.c427 (r = sshbuf_put_u32(msg, flags)) != 0) in ssh_agent_sign()
520 (r = sshbuf_put_u32(m, life)) != 0) in encode_constraints()
529 (r = sshbuf_put_u32(m, maxsign)) != 0) in encode_constraints()
H A Dauth-pam.c564 if ((r = sshbuf_put_u32(buffer, sshpam_account_status)) != 0 || in sshpam_thread()
565 (r = sshbuf_put_u32(buffer, sshpam_authctxt->force_pwchange)) != 0) in sshpam_thread()
574 if ((r = sshbuf_put_u32(buffer, i)) != 0) in sshpam_thread()
587 if ((r = sshbuf_put_u32(buffer, i)) != 0) in sshpam_thread()
H A Dssh-ed25519-sk.c211 sshbuf_put_u32(encoded, sig_counter) != 0 || in ssh_ed25519_sk_verify()
H A Dclientloop.c1730 (r = sshbuf_put_u32(b, rchan)) != 0 || in client_request_forwarded_tcpip()
1731 (r = sshbuf_put_u32(b, rwindow)) != 0 || in client_request_forwarded_tcpip()
1732 (r = sshbuf_put_u32(b, rmaxpack)) != 0 || in client_request_forwarded_tcpip()
1734 (r = sshbuf_put_u32(b, listen_port)) != 0 || in client_request_forwarded_tcpip()
1736 (r = sshbuf_put_u32(b, originator_port)) != 0 || in client_request_forwarded_tcpip()
H A Dauth-options.c722 if ((r = sshbuf_put_u32(m, n)) != 0 || in serialise_array()
821 (r = sshbuf_put_u32(m, (opts->force_tun_device < 0) ? in sshauthopt_serialise()
H A Dsshbuf-getput-basic.c402 sshbuf_put_u32(struct sshbuf *buf, u_int32_t val) in sshbuf_put_u32() function
H A Dssh-agent.c604 if ((r = sshbuf_put_u32(e->output, 1)) != 0 || in send_status()
647 (r = sshbuf_put_u32(msg, nentries)) != 0 || in process_request_identities()
1517 (r = sshbuf_put_u32(msg, 0)) != 0 || in no_identities()
H A Dserverloop.c797 (r = sshbuf_put_u32(resp, allocated_listen_port)) != 0) in server_input_global_request()
H A Dsshsig.c215 (r = sshbuf_put_u32(blob, SIG_VERSION)) != 0 || in sshsig_wrap_sign()
H A Dkrl.c754 (r = sshbuf_put_u32(buf, KRL_FORMAT_VERSION)) != 0 || in ssh_krl_to_blob()