• Home
  • Raw
  • Download

Lines Matching refs:sshbuf_len

330 		while (sshbuf_len(state->incoming_packet) <  in ssh_packet_stop_discard()
358 if (sshbuf_len(state->input) >= discard && in ssh_packet_start_discard()
361 state->packet_discard = discard - sshbuf_len(state->input); in ssh_packet_start_discard()
622 if (sshbuf_len(in) == 0) in compress_buffer()
629 ssh->state->compression_out_stream.avail_in = sshbuf_len(in); in compress_buffer()
670 ssh->state->compression_in_stream.avail_in = sshbuf_len(in); in uncompress_buffer()
857 len = sshbuf_len(state->outgoing_packet) + 4 - 8; in ssh_packet_send1()
874 sshbuf_len(state->outgoing_packet)); in ssh_packet_send1()
889 sshbuf_len(state->outgoing_packet), &cp)) != 0) in ssh_packet_send1()
893 sshbuf_len(state->outgoing_packet), 0, 0)) != 0) in ssh_packet_send1()
902 sshbuf_len(state->outgoing_packet); in ssh_packet_send1()
1085 len = sshbuf_len(state->outgoing_packet); in ssh_packet_send2_wrapped()
1100 sshbuf_len(state->outgoing_packet))); in ssh_packet_send2_wrapped()
1104 len = sshbuf_len(state->outgoing_packet); in ssh_packet_send2_wrapped()
1135 len = sshbuf_len(state->outgoing_packet); in ssh_packet_send2_wrapped()
1157 sshbuf_len(state->outgoing_packet) + authlen, &cp)) != 0) in ssh_packet_send2_wrapped()
1410 if (sshbuf_len(state->input) < 4 + 8) in ssh_packet_read_poll1()
1423 if (sshbuf_len(state->input) < 4 + padded_len) in ssh_packet_read_poll1()
1480 sshbuf_len(state->incoming_packet) - 4); in ssh_packet_read_poll1()
1487 if (len != sshbuf_len(state->incoming_packet)) { in ssh_packet_read_poll1()
1489 len, sshbuf_len(state->incoming_packet)); in ssh_packet_read_poll1()
1566 sshbuf_ptr(state->input), sshbuf_len(state->input)) != 0) in ssh_packet_read_poll2()
1583 if (sshbuf_len(state->input) < block_size) in ssh_packet_read_poll2()
1637 if (sshbuf_len(state->input) < aadlen + need + authlen + maclen) in ssh_packet_read_poll2()
1666 sshbuf_len(state->incoming_packet), in ssh_packet_read_poll2()
1709 sshbuf_len(state->incoming_packet))); in ssh_packet_read_poll2()
1720 sshbuf_len(state->incoming_packet))); in ssh_packet_read_poll2()
1862 return sshbuf_len(ssh->state->incoming_packet); in ssh_packet_remaining()
1977 int len = sshbuf_len(state->output); in ssh_packet_write_poll()
2061 return sshbuf_len(ssh->state->output) != 0; in ssh_packet_have_data_to_write()
2070 return sshbuf_len(ssh->state->output) < 16384; in ssh_packet_not_very_much_data_to_write()
2072 return sshbuf_len(ssh->state->output) < 128 * 1024; in ssh_packet_not_very_much_data_to_write()
2306 len = sshbuf_len(backup_state->state->input); in ssh_packet_restore_state()
2529 if (sshbuf_len(b) != 0) { in newkeys_from_blob()
2672 if (sshbuf_len(m)) in ssh_packet_set_state()
2825 if (sshbuf_len(ssh->state->incoming_packet) > 0) in sshpkt_get_end()
2834 *lenp = sshbuf_len(ssh->state->incoming_packet); in sshpkt_ptr()