Lines Matching refs:readbytes
538 size_t readbytes; in dtls1_reassemble_fragment() local
583 frag_len, 0, &readbytes); in dtls1_reassemble_fragment()
586 frag_len -= readbytes; in dtls1_reassemble_fragment()
594 frag_len, 0, &readbytes); in dtls1_reassemble_fragment()
595 if (i <= 0 || readbytes != frag_len) in dtls1_reassemble_fragment()
647 size_t readbytes; in dtls1_process_out_of_seq_message() local
680 frag_len, 0, &readbytes); in dtls1_process_out_of_seq_message()
683 frag_len -= readbytes; in dtls1_process_out_of_seq_message()
705 &readbytes); in dtls1_process_out_of_seq_message()
706 if (i<=0 || readbytes != frag_len) in dtls1_process_out_of_seq_message()
743 size_t readbytes; in dtls_get_reassembled_message() local
762 DTLS1_HM_HEADER_LENGTH, 0, &readbytes); in dtls_get_reassembled_message()
776 memcpy(s->init_buf->data, wire, readbytes); in dtls_get_reassembled_message()
777 s->init_num = readbytes - 1; in dtls_get_reassembled_message()
780 s->s3->tmp.message_size = readbytes - 1; in dtls_get_reassembled_message()
781 *len = readbytes - 1; in dtls_get_reassembled_message()
786 if (readbytes != DTLS1_HM_HEADER_LENGTH) { in dtls_get_reassembled_message()
861 &p[frag_off], frag_len, 0, &readbytes); in dtls_get_reassembled_message()
873 readbytes = 0; in dtls_get_reassembled_message()
880 if (readbytes != frag_len) { in dtls_get_reassembled_message()