Home
last modified time | relevance | path

Searched refs:sshbuf_get_u32 (Results 1 – 25 of 33) sorted by relevance

12

/external/openssh/
Dsftp-common.c111 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()
Dmonitor_wrap.c410 if ((r = sshbuf_get_u32(m, &authenticated)) != 0) in mm_auth_password()
413 if ((r = sshbuf_get_u32(m, &maxtries)) != 0) in mm_auth_password()
470 if ((r = sshbuf_get_u32(m, &allowed)) != 0) in mm_key_allowed()
523 if ((r = sshbuf_get_u32(m, &encoded_ret)) != 0 || in mm_sshkey_verify()
527 if ((r = sshbuf_get_u32(m, &counter)) != 0 || in mm_sshkey_verify()
587 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_pty_allocate()
673 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_do_pam_account()
699 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_sshpam_init_ctx()
724 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_sshpam_query()
727 (r = sshbuf_get_u32(m, &n)) != 0 || in mm_sshpam_query()
[all …]
Dmux.c281 if ((r = sshbuf_get_u32(m, &ver)) != 0) { in mux_master_process_hello()
352 (r = sshbuf_get_u32(m, &cctx->want_tty)) != 0 || in mux_master_process_new_session()
353 (r = sshbuf_get_u32(m, &cctx->want_x_fwd)) != 0 || in mux_master_process_new_session()
354 (r = sshbuf_get_u32(m, &cctx->want_agent_fwd)) != 0 || in mux_master_process_new_session()
355 (r = sshbuf_get_u32(m, &cctx->want_subsys)) != 0 || in mux_master_process_new_session()
356 (r = sshbuf_get_u32(m, &escape_char)) != 0 || in mux_master_process_new_session()
708 if ((r = sshbuf_get_u32(m, &ftype)) != 0 || in mux_master_process_open_fwd()
710 (r = sshbuf_get_u32(m, &lport)) != 0 || in mux_master_process_open_fwd()
712 (r = sshbuf_get_u32(m, &cport)) != 0 || in mux_master_process_open_fwd()
875 if ((r = sshbuf_get_u32(m, &ftype)) != 0 || in mux_master_process_close_fwd()
[all …]
Dttymodes.c380 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()
Dsftp-client.c152 if ((r = sshbuf_get_u32(m, &msg_len)) != 0) in get_msg_extended()
228 (r = sshbuf_get_u32(msg, &id)) != 0) in get_status()
237 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_status()
267 (r = sshbuf_get_u32(msg, &id)) != 0) in get_handle()
274 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_handle()
305 (r = sshbuf_get_u32(msg, &id)) != 0) in get_decode_stat()
314 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_decode_stat()
351 (r = sshbuf_get_u32(msg, &id)) != 0) in get_decode_statvfs()
360 if ((r = sshbuf_get_u32(msg, &status)) != 0) in get_decode_statvfs()
434 if ((r = sshbuf_get_u32(msg, &ret->version)) != 0) in do_init()
[all …]
Dsshkey-xmss.c359 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()
788 (r = sshbuf_get_u32(b, &state->idx)) != 0 || in sshkey_xmss_deserialize_state()
790 (r = sshbuf_get_u32(b, &state->stackoffset)) != 0 || in sshkey_xmss_deserialize_state()
796 (r = sshbuf_get_u32(b, &lh)) != 0) in sshkey_xmss_deserialize_state()
815 if ((r = sshbuf_get_u32(b, &th->h)) != 0 || in sshkey_xmss_deserialize_state()
816 (r = sshbuf_get_u32(b, &th->next_idx)) != 0 || in sshkey_xmss_deserialize_state()
817 (r = sshbuf_get_u32(b, &th->stackusage)) != 0 || in sshkey_xmss_deserialize_state()
819 (r = sshbuf_get_u32(b, &node)) != 0) in sshkey_xmss_deserialize_state()
867 if ((r = sshbuf_get_u32(b, &state->maxidx)) != 0 || in sshkey_xmss_deserialize_state_opt()
[all …]
Dssh-sk-helper.c107 (r = sshbuf_get_u32(req, &compat)) != 0 || in process_sign()
158 if ((r = sshbuf_get_u32(req, &type)) != 0 || in process_enroll()
320 if ((r = sshbuf_get_u32(req, &rtype)) != 0 || in main()
322 (r = sshbuf_get_u32(req, &ll)) != 0) in main()
Dkexdh.c126 (r = sshbuf_get_u32(buf, NULL)) != 0) in kex_dh_keypair()
160 (r = sshbuf_get_u32(server_blob, NULL)) != 0) in kex_dh_enc()
Dkexecdh.c74 (r = sshbuf_get_u32(buf, NULL)) != 0) in kex_ecdh_keypair()
124 (r = sshbuf_get_u32(server_blob, NULL)) != 0) in kex_ecdh_enc()
Dpacket.c2344 (r = sshbuf_get_u32(b, (u_int *)&enc->enabled)) != 0 || in newkeys_from_blob()
2345 (r = sshbuf_get_u32(b, &enc->block_size)) != 0 || in newkeys_from_blob()
2358 if ((r = sshbuf_get_u32(b, (u_int *)&mac->enabled)) != 0 || in newkeys_from_blob()
2367 if ((r = sshbuf_get_u32(b, &comp->type)) != 0 || in newkeys_from_blob()
2395 (r = sshbuf_get_u32(m, &kex->we_need)) != 0 || in kex_from_blob()
2397 (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_type)) != 0 || in kex_from_blob()
2398 (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_nid)) != 0 || in kex_from_blob()
2399 (r = sshbuf_get_u32(m, &kex->kex_type)) != 0 || in kex_from_blob()
2404 (r = sshbuf_get_u32(m, &kex->flags)) != 0) in kex_from_blob()
2437 (r = sshbuf_get_u32(m, &state->rekey_interval)) != 0 || in ssh_packet_set_state()
[all …]
Dmonitor.c444 if ((r = sshbuf_get_u32(logmsg, &len)) != 0) in monitor_read_log()
455 if ((r = sshbuf_get_u32(logmsg, &level)) != 0 || in monitor_read_log()
580 if ((r = sshbuf_get_u32(m, &min)) != 0 || in mm_answer_moduli()
581 (r = sshbuf_get_u32(m, &want)) != 0 || in mm_answer_moduli()
582 (r = sshbuf_get_u32(m, &max)) != 0) in mm_answer_moduli()
629 if ((r = sshbuf_get_u32(m, &keyid)) != 0 || in mm_answer_sign()
632 (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()
1168 if ((r = sshbuf_get_u32(m, &type)) != 0 || in mm_answer_keyallowed()
1172 (r = sshbuf_get_u32(m, &pubkey_auth_attempt)) != 0) in mm_answer_keyallowed()
[all …]
Dssh-pkcs11-client.c340 if ((r = sshbuf_get_u32(msg, &nkeys)) != 0) in pkcs11_add_provider()
362 if ((r = sshbuf_get_u32(msg, &nkeys)) != 0) in pkcs11_add_provider()
Dssh-ed25519-sk.c74 sshbuf_get_u32(b, &sig_counter) != 0) { in ssh_ed25519_sk_verify()
Dssh-sk-client.c185 if ((r = sshbuf_get_u32(resp, &rtype)) != 0) { in client_converse()
190 if ((r = sshbuf_get_u32(resp, &rerr)) != 0) { in client_converse()
Dssh-ecdsa-sk.c89 sshbuf_get_u32(b, &sig_counter) != 0) { in ssh_ecdsa_sk_verify()
Dauth-pam.c343 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()
367 if ((r = sshbuf_get_u32(b, &num_env)) != 0) in import_environments()
Dsshbuf-getput-basic.c61 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()
Dssh-agent.c304 (r = sshbuf_get_u32(e->request, &flags)) != 0) { in process_sign_request2()
452 if ((r = sshbuf_get_u32(e->request, &seconds)) != 0) { in process_add_identity()
463 if ((r = sshbuf_get_u32(e->request, &maxsign)) != 0) { in process_add_identity()
668 if ((r = sshbuf_get_u32(e->request, &seconds)) != 0) { in process_add_smartcard_key()
Dsftp-server.c652 if ((r = sshbuf_get_u32(iqueue, &version)) != 0) in process_init()
690 (r = sshbuf_get_u32(iqueue, &pflags)) != 0 || /* portable flags */ in process_open()
748 (r = sshbuf_get_u32(iqueue, &len)) != 0) in process_read()
1502 if ((r = sshbuf_get_u32(iqueue, &id)) != 0) in process()
1509 if ((r = sshbuf_get_u32(iqueue, &id)) != 0) in process()
Dssh-keysign.c251 if ((r = sshbuf_get_u32(b, (u_int *)&fd)) != 0) in main()
Dsshbuf.h171 int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
Dauth-options.c714 if ((r = sshbuf_get_u32(m, &tmp)) != 0 || in deserialise_array()
855 (r = sshbuf_get_u32(m, &tmp)) != 0) in sshauthopt_deserialise()
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_fixed.c58 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()
Dtest_sshbuf_getput_fuzz.c53 sshbuf_get_u32(p1, &u32); in attempt_parse_blob()
Dtest_sshbuf_getput_basic.c136 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()

12