Lines Matching full:msg_len
214 size_t msg_len = frag->msg_header.msg_len;
216 if (frag->reassembly == NULL || start > end || end > msg_len) {
221 assert(msg_len > 0);
236 for (i = 0; i < (msg_len >> 3); i++) {
241 if ((msg_len & 7) != 0 &&
242 frag->reassembly[msg_len >> 3] != bit_range(0, msg_len & 7)) {
374 !CBB_add_u24(&cbb, ssl->d1->w_msg_hdr.msg_len) ||
460 frag = dtls1_hm_fragment_new(msg_hdr->msg_len,
479 frag->msg_header.msg_len != msg_hdr->msg_len) {
525 const size_t msg_len = msg_hdr.msg_len;
526 if (frag_off > msg_len || frag_off + frag_len < frag_off ||
527 frag_off + frag_len > msg_len ||
528 msg_len > dtls1_max_handshake_message_len(ssl) ||
549 assert(frag->msg_header.msg_len == msg_len);
558 assert(msg_len > 0);
617 if (frag->msg_header.msg_len > (size_t)max) {
626 if (!BUF_MEM_grow(ssl->init_buf, (size_t)frag->msg_header.msg_len +
631 !CBB_add_u24(&cbb, frag->msg_header.msg_len) ||
634 !CBB_add_u24(&cbb, frag->msg_header.msg_len) ||
635 !CBB_add_bytes(&cbb, frag->fragment, frag->msg_header.msg_len) ||
641 assert(len == (size_t)frag->msg_header.msg_len + DTLS1_HM_HEADER_LENGTH);
648 ssl->s3->tmp.message_size = frag->msg_header.msg_len;
650 ssl->init_num = frag->msg_header.msg_len;
735 frag->msg_header.msg_len + DTLS1_HM_HEADER_LENGTH);
736 ssl->init_num = frag->msg_header.msg_len + DTLS1_HM_HEADER_LENGTH;
739 frag->msg_header.msg_len, frag->msg_header.seq,
805 assert(ssl->d1->w_msg_hdr.msg_len + DTLS1_HM_HEADER_LENGTH ==
808 frag->msg_header.msg_len = ssl->d1->w_msg_hdr.msg_len;
812 frag->msg_header.frag_len = ssl->d1->w_msg_hdr.msg_len;
862 msg_hdr->msg_len = len;
876 n2l3(data, msg_hdr->msg_len);