Lines Matching refs:frag_off
2042 const size_t frag_off = p - ( cur->p + 12 ); in mbedtls_ssl_flight_transmit() local
2043 const size_t rem_len = hs_len - frag_off; in mbedtls_ssl_flight_transmit()
2065 if( frag_off == 0 && cur_hs_frag_len != hs_len ) in mbedtls_ssl_flight_transmit()
2077 ssl->out_msg[6] = MBEDTLS_BYTE_2( frag_off ); in mbedtls_ssl_flight_transmit()
2078 ssl->out_msg[7] = MBEDTLS_BYTE_1( frag_off ); in mbedtls_ssl_flight_transmit()
2079 ssl->out_msg[8] = MBEDTLS_BYTE_0( frag_off ); in mbedtls_ssl_flight_transmit()
2548 uint32_t msg_len, frag_off, frag_len; in ssl_check_hs_header() local
2551 frag_off = ssl_get_hs_frag_off( ssl ); in ssl_check_hs_header()
2554 if( frag_off > msg_len ) in ssl_check_hs_header()
2557 if( frag_len > msg_len - frag_off ) in ssl_check_hs_header()
3929 size_t frag_len, frag_off; in ssl_buffer_message() local
3938 frag_off = ssl_get_hs_frag_off( ssl ); in ssl_buffer_message()
3943 frag_off, frag_len ) ); in ssl_buffer_message()
3944 memcpy( msg + frag_off, ssl->in_msg + 12, frag_len ); in ssl_buffer_message()
3949 ssl_bitmask_set( bitmask, frag_off, frag_len ); in ssl_buffer_message()