| /freebsd/crypto/openssh/ |
| H A D | sftp-common.c | 109 if ((r = sshbuf_get_u32(b, &a->flags)) != 0) in decode_attrib() 116 if ((r = sshbuf_get_u32(b, &a->uid)) != 0 || in decode_attrib() 117 (r = sshbuf_get_u32(b, &a->gid)) != 0) in decode_attrib() 121 if ((r = sshbuf_get_u32(b, &a->perm)) != 0) in decode_attrib() 125 if ((r = sshbuf_get_u32(b, &a->atime)) != 0 || in decode_attrib() 126 (r = sshbuf_get_u32(b, &a->mtime)) != 0) in decode_attrib() 136 if ((r = sshbuf_get_u32(b, &count)) != 0) in decode_attrib()
|
| H A D | mux.c | 270 if ((r = sshbuf_get_u32(m, &ver)) != 0) { in mux_master_process_hello() 345 (r = sshbuf_get_u32(m, &cctx->want_tty)) != 0 || in mux_master_process_new_session() 346 (r = sshbuf_get_u32(m, &cctx->want_x_fwd)) != 0 || in mux_master_process_new_session() 347 (r = sshbuf_get_u32(m, &cctx->want_agent_fwd)) != 0 || in mux_master_process_new_session() 348 (r = sshbuf_get_u32(m, &cctx->want_subsys)) != 0 || in mux_master_process_new_session() 349 (r = sshbuf_get_u32(m, &escape_char)) != 0 || in mux_master_process_new_session() 731 if ((r = sshbuf_get_u32(m, &ftype)) != 0 || in mux_master_process_open_fwd() 733 (r = sshbuf_get_u32(m, &lport)) != 0 || in mux_master_process_open_fwd() 735 (r = sshbuf_get_u32(m, &cport)) != 0 || in mux_master_process_open_fwd() 896 if ((r = sshbuf_get_u32(m, &ftype)) != 0 || in mux_master_process_close_fwd() [all …]
|
| H A D | monitor_wrap.c | 498 if ((r = sshbuf_get_u32(m, &authenticated)) != 0) in mm_auth_password() 501 if ((r = sshbuf_get_u32(m, &maxtries)) != 0) in mm_auth_password() 557 if ((r = sshbuf_get_u32(m, &allowed)) != 0) in mm_key_allowed() 608 if ((r = sshbuf_get_u32(m, &encoded_ret)) != 0 || in mm_sshkey_verify() 612 if ((r = sshbuf_get_u32(m, &counter)) != 0 || in mm_sshkey_verify() 669 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_pty_allocate() 755 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_do_pam_account() 781 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_sshpam_init_ctx() 806 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_sshpam_query() 809 (r = sshbuf_get_u32(m, &n)) != 0 || in mm_sshpam_query() [all …]
|
| H A D | ttymodes.c | 379 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes() 387 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes() 396 if ((r = sshbuf_get_u32(buf, &u)) != 0) \ in ssh_tty_parse_modes() 402 if ((r = sshbuf_get_u32(buf, &u)) != 0) \ in ssh_tty_parse_modes() 426 if ((r = sshbuf_get_u32(buf, NULL)) != 0) in ssh_tty_parse_modes()
|
| H A D | sftp-client.c | 193 if ((r = sshbuf_get_u32(m, &msg_len)) != 0) in get_msg_extended() 270 (r = sshbuf_get_u32(msg, &id)) != 0) in get_status() 279 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_status() 309 (r = sshbuf_get_u32(msg, &id)) != 0) in get_handle() 316 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_handle() 349 (r = sshbuf_get_u32(msg, &id)) != 0) in get_decode_stat() 357 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_decode_stat() 399 (r = sshbuf_get_u32(msg, &id)) != 0) in get_decode_statvfs() 408 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_decode_statvfs() 483 if ((r = sshbuf_get_u32(msg, &ret->version)) != 0) in sftp_init() [all …]
|
| H A D | ssh-sk-helper.c | 123 (r = sshbuf_get_u32(req, &compat)) != 0 || in process_sign() 179 if ((r = sshbuf_get_u32(req, &type)) != 0 || in process_enroll() 245 (r = sshbuf_get_u32(req, &flags)) != 0) in process_load_resident() 344 if ((r = sshbuf_get_u32(req, &rtype)) != 0 || in main() 346 (r = sshbuf_get_u32(req, &ll)) != 0) in main()
|
| H A D | packet.c | 2528 (r = sshbuf_get_u32(b, (u_int *)&enc->enabled)) != 0 || in newkeys_from_blob() 2529 (r = sshbuf_get_u32(b, &enc->block_size)) != 0 || in newkeys_from_blob() 2542 if ((r = sshbuf_get_u32(b, (u_int *)&mac->enabled)) != 0 || in newkeys_from_blob() 2551 if ((r = sshbuf_get_u32(b, &comp->type)) != 0 || in newkeys_from_blob() 2578 if ((r = sshbuf_get_u32(m, &kex->we_need)) != 0 || in kex_from_blob() 2580 (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_type)) != 0 || in kex_from_blob() 2581 (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_nid)) != 0 || in kex_from_blob() 2582 (r = sshbuf_get_u32(m, &kex->kex_type)) != 0 || in kex_from_blob() 2583 (r = sshbuf_get_u32(m, &kex->kex_strict)) != 0 || in kex_from_blob() 2589 (r = sshbuf_get_u32(m, &kex->flags)) != 0) in kex_from_blob() [all …]
|
| H A D | kexdh.c | 125 (r = sshbuf_get_u32(buf, NULL)) != 0) in kex_dh_keypair() 159 (r = sshbuf_get_u32(server_blob, NULL)) != 0) in kex_dh_enc()
|
| H A D | kexecdh.c | 73 (r = sshbuf_get_u32(buf, NULL)) != 0) in kex_ecdh_keypair() 123 (r = sshbuf_get_u32(server_blob, NULL)) != 0) in kex_ecdh_enc()
|
| H A D | monitor.c | 476 if ((r = sshbuf_get_u32(logmsg, &len)) != 0) in monitor_read_log() 487 if ((r = sshbuf_get_u32(logmsg, &level)) != 0 || in monitor_read_log() 488 (r = sshbuf_get_u32(logmsg, &forced)) != 0 || in monitor_read_log() 686 if ((r = sshbuf_get_u32(m, &min)) != 0 || in mm_answer_moduli() 687 (r = sshbuf_get_u32(m, &want)) != 0 || in mm_answer_moduli() 688 (r = sshbuf_get_u32(m, &max)) != 0) in mm_answer_moduli() 724 if ((r = sshbuf_get_u32(m, &ssh->compat)) != 0) in mm_answer_setcompat() 753 (r = sshbuf_get_u32(m, &compat)) != 0) in mm_answer_sign() 1256 if ((r = sshbuf_get_u32(m, &num)) != 0) in mm_answer_pam_respond() 1318 if ((r = sshbuf_get_u32(m, &type)) != 0 || in mm_answer_keyallowed() [all …]
|
| H A D | auth-pam.c | 320 if ((r = sshbuf_get_u32(b, &n)) != 0) in import_environments() 325 if ((r = sshbuf_get_u32(b, &n)) != 0) in import_environments() 330 if ((r = sshbuf_get_u32(b, &num_env)) != 0) in import_environments() 345 if ((r = sshbuf_get_u32(b, &num_env)) != 0) in import_environments()
|
| H A D | sftp-server.c | 707 if ((r = sshbuf_get_u32(iqueue, &version)) != 0) in process_init() 742 (r = sshbuf_get_u32(iqueue, &pflags)) != 0 || /* portable flags */ in process_open() 801 (r = sshbuf_get_u32(iqueue, &len)) != 0) in process_read() 1736 if ((r = sshbuf_get_u32(uids, &n)) != 0) in process_extended_get_users_groups_by_id() 1746 if ((r = sshbuf_get_u32(gids, &n)) != 0) in process_extended_get_users_groups_by_id() 1831 if ((r = sshbuf_get_u32(iqueue, &id)) != 0) in process() 1838 if ((r = sshbuf_get_u32(iqueue, &id)) != 0) in process()
|
| H A D | ssh-sk-client.c | 202 if ((r = sshbuf_get_u32(resp, &rtype)) != 0) { in client_converse() 207 if ((r = sshbuf_get_u32(resp, &rerr)) != 0) { in client_converse()
|
| H A D | ssh-pkcs11-client.c | 411 if ((r = sshbuf_get_u32(msg, &nkeys)) != 0) in pkcs11_add_provider() 433 if ((r = sshbuf_get_u32(msg, &nkeys)) != 0) in pkcs11_add_provider()
|
| H A D | sshbuf-getput-basic.c | 59 sshbuf_get_u32(struct sshbuf *buf, uint32_t *valp) in sshbuf_get_u32() function 316 (r = sshbuf_get_u32(buf, &len)) != 0 || in sshbuf_get_stringb()
|
| H A D | ssh-ed25519-sk.c | 158 sshbuf_get_u32(b, &sig_counter) != 0) { in ssh_ed25519_sk_verify()
|
| H A D | ssh-pkcs11-helper.c | 116 (r = sshbuf_get_u32(iqueue, &compat)) != 0) in process_sign()
|
| H A D | ssh-keysign.c | 265 if ((r = sshbuf_get_u32(b, (u_int *)&fd)) != 0) in main()
|
| H A D | sshbuf.h | 177 int sshbuf_get_u32(struct sshbuf *buf, uint32_t *valp);
|
| H A D | auth-options.c | 739 if ((r = sshbuf_get_u32(m, &tmp)) != 0 || in deserialise_array() 882 (r = sshbuf_get_u32(m, &tmp)) != 0) in sshauthopt_deserialise()
|
| H A D | sshkey.c | 1870 (ret = sshbuf_get_u32(b, &key->cert->type)) != 0 || in cert_parse() 3045 (r = sshbuf_get_u32(decoded, &nkeys)) != 0) in private2_decrypt() 3055 (r = sshbuf_get_u32(decoded, &encrypted_len)) != 0) in private2_decrypt() 3094 (r = sshbuf_get_u32(kdf, &rounds)) != 0) in private2_decrypt() 3131 if ((r = sshbuf_get_u32(decrypted, &check1)) != 0 || in private2_decrypt() 3132 (r = sshbuf_get_u32(decrypted, &check2)) != 0) in private2_decrypt() 3241 (r = sshbuf_get_u32(decoded, &nkeys)) != 0) in sshkey_parse_private2_pubkey()
|
| /freebsd/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_fixed.c | 55 ASSERT_INT_EQ(sshbuf_get_u32(p1, &i), 0); in sshbuf_fixed() 86 ASSERT_INT_EQ(sshbuf_get_u32(p2, &i), 0); in sshbuf_fixed()
|
| H A D | test_sshbuf_getput_fuzz.c | 52 ASSERT_INT_EQ(sshbuf_get_u32(p1, &u32), 0); in attempt_parse_blob()
|
| H A D | test_sshbuf.c | 258 ASSERT_INT_EQ(sshbuf_get_u32(p3, &v32), 0); in sshbuf_tests() 268 ASSERT_INT_EQ(sshbuf_get_u32(p1, &v32), 0); in sshbuf_tests()
|
| H A D | test_sshbuf_getput_basic.c | 133 ASSERT_INT_EQ(sshbuf_get_u32(p1, &v32), 0); in sshbuf_getput_basic_tests() 136 ASSERT_INT_EQ(sshbuf_get_u32(p1, &v32), 0); in sshbuf_getput_basic_tests() 143 r = sshbuf_get_u32(p1, &v32); in sshbuf_getput_basic_tests()
|