/freebsd/crypto/openssh/ |
H A D | sftp-common.c | 111 if ((r = sshbuf_get_u32(b, &a->flags)) != 0) in decode_attrib() 118 if ((r = sshbuf_get_u32(b, &a->uid)) != 0 || in decode_attrib() 119 (r = sshbuf_get_u32(b, &a->gid)) != 0) in decode_attrib() 123 if ((r = sshbuf_get_u32(b, &a->perm)) != 0) in decode_attrib() 127 if ((r = sshbuf_get_u32(b, &a->atime)) != 0 || in decode_attrib() 128 (r = sshbuf_get_u32(b, &a->mtime)) != 0) in decode_attrib() 138 if ((r = sshbuf_get_u32(b, &count)) != 0) in decode_attrib()
|
H A D | monitor_wrap.c | 421 if ((r = sshbuf_get_u32(m, &authenticated)) != 0) in mm_auth_password() 424 if ((r = sshbuf_get_u32(m, &maxtries)) != 0) in mm_auth_password() 480 if ((r = sshbuf_get_u32(m, &allowed)) != 0) in mm_key_allowed() 531 if ((r = sshbuf_get_u32(m, &encoded_ret)) != 0 || in mm_sshkey_verify() 535 if ((r = sshbuf_get_u32(m, &counter)) != 0 || in mm_sshkey_verify() 592 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_pty_allocate() 678 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_do_pam_account() 704 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_sshpam_init_ctx() 729 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_sshpam_query() 732 (r = sshbuf_get_u32(m, &n)) != 0 || in mm_sshpam_query() [all …]
|
H A D | mux.c | 280 if ((r = sshbuf_get_u32(m, &ver)) != 0) { in mux_master_process_hello() 350 (r = sshbuf_get_u32(m, &cctx->want_tty)) != 0 || in mux_master_process_new_session() 351 (r = sshbuf_get_u32(m, &cctx->want_x_fwd)) != 0 || in mux_master_process_new_session() 352 (r = sshbuf_get_u32(m, &cctx->want_agent_fwd)) != 0 || in mux_master_process_new_session() 353 (r = sshbuf_get_u32(m, &cctx->want_subsys)) != 0 || in mux_master_process_new_session() 354 (r = sshbuf_get_u32(m, &escape_char)) != 0 || in mux_master_process_new_session() 696 if ((r = sshbuf_get_u32(m, &ftype)) != 0 || in mux_master_process_open_fwd() 698 (r = sshbuf_get_u32(m, &lport)) != 0 || in mux_master_process_open_fwd() 700 (r = sshbuf_get_u32(m, &cport)) != 0 || in mux_master_process_open_fwd() 861 if ((r = sshbuf_get_u32(m, &ftype)) != 0 || in mux_master_process_close_fwd() [all …]
|
H A D | ttymodes.c | 380 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes() 388 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes() 397 if ((r = sshbuf_get_u32(buf, &u)) != 0) \ in ssh_tty_parse_modes() 403 if ((r = sshbuf_get_u32(buf, &u)) != 0) \ in ssh_tty_parse_modes() 427 if ((r = sshbuf_get_u32(buf, NULL)) != 0) in ssh_tty_parse_modes()
|
H A D | ssh-sk-helper.c | 106 (r = sshbuf_get_u32(req, &compat)) != 0 || in process_sign() 162 if ((r = sshbuf_get_u32(req, &type)) != 0 || in process_enroll() 228 (r = sshbuf_get_u32(req, &flags)) != 0) in process_load_resident() 327 if ((r = sshbuf_get_u32(req, &rtype)) != 0 || in main() 329 (r = sshbuf_get_u32(req, &ll)) != 0) in main()
|
H A D | sftp-client.c | 205 if ((r = sshbuf_get_u32(m, &msg_len)) != 0) in get_msg_extended() 282 (r = sshbuf_get_u32(msg, &id)) != 0) in get_status() 291 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_status() 321 (r = sshbuf_get_u32(msg, &id)) != 0) in get_handle() 328 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_handle() 361 (r = sshbuf_get_u32(msg, &id)) != 0) in get_decode_stat() 369 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_decode_stat() 411 (r = sshbuf_get_u32(msg, &id)) != 0) in get_decode_statvfs() 420 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_decode_statvfs() 495 if ((r = sshbuf_get_u32(msg, &ret->version)) != 0) in sftp_init() [all …]
|
H A D | sshkey-xmss.c | 361 if ((r = sshbuf_get_u32(b, &state->idx)) != 0 || in sshkey_xmss_deserialize_pk_info() 362 (r = sshbuf_get_u32(b, &state->maxidx)) != 0) in sshkey_xmss_deserialize_pk_info() 789 (r = sshbuf_get_u32(b, &state->idx)) != 0 || in sshkey_xmss_deserialize_state() 791 (r = sshbuf_get_u32(b, &state->stackoffset)) != 0 || in sshkey_xmss_deserialize_state() 797 (r = sshbuf_get_u32(b, &lh)) != 0) in sshkey_xmss_deserialize_state() 816 if ((r = sshbuf_get_u32(b, &th->h)) != 0 || in sshkey_xmss_deserialize_state() 817 (r = sshbuf_get_u32(b, &th->next_idx)) != 0 || in sshkey_xmss_deserialize_state() 818 (r = sshbuf_get_u32(b, &th->stackusage)) != 0 || in sshkey_xmss_deserialize_state() 820 (r = sshbuf_get_u32(b, &node)) != 0) in sshkey_xmss_deserialize_state() 868 if ((r = sshbuf_get_u32(b, &state->maxidx)) != 0 || in sshkey_xmss_deserialize_state_opt() [all …]
|
H A D | kexdh.c | 127 (r = sshbuf_get_u32(buf, NULL)) != 0) in kex_dh_keypair() 161 (r = sshbuf_get_u32(server_blob, NULL)) != 0) in kex_dh_enc()
|
H A D | packet.c | 2367 (r = sshbuf_get_u32(b, (u_int *)&enc->enabled)) != 0 || in newkeys_from_blob() 2368 (r = sshbuf_get_u32(b, &enc->block_size)) != 0 || in newkeys_from_blob() 2381 if ((r = sshbuf_get_u32(b, (u_int *)&mac->enabled)) != 0 || in newkeys_from_blob() 2390 if ((r = sshbuf_get_u32(b, &comp->type)) != 0 || in newkeys_from_blob() 2417 if ((r = sshbuf_get_u32(m, &kex->we_need)) != 0 || in kex_from_blob() 2419 (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_type)) != 0 || in kex_from_blob() 2420 (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_nid)) != 0 || in kex_from_blob() 2421 (r = sshbuf_get_u32(m, &kex->kex_type)) != 0 || in kex_from_blob() 2422 (r = sshbuf_get_u32(m, &kex->kex_strict)) != 0 || in kex_from_blob() 2428 (r = sshbuf_get_u32(m, &kex->flags)) != 0) in kex_from_blob() [all …]
|
H A D | monitor.c | 441 if ((r = sshbuf_get_u32(logmsg, &len)) != 0) in monitor_read_log() 452 if ((r = sshbuf_get_u32(logmsg, &level)) != 0 || in monitor_read_log() 453 (r = sshbuf_get_u32(logmsg, &forced)) != 0 || in monitor_read_log() 575 if ((r = sshbuf_get_u32(m, &min)) != 0 || in mm_answer_moduli() 576 (r = sshbuf_get_u32(m, &want)) != 0 || in mm_answer_moduli() 577 (r = sshbuf_get_u32(m, &max)) != 0) in mm_answer_moduli() 622 if ((r = sshbuf_get_u32(m, &keyid)) != 0 || in mm_answer_sign() 625 (r = sshbuf_get_u32(m, &compat)) != 0) in mm_answer_sign() 1100 if ((r = sshbuf_get_u32(m, &num)) != 0) in mm_answer_pam_respond() 1162 if ((r = sshbuf_get_u32(m, &type)) != 0 || in mm_answer_keyallowed() [all …]
|
H A D | kexecdh.c | 74 (r = sshbuf_get_u32(buf, NULL)) != 0) in kex_ecdh_keypair() 124 (r = sshbuf_get_u32(server_blob, NULL)) != 0) in kex_ecdh_enc()
|
H A D | ssh-sk-client.c | 184 if ((r = sshbuf_get_u32(resp, &rtype)) != 0) { in client_converse() 189 if ((r = sshbuf_get_u32(resp, &rerr)) != 0) { in client_converse()
|
H A D | sftp-server.c | 715 if ((r = sshbuf_get_u32(iqueue, &version)) != 0) in process_init() 750 (r = sshbuf_get_u32(iqueue, &pflags)) != 0 || /* portable flags */ in process_open() 809 (r = sshbuf_get_u32(iqueue, &len)) != 0) in process_read() 1742 if ((r = sshbuf_get_u32(uids, &n)) != 0) in process_extended_get_users_groups_by_id() 1752 if ((r = sshbuf_get_u32(gids, &n)) != 0) in process_extended_get_users_groups_by_id() 1837 if ((r = sshbuf_get_u32(iqueue, &id)) != 0) in process() 1844 if ((r = sshbuf_get_u32(iqueue, &id)) != 0) in process()
|
H A D | auth-pam.c | 343 if ((r = sshbuf_get_u32(b, &n)) != 0) in import_environments() 348 if ((r = sshbuf_get_u32(b, &n)) != 0) in import_environments() 353 if ((r = sshbuf_get_u32(b, &num_env)) != 0) in import_environments() 368 if ((r = sshbuf_get_u32(b, &num_env)) != 0) in import_environments()
|
H A D | sshbuf-getput-basic.c | 61 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32() function 318 (r = sshbuf_get_u32(buf, &len)) != 0 || in sshbuf_get_stringb()
|
H A D | ssh-ed25519-sk.c | 160 sshbuf_get_u32(b, &sig_counter) != 0) { in ssh_ed25519_sk_verify()
|
H A D | ssh-pkcs11-client.c | 612 if ((r = sshbuf_get_u32(msg, &nkeys)) != 0) in pkcs11_add_provider() 633 if ((r = sshbuf_get_u32(msg, &nkeys)) != 0) in pkcs11_add_provider()
|
H A D | ssh-keysign.c | 269 if ((r = sshbuf_get_u32(b, (u_int *)&fd)) != 0) in main()
|
H A D | sshbuf.h | 156 int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
|
H A D | auth-options.c | 741 if ((r = sshbuf_get_u32(m, &tmp)) != 0 || in deserialise_array() 884 (r = sshbuf_get_u32(m, &tmp)) != 0) in sshauthopt_deserialise()
|
H A D | sshkey.c | 1776 (ret = sshbuf_get_u32(b, &key->cert->type)) != 0 || in cert_parse() 2978 (r = sshbuf_get_u32(decoded, &nkeys)) != 0) in private2_decrypt() 2988 (r = sshbuf_get_u32(decoded, &encrypted_len)) != 0) in private2_decrypt() 3027 (r = sshbuf_get_u32(kdf, &rounds)) != 0) in private2_decrypt() 3064 if ((r = sshbuf_get_u32(decrypted, &check1)) != 0 || in private2_decrypt() 3065 (r = sshbuf_get_u32(decrypted, &check2)) != 0) in private2_decrypt() 3174 (r = sshbuf_get_u32(decoded, &nkeys)) != 0) in sshkey_parse_private2_pubkey()
|
H A D | ssh-pkcs11-helper.c | 196 (r = sshbuf_get_u32(iqueue, NULL)) != 0) in process_sign()
|
/freebsd/crypto/openssh/regress/unittests/sshbuf/ |
H A D | test_sshbuf_fixed.c | 57 ASSERT_INT_EQ(sshbuf_get_u32(p1, &i), 0); in sshbuf_fixed() 88 ASSERT_INT_EQ(sshbuf_get_u32(p2, &i), 0); in sshbuf_fixed()
|
H A D | test_sshbuf_getput_fuzz.c | 54 sshbuf_get_u32(p1, &u32); in attempt_parse_blob()
|
H A D | test_sshbuf_getput_basic.c | 135 ASSERT_INT_EQ(sshbuf_get_u32(p1, &v32), 0); in sshbuf_getput_basic_tests() 138 ASSERT_INT_EQ(sshbuf_get_u32(p1, &v32), 0); in sshbuf_getput_basic_tests() 145 r = sshbuf_get_u32(p1, &v32); in sshbuf_getput_basic_tests()
|