Searched refs:in_buf_len (Results 1 – 4 of 4) sorted by relevance
1801 size_t in_buf_len = ssl->in_buf_len; in ssl_decompress_buf() local1803 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in ssl_decompress_buf() local1822 ssl->transform_in->ctx_inflate.avail_out = in_buf_len - header_bytes; in ssl_decompress_buf()1831 ssl->in_msglen = in_buf_len - in ssl_decompress_buf()1866 size_t in_buf_len = ssl->in_buf_len; in mbedtls_ssl_fetch_input() local1868 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in mbedtls_ssl_fetch_input() local1880 if( nb_want > in_buf_len - (size_t)( ssl->in_hdr - ssl->in_buf ) ) in mbedtls_ssl_fetch_input()1960 len = in_buf_len - ( ssl->in_hdr - ssl->in_buf ); in mbedtls_ssl_fetch_input()4435 size_t in_buf_len = ssl->in_buf_len; in ssl_load_buffered_record() local4437 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in ssl_load_buffered_record() local[all …]
282 ssl->in_buf_len > in_buf_new_len && ssl->in_left < in_buf_new_len : in handle_buffer_resizing()283 ssl->in_buf_len < in_buf_new_len ) in handle_buffer_resizing()285 if( resize_buffer( &ssl->in_buf, in_buf_new_len, &ssl->in_buf_len ) != 0 ) in handle_buffer_resizing()3919 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in mbedtls_ssl_setup() local3932 ssl->in_buf_len = in_buf_len; in mbedtls_ssl_setup()3934 ssl->in_buf = mbedtls_calloc( 1, in_buf_len ); in mbedtls_ssl_setup()3937 MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc(%" MBEDTLS_PRINTF_SIZET " bytes) failed", in_buf_len ) ); in mbedtls_ssl_setup()3971 ssl->in_buf_len = 0; in mbedtls_ssl_setup()4003 size_t in_buf_len = ssl->in_buf_len; in mbedtls_ssl_session_reset_int() local4006 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in mbedtls_ssl_session_reset_int() local[all …]
1846 TEST_ASSERT( client.ssl.in_buf_len == MBEDTLS_SSL_IN_BUFFER_LEN );1848 TEST_ASSERT( server.ssl.in_buf_len == MBEDTLS_SSL_IN_BUFFER_LEN );1889 TEST_ASSERT( client.ssl.in_buf_len ==1893 TEST_ASSERT( server.ssl.in_buf_len ==1944 TEST_ASSERT( server.ssl.in_buf_len == MBEDTLS_SSL_IN_BUFFER_LEN );1956 TEST_ASSERT( server.ssl.in_buf_len ==2008 TEST_ASSERT( client.ssl.in_buf_len == MBEDTLS_SSL_IN_BUFFER_LEN );2030 TEST_ASSERT( client.ssl.in_buf_len ==2034 TEST_ASSERT( server.ssl.in_buf_len ==
1353 size_t in_buf_len; /*!< length of input buffer */ member