Home
last modified time | relevance | path

Searched refs:TLS_HEADER_LENGTH (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c60 #define TLS_HEADER_LENGTH 5 macro
674 if (mlen == TLS_HEADER_LENGTH + plen) in ktls_tcp_payload_length()
682 if (mlen > TLS_HEADER_LENGTH + plen - m_tls->m_epg_trllen) in ktls_tcp_payload_length()
683 mlen = TLS_HEADER_LENGTH + plen - m_tls->m_epg_trllen; in ktls_tcp_payload_length()
691 mlen > TLS_HEADER_LENGTH) { in ktls_tcp_payload_length()
692 mlen = TLS_HEADER_LENGTH + rounddown(mlen - TLS_HEADER_LENGTH, in ktls_tcp_payload_length()
698 __func__, tlsp->tid, mlen, TLS_HEADER_LENGTH + plen); in ktls_tcp_payload_length()
722 MPASS(mlen < TLS_HEADER_LENGTH + plen); in ktls_payload_offset()
736 (plen - TLS_HEADER_LENGTH - m_tls->m_epg_trllen) - 1); in ktls_payload_offset()
790 plen = TLS_HEADER_LENGTH + ntohs(hdr->tls_length) - m_tls->m_epg_trllen; in ktls_wr_len()
[all …]
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tls.h44 #define TLS_HEADER_LENGTH 5 macro