| /freebsd-12.1/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 | 514 if ((r = sshbuf_get_u32(m, &allowed)) != 0) in mm_key_allowed() 617 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_pty_allocate() 703 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_do_pam_account() 754 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_sshpam_query() 757 (r = sshbuf_get_u32(m, &n)) != 0 || in mm_sshpam_query() 758 (r = sshbuf_get_u32(m, num)) != 0) in mm_sshpam_query() 796 if ((r = sshbuf_get_u32(m, &n)) != 0) in mm_sshpam_respond() 902 if ((r = sshbuf_get_u32(m, &authok)) != 0) in mm_bsdauth_respond() 964 if ((r = sshbuf_get_u32(m, &major)) != 0) in mm_ssh_gssapi_server_ctx() 992 if ((r = sshbuf_get_u32(m, &flags)) != 0) in mm_ssh_gssapi_accept_ctx() [all …]
|
| H A D | mux.c | 295 if ((r = sshbuf_get_u32(m, &ver)) != 0) { in process_mux_master_hello() 1634 if ((r = sshbuf_get_u32(m, &type)) != 0) in mux_client_hello_exchange() 1641 if ((r = sshbuf_get_u32(m, &ver)) != 0) in mux_client_hello_exchange() 1704 if ((r = sshbuf_get_u32(m, &rid)) != 0) in mux_client_request_alive() 1709 if ((r = sshbuf_get_u32(m, &pid)) != 0) in mux_client_request_alive() 1753 (r = sshbuf_get_u32(m, &rid)) != 0) in mux_client_request_terminate() 1831 (r = sshbuf_get_u32(m, &rid)) != 0) in mux_client_forward() 1982 (r = sshbuf_get_u32(m, &rid)) != 0) in mux_client_request_session() 2118 (r = sshbuf_get_u32(m, &rid)) != 0) in mux_client_proxy() 2195 (r = sshbuf_get_u32(m, &rid)) != 0) in mux_client_request_stdio_fwd() [all …]
|
| H A D | ttymodes.c | 380 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes() 389 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes() 399 if ((r = sshbuf_get_u32(buf, &u)) != 0) \ in ssh_tty_parse_modes() 406 if ((r = sshbuf_get_u32(buf, &u)) != 0) \ in ssh_tty_parse_modes() 431 if ((r = sshbuf_get_u32(buf, NULL)) != 0) in ssh_tty_parse_modes()
|
| H A D | sftp-client.c | 149 if ((r = sshbuf_get_u32(m, &msg_len)) != 0) in get_msg_extended() 225 (r = sshbuf_get_u32(msg, &id)) != 0) in get_status() 234 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_status() 264 (r = sshbuf_get_u32(msg, &id)) != 0) in get_handle() 302 (r = sshbuf_get_u32(msg, &id)) != 0) in get_decode_stat() 348 (r = sshbuf_get_u32(msg, &id)) != 0) in get_decode_statvfs() 582 (r = sshbuf_get_u32(msg, &id)) != 0) in do_lsreaddir() 844 (r = sshbuf_get_u32(msg, &id)) != 0) in do_realpath() 862 if ((r = sshbuf_get_u32(msg, &count)) != 0) in do_realpath() 1044 (r = sshbuf_get_u32(msg, &id)) != 0) in do_readlink() [all …]
|
| H A D | sshkey-xmss.c | 359 if ((r = sshbuf_get_u32(b, &state->idx)) != 0 || in sshkey_xmss_deserialize_pk_info() 360 (r = sshbuf_get_u32(b, &state->maxidx)) != 0) in sshkey_xmss_deserialize_pk_info() 761 (r = sshbuf_get_u32(b, &state->idx)) != 0 || in sshkey_xmss_deserialize_state() 763 (r = sshbuf_get_u32(b, &state->stackoffset)) != 0 || in sshkey_xmss_deserialize_state() 769 (r = sshbuf_get_u32(b, &lh)) != 0) in sshkey_xmss_deserialize_state() 784 if ((r = sshbuf_get_u32(b, &th->h)) != 0 || in sshkey_xmss_deserialize_state() 785 (r = sshbuf_get_u32(b, &th->next_idx)) != 0 || in sshkey_xmss_deserialize_state() 786 (r = sshbuf_get_u32(b, &th->stackusage)) != 0 || in sshkey_xmss_deserialize_state() 788 (r = sshbuf_get_u32(b, &node)) != 0) in sshkey_xmss_deserialize_state() 970 (r = sshbuf_get_u32(encoded, &index)) != 0 || in sshkey_xmss_decrypt_state() [all …]
|
| H A D | sshbuf-getput-basic.c | 59 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32() function 229 (r = sshbuf_get_u32(buf, &len)) != 0 || in sshbuf_get_stringb() 523 sshbuf_get_u32(buf, &pw->pw_uid) != 0 || in sshbuf_get_passwd() 524 sshbuf_get_u32(buf, &pw->pw_gid) != 0 || in sshbuf_get_passwd() 539 sshbuf_get_u32(buf, &pw->pw_fields) != 0) { in sshbuf_get_passwd()
|
| H A D | packet.c | 2285 (r = sshbuf_get_u32(b, (u_int *)&enc->enabled)) != 0 || in newkeys_from_blob() 2286 (r = sshbuf_get_u32(b, &enc->block_size)) != 0 || in newkeys_from_blob() 2308 if ((r = sshbuf_get_u32(b, &comp->type)) != 0 || in newkeys_from_blob() 2340 (r = sshbuf_get_u32(m, &kex->we_need)) != 0 || in kex_from_blob() 2344 (r = sshbuf_get_u32(m, &kex->kex_type)) != 0 || in kex_from_blob() 2347 (r = sshbuf_get_u32(m, &kex->flags)) != 0 || in kex_from_blob() 2385 (r = sshbuf_get_u32(m, &state->rekey_interval)) != 0 || in ssh_packet_set_state() 2386 (r = sshbuf_get_u32(m, &state->p_send.seqnr)) != 0 || in ssh_packet_set_state() 2388 (r = sshbuf_get_u32(m, &state->p_send.packets)) != 0 || in ssh_packet_set_state() 2390 (r = sshbuf_get_u32(m, &state->p_read.seqnr)) != 0 || in ssh_packet_set_state() [all …]
|
| H A D | monitor.c | 445 if ((r = sshbuf_get_u32(logmsg, &len)) != 0) in monitor_read_log() 456 if ((r = sshbuf_get_u32(logmsg, &level)) != 0 || in monitor_read_log() 581 if ((r = sshbuf_get_u32(m, &min)) != 0 || in mm_answer_moduli() 582 (r = sshbuf_get_u32(m, &want)) != 0 || in mm_answer_moduli() 583 (r = sshbuf_get_u32(m, &max)) != 0) in mm_answer_moduli() 631 if ((r = sshbuf_get_u32(m, &keyid)) != 0 || in mm_answer_sign() 634 (r = sshbuf_get_u32(m, &compat)) != 0) in mm_answer_sign() 1110 if ((r = sshbuf_get_u32(m, &num)) != 0) in mm_answer_pam_respond() 1169 if ((r = sshbuf_get_u32(m, &type)) != 0 || in mm_answer_keyallowed() 1173 (r = sshbuf_get_u32(m, &pubkey_auth_attempt)) != 0) in mm_answer_keyallowed() [all …]
|
| H A D | sshbuf.h | 171 int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp); 180 #define sshbuf_get_time(b, vp) sshbuf_get_u32((b), (u_int32_t *)(vp))
|
| H A D | auth-pam.c | 331 if ((r = sshbuf_get_u32(b, &n)) != 0) in import_environments() 336 if ((r = sshbuf_get_u32(b, &n)) != 0) in import_environments() 341 if ((r = sshbuf_get_u32(b, &num_env)) != 0) in import_environments() 355 if ((r = sshbuf_get_u32(b, &num_env)) != 0) in import_environments()
|
| H A D | ssh-agent.c | 311 (r = sshbuf_get_u32(e->request, &flags)) != 0) { in process_sign_request2() 447 if ((r = sshbuf_get_u32(e->request, &seconds)) != 0) { in process_add_identity() 458 if ((r = sshbuf_get_u32(e->request, &maxsign)) != 0) { in process_add_identity() 593 if ((r = sshbuf_get_u32(e->request, &seconds)) != 0) { in process_add_smartcard_key()
|
| H A D | sftp-server.c | 648 if ((r = sshbuf_get_u32(iqueue, &version)) != 0) in process_init() 684 (r = sshbuf_get_u32(iqueue, &pflags)) != 0 || /* portable flags */ in process_open() 742 (r = sshbuf_get_u32(iqueue, &len)) != 0) in process_read() 1435 if ((r = sshbuf_get_u32(iqueue, &id)) != 0) in process() 1442 if ((r = sshbuf_get_u32(iqueue, &id)) != 0) in process()
|
| H A D | ssh-pkcs11-client.c | 226 if ((r = sshbuf_get_u32(msg, &nkeys)) != 0) in pkcs11_add_provider()
|
| H A D | ssh-keygen.c | 430 if ((r = sshbuf_get_u32(b, &bignum_bits)) != 0) in buffer_get_bignum_bits() 459 if ((r = sshbuf_get_u32(b, &magic)) != 0) in do_convert_private_ssh2_from_blob() 468 if ((r = sshbuf_get_u32(b, &i1)) != 0 || in do_convert_private_ssh2_from_blob() 471 (r = sshbuf_get_u32(b, &i2)) != 0 || in do_convert_private_ssh2_from_blob() 472 (r = sshbuf_get_u32(b, &i3)) != 0 || in do_convert_private_ssh2_from_blob() 473 (r = sshbuf_get_u32(b, &i4)) != 0) in do_convert_private_ssh2_from_blob()
|
| H A D | ssh-keysign.c | 261 if ((r = sshbuf_get_u32(b, (u_int *)&fd)) != 0) in main()
|
| H A D | auth-options.c | 772 if ((r = sshbuf_get_u32(m, &tmp)) != 0 || in deserialise_array() 904 (r = sshbuf_get_u32(m, &tmp)) != 0) in sshauthopt_deserialise()
|
| H A D | ssh-pkcs11-helper.c | 187 (r = sshbuf_get_u32(iqueue, NULL)) != 0) in process_sign()
|
| H A D | authfd.c | 261 if ((r = sshbuf_get_u32(msg, &num)) != 0) in ssh_fetch_identitylist()
|
| H A D | sshkey.c | 1887 (ret = sshbuf_get_u32(b, &key->cert->type)) != 0 || in cert_parse() 3579 (r = sshbuf_get_u32(decoded, &nkeys)) != 0 || in sshkey_parse_private2() 3581 (r = sshbuf_get_u32(decoded, &encrypted_len)) != 0) in sshkey_parse_private2() 3625 (r = sshbuf_get_u32(kdf, &rounds)) != 0) in sshkey_parse_private2() 3661 if ((r = sshbuf_get_u32(decrypted, &check1)) != 0 || in sshkey_parse_private2() 3662 (r = sshbuf_get_u32(decrypted, &check2)) != 0) in sshkey_parse_private2()
|
| H A D | ssh_namespace.h | 671 #define sshbuf_get_u32 Fssh_sshbuf_get_u32 macro
|
| H A D | kex.c | 350 (r = sshbuf_get_u32(b, &i)) != 0) /* reserved */ in kex_buf2prop()
|
| /freebsd-12.1/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_fixed.c | 58 ASSERT_INT_EQ(sshbuf_get_u32(p1, &i), 0); in sshbuf_fixed() 89 ASSERT_INT_EQ(sshbuf_get_u32(p2, &i), 0); in sshbuf_fixed()
|
| H A D | test_sshbuf_getput_fuzz.c | 51 sshbuf_get_u32(p1, &u32); in attempt_parse_blob()
|
| H A D | test_sshbuf_getput_basic.c | 136 ASSERT_INT_EQ(sshbuf_get_u32(p1, &v32), 0); in sshbuf_getput_basic_tests() 139 ASSERT_INT_EQ(sshbuf_get_u32(p1, &v32), 0); in sshbuf_getput_basic_tests() 146 r = sshbuf_get_u32(p1, &v32); in sshbuf_getput_basic_tests()
|