Searched refs:hs_len (Results 1 – 2 of 2) sorted by relevance
2349 const size_t hs_len = cur->len - 12; in mbedtls_ssl_flight_transmit() local2351 const size_t rem_len = hs_len - frag_off; in mbedtls_ssl_flight_transmit()2354 if( ( max_frag_len < 12 ) || ( max_frag_len == 12 && hs_len != 0 ) ) in mbedtls_ssl_flight_transmit()2373 if( frag_off == 0 && cur_hs_frag_len != hs_len ) in mbedtls_ssl_flight_transmit()2522 const size_t hs_len = ssl->out_msglen - 4; in mbedtls_ssl_write_handshake_msg() local2588 ssl->out_msg[1] = MBEDTLS_BYTE_2( hs_len ); in mbedtls_ssl_write_handshake_msg()2589 ssl->out_msg[2] = MBEDTLS_BYTE_1( hs_len ); in mbedtls_ssl_write_handshake_msg()2590 ssl->out_msg[3] = MBEDTLS_BYTE_0( hs_len ); in mbedtls_ssl_write_handshake_msg()2607 hs_len, in mbedtls_ssl_write_handshake_msg()2612 memmove( ssl->out_msg + 12, ssl->out_msg + 4, hs_len ); in mbedtls_ssl_write_handshake_msg()
2430 const size_t hs_len = cur->len - 12; in mbedtls_ssl_flight_transmit() local2432 const size_t rem_len = hs_len - frag_off; in mbedtls_ssl_flight_transmit()2435 if( ( max_frag_len < 12 ) || ( max_frag_len == 12 && hs_len != 0 ) ) in mbedtls_ssl_flight_transmit()2454 if( frag_off == 0 && cur_hs_frag_len != hs_len ) in mbedtls_ssl_flight_transmit()2623 const size_t hs_len = ssl->out_msglen - 4; in mbedtls_ssl_write_handshake_msg_ext() local2681 ssl->out_msg[1] = MBEDTLS_BYTE_2( hs_len ); in mbedtls_ssl_write_handshake_msg_ext()2682 ssl->out_msg[2] = MBEDTLS_BYTE_1( hs_len ); in mbedtls_ssl_write_handshake_msg_ext()2683 ssl->out_msg[3] = MBEDTLS_BYTE_0( hs_len ); in mbedtls_ssl_write_handshake_msg_ext()2700 hs_len, in mbedtls_ssl_write_handshake_msg_ext()2705 memmove( ssl->out_msg + 12, ssl->out_msg + 4, hs_len ); in mbedtls_ssl_write_handshake_msg_ext()