Searched refs:DTLS1_HM_HEADER_LENGTH (Results 1 – 7 of 7) sorted by relevance
129 s->d1->w_msg_hdr.msg_len + DTLS1_HM_HEADER_LENGTH)) in dtls1_do_write()160 if (s->init_off <= DTLS1_HM_HEADER_LENGTH) { in dtls1_do_write()175 s->init_off -= DTLS1_HM_HEADER_LENGTH; in dtls1_do_write()176 s->init_num += DTLS1_HM_HEADER_LENGTH; in dtls1_do_write()195 if (curr_mtu <= DTLS1_HM_HEADER_LENGTH) { in dtls1_do_write()205 if (s->d1->mtu > used_len + DTLS1_HM_HEADER_LENGTH) { in dtls1_do_write()228 if (len < DTLS1_HM_HEADER_LENGTH) { in dtls1_do_write()235 dtls1_fix_message_header(s, frag_off, len - DTLS1_HM_HEADER_LENGTH); in dtls1_do_write()292 p -= DTLS1_HM_HEADER_LENGTH; in dtls1_do_write()295 p += DTLS1_HM_HEADER_LENGTH; in dtls1_do_write()[all …]
45 #define MAC_OFFSET (DTLS1_RT_HEADER_LENGTH + DTLS1_HM_HEADER_LENGTH)141 if (!PACKET_forward(&pkt, DTLS1_HM_HEADER_LENGTH - 1)) in validate_client_hello()347 static unsigned char finished_msg[DTLS1_HM_HEADER_LENGTH + in send_finished()371 finished_msg + DTLS1_HM_HEADER_LENGTH, TLS1_FINISH_MAC_LENGTH); in send_finished()
33 0, DTLS1_HM_HEADER_LENGTH + DUMMY_CERT_STATUS_LEN - 2,
179 } else if (rem < DTLS1_HM_HEADER_LENGTH in dump_data()180 || reclen < DTLS1_HM_HEADER_LENGTH) { in dump_data()
37 # define DTLS1_HM_HEADER_LENGTH 12 macro
629 fraglen + DTLS1_HM_HEADER_LENGTH, s, in DTLSv1_listen()777 &wbuf[DTLS1_RT_HEADER_LENGTH + DTLS1_HM_HEADER_LENGTH - 3], in DTLSv1_listen()
661 || SSL3_RECORD_get_length(rr) < DTLS1_HM_HEADER_LENGTH) { in dtls1_read_bytes()