Lines Matching refs:sshbuf_put
333 if ((r = sshbuf_put(state->incoming_packet, buf, in ssh_packet_stop_discard()
646 if ((r = sshbuf_put(out, buf, sizeof(buf) - in compress_buffer()
682 if ((r = sshbuf_put(out, buf, sizeof(buf) - in uncompress_buffer()
848 if ((r = sshbuf_put(state->compression_buffer, in ssh_packet_send1()
879 if ((r = sshbuf_put(state->outgoing_packet, buf, 4)) != 0) in ssh_packet_send1()
889 if ((r = sshbuf_put(state->output, buf, 4)) != 0) in ssh_packet_send1()
1097 if ((r = sshbuf_put(state->outgoing_packet, in ssh_packet_send2_wrapped()
1176 if ((r = sshbuf_put(state->output, macbuf, mac->mac_len)) != 0) in ssh_packet_send2_wrapped()
1862 if ((r = sshbuf_put(ssh->state->input, buf, len)) != 0) in ssh_packet_process_incoming()
2415 (r = sshbuf_put(b, &enc->cipher, sizeof(enc->cipher))) != 0 || in newkeys_to_blob()
2692 (r = sshbuf_put(state->input, input, ilen)) != 0 || in ssh_packet_set_state()
2693 (r = sshbuf_put(state->output, output, olen)) != 0) in ssh_packet_set_state()
2715 return sshbuf_put(ssh->state->outgoing_packet, v, len); in sshpkt_put()
2881 return sshbuf_put(ssh->state->outgoing_packet, buf, len); in sshpkt_start()