Lines Matching full:cache
4 * \brief SSL session cache implementation
45 #define MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES 50 /*!< Maximum entries in cache */
58 * \brief This structure is used for storing cache entries
73 * \brief Cache context
78 int timeout; /*!< cache entry timeout */
86 * \brief Initialize an SSL cache context
88 * \param cache SSL cache context
90 void mbedtls_ssl_cache_init( mbedtls_ssl_cache_context *cache );
93 * \brief Cache get callback implementation
96 * \param data SSL cache context
102 * \brief Cache set callback implementation
105 * \param data SSL cache context
112 * \brief Set the cache timeout
117 * \param cache SSL cache context
118 * \param timeout cache entry timeout in seconds
120 void mbedtls_ssl_cache_set_timeout( mbedtls_ssl_cache_context *cache, int timeout );
124 * \brief Set the maximum number of cache entries
127 * \param cache SSL cache context
128 * \param max cache entry maximum
130 void mbedtls_ssl_cache_set_max_entries( mbedtls_ssl_cache_context *cache, int max );
133 * \brief Free referenced items in a cache context and clear memory
135 * \param cache SSL cache context
137 void mbedtls_ssl_cache_free( mbedtls_ssl_cache_context *cache );