Home
last modified time | relevance | path

Searched refs:in_buf_len (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/library/
Dssl_tls.c278 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() local
3264 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() local
3338 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in ssl_session_reset_msg_layer()
[all …]
Dssl_msg.c1568 size_t in_buf_len = ssl->in_buf_len; in mbedtls_ssl_fetch_input() local
1570 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in mbedtls_ssl_fetch_input() local
1582 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() local
4099 size_t in_buf_len = MBEDTLS_SSL_IN_BUFFER_LEN; in ssl_load_buffered_record() local
4130 if( rec_len > in_buf_len - (size_t)( ssl->in_hdr - ssl->in_buf ) ) in ssl_load_buffered_record()
/third_party/mbedtls/tests/suites/
Dtest_suite_ssl.function1838 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 ==
/third_party/mbedtls/include/mbedtls/
Dssl.h1549 size_t MBEDTLS_PRIVATE(in_buf_len); /*!< length of input buffer */