Searched refs:in_buf_len (Results 1 – 4 of 4) sorted by relevance
278 ssl->in_buf_len > in_buf_new_len && ssl->in_left < in_buf_new_len : in handle_buffer_resizing()279 ssl->in_buf_len < in_buf_new_len ) in handle_buffer_resizing()281 if( resize_buffer( &ssl->in_buf, in_buf_new_len, &ssl->in_buf_len ) != 0 ) in handle_buffer_resizing()3248 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in mbedtls_ssl_setup() local3264 ssl->in_buf_len = in_buf_len; in mbedtls_ssl_setup()3266 ssl->in_buf = mbedtls_calloc( 1, in_buf_len ); in mbedtls_ssl_setup()3269 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc(%" MBEDTLS_PRINTF_SIZET " bytes) failed", in_buf_len ) ); in mbedtls_ssl_setup()3303 ssl->in_buf_len = 0; in mbedtls_ssl_setup()3335 size_t in_buf_len = ssl->in_buf_len; in ssl_session_reset_msg_layer() local3338 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in ssl_session_reset_msg_layer()[all …]
1568 size_t in_buf_len = ssl->in_buf_len; in mbedtls_ssl_fetch_input() local1570 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in mbedtls_ssl_fetch_input() local1582 if( nb_want > in_buf_len - (size_t)( ssl->in_hdr - ssl->in_buf ) ) in mbedtls_ssl_fetch_input()1662 len = in_buf_len - ( ssl->in_hdr - ssl->in_buf ); in mbedtls_ssl_fetch_input()4097 size_t in_buf_len = ssl->in_buf_len; in ssl_load_buffered_record() local4099 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in ssl_load_buffered_record() local4130 if( rec_len > in_buf_len - (size_t)( ssl->in_hdr - ssl->in_buf ) ) in ssl_load_buffered_record()
1838 TEST_ASSERT( client.ssl.in_buf_len == MBEDTLS_SSL_IN_BUFFER_LEN );1840 TEST_ASSERT( server.ssl.in_buf_len == MBEDTLS_SSL_IN_BUFFER_LEN );1878 TEST_ASSERT( client.ssl.in_buf_len ==1882 TEST_ASSERT( server.ssl.in_buf_len ==1932 TEST_ASSERT( server.ssl.in_buf_len == MBEDTLS_SSL_IN_BUFFER_LEN );1944 TEST_ASSERT( server.ssl.in_buf_len ==1996 TEST_ASSERT( client.ssl.in_buf_len == MBEDTLS_SSL_IN_BUFFER_LEN );2018 TEST_ASSERT( client.ssl.in_buf_len ==2022 TEST_ASSERT( server.ssl.in_buf_len ==
1549 size_t MBEDTLS_PRIVATE(in_buf_len); /*!< length of input buffer */