Lines Matching refs:sshbuf_consume
842 if ((r = sshbuf_consume(state->outgoing_packet, 8)) != 0) in ssh_packet_send1()
869 if ((r = sshbuf_consume(state->outgoing_packet, 8 - padding)) != 0) in ssh_packet_send1()
1087 if ((r = sshbuf_consume(state->outgoing_packet, 5)) != 0) in ssh_packet_send2_wrapped()
1429 if ((r = sshbuf_consume(state->input, 4)) != 0) in ssh_packet_read_poll1()
1470 if ((r = sshbuf_consume(state->input, padded_len)) != 0) in ssh_packet_read_poll1()
1483 if ((r = sshbuf_consume(state->incoming_packet, 8 - len % 8)) != 0) in ssh_packet_read_poll1()
1606 if ((r = sshbuf_consume(state->input, block_size)) != 0) in ssh_packet_read_poll2()
1656 if ((r = sshbuf_consume(state->input, aadlen + need + authlen)) != 0) in ssh_packet_read_poll2()
1679 if ((r = sshbuf_consume(state->input, mac->mac_len)) != 0) in ssh_packet_read_poll2()
1704 if ((r = sshbuf_consume(state->incoming_packet, 4 + 1)) != 0 || in ssh_packet_read_poll2()
1992 if ((r = sshbuf_consume(state->output, len)) != 0) in ssh_packet_write_poll()