Home
last modified time | relevance | path

Searched full:cache (Results 1 – 25 of 34) sorted by relevance

12

/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dssl_cache.h4 * \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
[all …]
Dssl.h600 /** Callback to retrieve a session from the cache */
602 /** Callback to store a session into the cache */
604 void *p_cache; /*!< context for cache callbacks */
1461 * \brief Set the session cache callbacks (server-side only)
1465 * The session cache has the responsibility to check for stale
1469 * connection shutdown, so do not cache the pointer! Either set
1478 * if it is properly present in cache entry.
1484 * should create a cache entry for future retrieval based on
/net-tools-3.4.0/mbedtls-2.4.0/library/
Dssl_cache.c2 * SSL session cache implementation
46 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()
[all …]
Dcipher.c326 * If there is not enough data for a full block, cache it. in mbedtls_cipher_update()
366 * Cache final, incomplete block in mbedtls_cipher_update()
/net-tools-3.4.0/python-websocket-server/
D.gitignore2 .cache
/net-tools-3.4.0/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.c208 " cache_max=%%d default: cache default (50)\n" \
209 " cache_timeout=%%d default: cache default (1d)\n"
390 int cache_max; /* max number of session cache entries */
391 int cache_timeout; /* expiration delay of session cache entries */
820 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-3.4.0/
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.shippable.yml10 cache: true
Davahi-daemon.conf15 #cache-entries-max=4096
D.gitignore23 libcoap/autom4te.cache/
/net-tools-3.4.0/mbedtls-2.4.0/tests/
DDescriptions.txt21 covered by compat.sh: session resumption (using session cache or tickets),
Dssl-opt.sh15 # (session resumption from cache or ticket, renego, etc).
1045 -S "session successfully restored from cache" \
1050 run_test "Session resume using tickets: cache disabled" \
1059 -S "session successfully restored from cache" \
1073 -S "session successfully restored from cache" \
1095 -S "session successfully restored from cache" \
1099 # Tests for Session Resume based on session-ID and cache
1101 run_test "Session resume using cache: tickets enabled on client" \
1110 -s "session successfully restored from cache" \
1115 run_test "Session resume using cache: tickets enabled on server" \
[all …]
/net-tools-3.4.0/mbedtls-2.4.0/
D.travis.yml6 cache: ccache
DCMakeLists.txt56CACHE STRING "Choose the type of build: None Debug Release Coverage ASan ASanDbg MemSan MemSanDbg …
/net-tools-3.4.0/libcoap/
D.gitignore9 autom4te.cache/
Dautogen.sh42 .libs autom4te.cache/
/net-tools-3.4.0/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'
1522 # INCLUDES, setting the cache variable VAR accordingly.
1599 # the include files in INCLUDES and setting the cache variable VAR
[all …]
DMakefile.in132 autom4te.cache/ config.h config.log config.status configure \
/net-tools-3.4.0/mbedtls-2.4.0/tests/scripts/
Dall.sh15 # configuration. After this script has been run, the CMake cache will be lost
63 # remove built files as well as the cmake cache/config
/net-tools-3.4.0/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-3.4.0/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-3.4.0/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.

12