Lines Matching refs:headerlen
146 size_t maxalign = 0, headerlen; in tls_setup_write_buffer() local
154 headerlen = DTLS1_RT_HEADER_LENGTH + 1; in tls_setup_write_buffer()
156 headerlen = SSL3_RT_HEADER_LENGTH; in tls_setup_write_buffer()
166 defltlen = maxalign + headerlen + rl->eivlen + rl->max_frag_len in tls_setup_write_buffer()
178 defltlen += headerlen + maxalign + SSL3_RT_SEND_MAX_ENCRYPTED_OVERHEAD; in tls_setup_write_buffer()
232 size_t len, maxalign = 0, headerlen; in tls_setup_read_buffer() local
238 headerlen = DTLS1_RT_HEADER_LENGTH; in tls_setup_read_buffer()
240 headerlen = SSL3_RT_HEADER_LENGTH; in tls_setup_read_buffer()
248 + SSL3_RT_MAX_ENCRYPTED_OVERHEAD + headerlen + maxalign; in tls_setup_read_buffer()
1687 size_t headerlen = rl->isdtls ? DTLS1_RT_HEADER_LENGTH in tls_post_encryption_processing_default() local
1725 recordstart = WPACKET_get_curr(thispkt) - len - headerlen; in tls_post_encryption_processing_default()
1727 headerlen, rl->cbarg); in tls_post_encryption_processing_default()
1742 TLS_RL_RECORD_add_length(thiswr, headerlen); in tls_post_encryption_processing_default()