Searched refs:DTLS1_HM_HEADER_LENGTH (Results 1 – 5 of 5) sorted by relevance
336 ssl->init_off += DTLS1_HM_HEADER_LENGTH; in dtls1_do_handshake_write()337 ssl->init_num -= DTLS1_HM_HEADER_LENGTH; in dtls1_do_handshake_write()339 assert(ssl->init_off >= DTLS1_HM_HEADER_LENGTH); in dtls1_do_handshake_write()344 if (dtls1_max_record_size(ssl) < DTLS1_HM_HEADER_LENGTH + 1) { in dtls1_do_handshake_write()356 if (todo < DTLS1_HM_HEADER_LENGTH + 1) { in dtls1_do_handshake_write()362 todo -= DTLS1_HM_HEADER_LENGTH; in dtls1_do_handshake_write()376 !CBB_add_u24(&cbb, ssl->init_off - DTLS1_HM_HEADER_LENGTH) || in dtls1_do_handshake_write()494 size_t max_len = DTLS1_HM_HEADER_LENGTH + SSL3_RT_MAX_ENCRYPTED_LENGTH; in dtls1_max_handshake_message_len()505 uint8_t header[DTLS1_HM_HEADER_LENGTH]; in dtls1_process_fragment()507 DTLS1_HM_HEADER_LENGTH, 0); in dtls1_process_fragment()[all …]
313 uint8_t serialised_header[DTLS1_HM_HEADER_LENGTH]; in dtls1_set_handshake_header()321 ssl->init_num = (int)len + DTLS1_HM_HEADER_LENGTH; in dtls1_set_handshake_header()336 ssl3_update_handshake_hash(ssl, message + DTLS1_HM_HEADER_LENGTH, len); in dtls1_set_handshake_header()
75 DTLS1_HM_HEADER_LENGTH,
424 if (rr->length < DTLS1_HM_HEADER_LENGTH) { in dtls1_read_bytes()
882 #define DTLS1_HM_HEADER_LENGTH 12 macro