Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/library/
Dssl_cache.c24 void mbedtls_ssl_cache_init(mbedtls_ssl_cache_context *cache) in mbedtls_ssl_cache_init() argument
26 memset(cache, 0, sizeof(mbedtls_ssl_cache_context)); in mbedtls_ssl_cache_init()
28 cache->timeout = MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT; in mbedtls_ssl_cache_init()
29 cache->max_entries = MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES; in mbedtls_ssl_cache_init()
32 mbedtls_mutex_init(&cache->mutex); in mbedtls_ssl_cache_init()
37 static int ssl_cache_find_entry(mbedtls_ssl_cache_context *cache, in ssl_cache_find_entry() argument
48 for (cur = cache->chain; cur != NULL; cur = cur->next) { in ssl_cache_find_entry()
50 if (cache->timeout != 0 && in ssl_cache_find_entry()
51 (int) (t - cur->timestamp) > cache->timeout) { in ssl_cache_find_entry()
80 mbedtls_ssl_cache_context *cache = (mbedtls_ssl_cache_context *) data; in mbedtls_ssl_cache_get() local
[all …]
/openthread-latest/tests/scripts/thread-cert/
Dfind_border_agents.py65 def parse_cache(cache): argument
69 for ptr in cache.get('_meshcop._udp.local.', []):
74 for record in cache.get(ba.alias.lower(), []):
85 for record in cache.get(ba.server_name.lower(), []):
102 cache = zeroconf.cache.cache
105 border_agents = parse_cache(cache)
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dssl_cache.h81 void mbedtls_ssl_cache_init(mbedtls_ssl_cache_context *cache);
150 void mbedtls_ssl_cache_set_timeout(mbedtls_ssl_cache_context *cache, int timeout);
161 static inline int mbedtls_ssl_cache_get_timeout(mbedtls_ssl_cache_context *cache) in mbedtls_ssl_cache_get_timeout() argument
163 return cache->MBEDTLS_PRIVATE(timeout); in mbedtls_ssl_cache_get_timeout()
174 void mbedtls_ssl_cache_set_max_entries(mbedtls_ssl_cache_context *cache, int max);
181 void mbedtls_ssl_cache_free(mbedtls_ssl_cache_context *cache);
/openthread-latest/third_party/mbedtls/repo/programs/ssl/
Dssl_server.c80 mbedtls_ssl_cache_context cache; in main() local
88 mbedtls_ssl_cache_init(&cache); in main()
190 mbedtls_ssl_conf_session_cache(&conf, &cache, in main()
349 mbedtls_ssl_cache_free(&cache); in main()
Ddtls_server.c94 mbedtls_ssl_cache_context cache; in main() local
103 mbedtls_ssl_cache_init(&cache); in main()
210 mbedtls_ssl_conf_session_cache(&conf, &cache, in main()
390 mbedtls_ssl_cache_free(&cache); in main()
Dssl_pthread_server.c294 mbedtls_ssl_cache_context cache; in main() local
302 mbedtls_ssl_cache_init(&cache); in main()
405 mbedtls_ssl_conf_session_cache(&conf, &cache, in main()
469 mbedtls_ssl_cache_free(&cache); in main()
Dssl_server2.c1559 mbedtls_ssl_cache_context cache; in main() local
1650 mbedtls_ssl_cache_init(&cache); in main()
2939 mbedtls_ssl_cache_set_max_entries(&cache, opt.cache_max); in main()
2944 mbedtls_ssl_cache_set_timeout(&cache, opt.cache_timeout); in main()
2948 mbedtls_ssl_conf_session_cache(&conf, &cache, in main()
4176 mbedtls_ssl_cache_remove(&cache, ssl.session->id, ssl.session->id_len); in main()
4206 mbedtls_ssl_cache_free(&cache); in main()
/openthread-latest/tests/toranj/
Dstart.sh180 run cli/test-013-address-cache-parent-switch.py
182 run cli/test-015-clear-addresss-cache-for-sed.py
201 run cli/test-401-srp-server-address-cache-snoop.py
247 run ncp/test-021-address-cache-table.py
264 run ncp/test-038-clear-address-cache-for-sed.py
265 run ncp/test-039-address-cache-table-snoop.py
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Ddocker_env.sh64 --cache-from=${DOCKER_IMAGE_TAG} \
/openthread-latest/third_party/mbedtls/repo/framework/
D.gitignore58 /.cache/clangd/index/
/openthread-latest/third_party/mbedtls/repo/tests/
DDescriptions.txt21 covered by compat.sh: session resumption (using session cache or tickets),
/openthread-latest/third_party/mbedtls/repo/
D.gitignore69 /.cache/clangd/index/
DSECURITY.md54 to. Typical attack vectors include cache timings, memory bus contention and
DREADME.md180 CMake cache. This can be done with the following command using GNU find:
DChangeLog551 some cases involving a missing entry or a full cache.
652 * Add new API mbedtls_ssl_cache_remove for cache entry removal by
679 * Zeroize SSL cache entries when they are freed.
1526 * The getter and setter API of the SSL session cache (used for
2249 fixes a local Lucky 13 cache attack found and reported by Tuba Yavuz,
3252 plaintext of messages under some conditions by using a cache attack
3263 previous entry) by using a cache attack targeting the SSL input record
3928 against side-channel attacks like the cache attack described in
4549 * Add countermeasure against "Lucky 13 strikes back" cache-based attack,
5148 * Add countermeasure against "Lucky 13 strikes back" cache-based attack,
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c72 TEST_CALLOC(opts->cache, 1); in mbedtls_test_init_handshake_options()
73 mbedtls_ssl_cache_init(opts->cache); in mbedtls_test_init_handshake_options()
75 TEST_EQUAL(mbedtls_ssl_cache_get_timeout(opts->cache), in mbedtls_test_init_handshake_options()
87 mbedtls_ssl_cache_free(opts->cache); in mbedtls_test_free_handshake_options()
88 mbedtls_free(opts->cache); in mbedtls_test_free_handshake_options()
845 if (endpoint_type == MBEDTLS_SSL_IS_SERVER && options->cache != NULL) { in mbedtls_test_ssl_endpoint_init()
846 mbedtls_ssl_conf_session_cache(&(ep->conf), options->cache, in mbedtls_test_ssl_endpoint_init()
/openthread-latest/third_party/mbedtls/repo/tests/include/test/
Dssl_helpers.h123 mbedtls_ssl_cache_context *cache; member
/openthread-latest/src/posix/platform/
DFindExampleVendorDeps.cmake67 Vendors modules may configure various cache variables
/openthread-latest/third_party/mbedtls/repo/docs/
D3.0-migration-guide.md900 to configure a custom session cache implementation different
903 Those users will need to modify the API of their session cache
919 onwards, portable session cache implementations must not access fields of
921 find themselves unable to migrate their session cache functionality without
/openthread-latest/doc/
DDoxyfile.in422 # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
423 # cache is used to resolve symbols given their name and scope. Since this can be
425 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
426 # doxygen will become slower. If the cache is too large, memory is wasted. The
427 # cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
428 # is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
429 # symbols. At the end of a run doxygen will report the cache usage and suggest
430 # the optimal cache size from a speed point of view.
/openthread-latest/tools/otci/otci/
Dotci.py2338 cache = {}
2343 cache[Ip6Addr(ip)] = Rloc16(rloc16, 16)
2345 return cache
/openthread-latest/third_party/mbedtls/repo/3rdparty/p256-m/p256-m/
DREADME.md105 such as the cache or branch predictor with arbitrary precision.
/openthread-latest/src/cli/
DREADME.md1168 - Address cache table
1573 Print the EID-to-RLOC cache entries.
1577 fd49:caf4:a29f:dc0e:97fc:69dd:3c16:df7d 2000 cache canEvict=1 transTime=0 eid=fd49:caf4:a29f:dc0e:9…
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function3098 srv_pattern.pattern = cli_pattern.pattern = "cache did not store session";
3143 /* Make sure that the cache did not store the session */
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md1241 …d an operation on the key. The core may keep information about the key in cache, and successive ca…