Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 19 of 19) sorted by relevance

/net-tools-2.7.6/mbedtls-2.4.0/library/
Dssl_cache.c46 void mbedtls_ssl_cache_init( mbedtls_ssl_cache_context *cache ) in mbedtls_ssl_cache_init() argument
48 memset( cache, 0, sizeof( mbedtls_ssl_cache_context ) ); in mbedtls_ssl_cache_init()
50 cache->timeout = MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT; in mbedtls_ssl_cache_init()
51 cache->max_entries = MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES; in mbedtls_ssl_cache_init()
54 mbedtls_mutex_init( &cache->mutex ); in mbedtls_ssl_cache_init()
64 mbedtls_ssl_cache_context *cache = (mbedtls_ssl_cache_context *) data; in mbedtls_ssl_cache_get() local
68 if( mbedtls_mutex_lock( &cache->mutex ) != 0 ) in mbedtls_ssl_cache_get()
72 cur = cache->chain; in mbedtls_ssl_cache_get()
81 if( cache->timeout != 0 && in mbedtls_ssl_cache_get()
82 (int) ( t - entry->timestamp ) > cache->timeout ) in mbedtls_ssl_cache_get()
[all …]
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Dssl_cache.h90 void mbedtls_ssl_cache_init( mbedtls_ssl_cache_context *cache );
120 void mbedtls_ssl_cache_set_timeout( mbedtls_ssl_cache_context *cache, int timeout );
130 void mbedtls_ssl_cache_set_max_entries( mbedtls_ssl_cache_context *cache, int max );
137 void mbedtls_ssl_cache_free( mbedtls_ssl_cache_context *cache );
/net-tools-2.7.6/mbedtls-2.4.0/programs/ssl/
Dssl_server.c107 mbedtls_ssl_cache_context cache; in main() local
115 mbedtls_ssl_cache_init( &cache ); in main()
212 mbedtls_ssl_conf_session_cache( &conf, &cache, in main()
386 mbedtls_ssl_cache_free( &cache ); in main()
Ddtls_server.c110 mbedtls_ssl_cache_context cache; in main() local
119 mbedtls_ssl_cache_init( &cache ); in main()
216 mbedtls_ssl_conf_session_cache( &conf, &cache, in main()
406 mbedtls_ssl_cache_free( &cache ); in main()
Dssl_pthread_server.c331 mbedtls_ssl_cache_context cache; in main() local
339 mbedtls_ssl_cache_init( &cache ); in main()
436 mbedtls_ssl_conf_session_cache( &conf, &cache, in main()
504 mbedtls_ssl_cache_free( &cache ); in main()
Dssl_server2.c820 mbedtls_ssl_cache_context cache; in main() local
862 mbedtls_ssl_cache_init( &cache ); in main()
1656 mbedtls_ssl_cache_set_max_entries( &cache, opt.cache_max ); in main()
1659 mbedtls_ssl_cache_set_timeout( &cache, opt.cache_timeout ); in main()
1661 mbedtls_ssl_conf_session_cache( &conf, &cache, in main()
2307 mbedtls_ssl_cache_free( &cache ); in main()
/net-tools-2.7.6/
Ddtls-server.c121 mbedtls_ssl_cache_context cache; in main() local
171 mbedtls_ssl_cache_init(&cache); in main()
253 mbedtls_ssl_conf_session_cache(&conf, &cache, in main()
443 mbedtls_ssl_cache_free(&cache); in main()
D.gitignore23 libcoap/autom4te.cache/
/net-tools-2.7.6/python-websocket-server/
D.gitignore2 .cache
/net-tools-2.7.6/tinydtls-0.8.2/
Dconfigure781 -cache-file | --cache-file | --cache-fil | --cache-fi \
782 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
785 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
788 --config-cache | -C)
789 cache_file=config.cache ;;
1253 --cache-file=FILE cache test results in FILE [disabled]
1254 -C, --config-cache alias for \`--cache-file=config.cache'
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2132 $as_echo "$as_me: loading cache $cache_file" >&6;}
[all …]
DMakefile.in132 autom4te.cache/ config.h config.log config.status configure \
/net-tools-2.7.6/mbedtls-2.4.0/tests/
DDescriptions.txt21 covered by compat.sh: session resumption (using session cache or tickets),
/net-tools-2.7.6/libcoap/
D.gitignore9 autom4te.cache/
/net-tools-2.7.6/tinydtls-0.8.2/doc/
DDoxyfile.in275 # The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
277 # When the cache is full, less often used symbols will be written to disk.
279 # probably good enough. For larger projects a too small cache size can cause
282 # If the system has enough physical memory increasing the cache will improve the
285 # memory usage. The cache size is given by this formula:
287 # corresponding to a cache size of 2^16 = 65536 symbols
/net-tools-2.7.6/mbedtls-2.4.0/doxygen/
Dmbedtls.doxyfile344 # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
345 # cache is used to resolve symbols given their name and scope. Since this can
347 # the code, doxygen keeps a cache of pre-resolved symbols. If the cache is too
348 # small doxygen will become slower. If the cache is too large, memory is wasted.
349 # The cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid
350 # range is 0..9, the default is 0, corresponding to a cache size of 2^16 = 65536
/net-tools-2.7.6/libcoap/doc/
DDoxyfile.in387 # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
388 # cache is used to resolve symbols given their name and scope. Since this can be
390 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
391 # doxygen will become slower. If the cache is too large, memory is wasted. The
392 # cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
393 # is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
394 # symbols. At the end of a run doxygen will report the cache usage and suggest
395 # the optimal cache size from a speed point of view.
/net-tools-2.7.6/mbedtls-2.4.0/
DREADME.md125 …ompiler or its options after you already ran CMake, you need to clear its cache first, e.g. (using…
DChangeLog517 * Add countermeasure against "Lucky 13 strikes back" cache-based attack,
1116 * Add countermeasure against "Lucky 13 strikes back" cache-based attack,
1354 * The SSL session cache module (ssl_cache) now also retains peer_cert
1443 * Added simple SSL session cache implementation
/net-tools-2.7.6/tinydtls-0.8.2/sha2/
DREADME120 the cache, but I'm not sure). Your mileage may vary.