Home
last modified time | relevance | path

Searched refs:DTLS1_HM_HEADER_LENGTH (Results 1 – 7 of 7) sorted by relevance

/third_party/openssl/ssl/statem/
Dstatem_dtls.c129 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 …]
/third_party/openssl/test/
Dbad_dtls_test.c45 #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()
Ddtlstest.c33 0, DTLS1_HM_HEADER_LENGTH + DUMMY_CERT_STATUS_LEN - 2,
Dssltestlib.c179 } else if (rem < DTLS1_HM_HEADER_LENGTH in dump_data()
180 || reclen < DTLS1_HM_HEADER_LENGTH) { in dump_data()
/third_party/openssl/include/openssl/
Ddtls1.h37 # define DTLS1_HM_HEADER_LENGTH 12 macro
/third_party/openssl/ssl/
Dd1_lib.c629 fraglen + DTLS1_HM_HEADER_LENGTH, s, in DTLSv1_listen()
777 &wbuf[DTLS1_RT_HEADER_LENGTH + DTLS1_HM_HEADER_LENGTH - 3], in DTLSv1_listen()
/third_party/openssl/ssl/record/
Drec_layer_d1.c661 || SSL3_RECORD_get_length(rr) < DTLS1_HM_HEADER_LENGTH) { in dtls1_read_bytes()