Home
last modified time | relevance | path

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

12

/lib/mbedtls/external/mbedtls/library/
A Dssl_cache.c32 mbedtls_mutex_init(&cache->mutex); in mbedtls_ssl_cache_init()
50 if (cache->timeout != 0 && in ssl_cache_find_entry()
193 cache->chain = cur; in ssl_cache_pick_writing_slot()
213 if (cache->chain == NULL) { in ssl_cache_pick_writing_slot()
218 old = cache->chain; in ssl_cache_pick_writing_slot()
219 cache->chain = old->next; in ssl_cache_pick_writing_slot()
344 if (entry == cache->chain) { in mbedtls_ssl_cache_remove()
377 cache->timeout = timeout; in mbedtls_ssl_cache_set_timeout()
387 cache->max_entries = max; in mbedtls_ssl_cache_set_max_entries()
394 cur = cache->chain; in mbedtls_ssl_cache_free()
[all …]
/lib/mbedtls/external/mbedtls/include/mbedtls/
A 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);
/lib/mbedtls/external/mbedtls/programs/ssl/
A 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()
A 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()
A 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()
A 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()
/lib/
A Dbch.c773 rep = bch->cache; in gf_poly_mod()
860 gf_poly_logrep(bch, f, bch->cache); in compute_trace_bk_mod()
875 gf_poly_mod(bch, z, f, bch->cache); in compute_trace_bk_mod()
971 gf_poly_logrep(bch, p, bch->cache); in chien_search()
972 bch->cache[p->deg] = 0; in chien_search()
978 m = bch->cache[j]; in chien_search()
1354 bch->cache = bch_alloc(2*t*sizeof(*bch->cache), &err); in init_bch()
1402 kfree(bch->cache); in free_bch()
/lib/mbedtls/external/mbedtls/
A D.travis.yml8 cache: ccache
A D.gitignore69 /.cache/clangd/index/
A DSECURITY.md54 to. Typical attack vectors include cache timings, memory bus contention and
A DREADME.md180 CMake cache. This can be done with the following command using GNU find:
A 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,
5386 * The SSL session cache module (ssl_cache) now also retains peer_cert
[all …]
/lib/mbedtls/external/mbedtls/tests/scripts/
A Ddocker_env.sh64 --cache-from=${DOCKER_IMAGE_TAG} \
/lib/mbedtls/external/mbedtls/tests/
A DDescriptions.txt21 covered by compat.sh: session resumption (using session cache or tickets),
/lib/lwip/lwip/src/apps/altcp_tls/
A Daltcp_tls_mbedtls.c114 struct mbedtls_ssl_cache_context cache; member
857 …mbedtls_ssl_conf_session_cache(&conf->conf, &conf->cache, mbedtls_ssl_cache_get, mbedtls_ssl_cache… in altcp_tls_create_config()
858 mbedtls_ssl_cache_set_timeout(&conf->cache, ALTCP_MBEDTLS_SESSION_CACHE_TIMEOUT_SECONDS); in altcp_tls_create_config()
859 mbedtls_ssl_cache_set_max_entries(&conf->cache, ALTCP_MBEDTLS_SESSION_CACHE_SIZE); in altcp_tls_create_config()
/lib/mbedtls/external/mbedtls/tests/src/test_helpers/
A 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()
/lib/mbedtls/external/mbedtls/tests/include/test/
A Dssl_helpers.h123 mbedtls_ssl_cache_context *cache; member
/lib/efi_loader/
A Defi_net.c1397 goto cache; in efi_net_dp_from_dev()
1407 cache: in efi_net_dp_from_dev()
/lib/mbedtls/external/mbedtls/docs/
A 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
/lib/lwip/lwip/doc/doxygen/
A Dlwip.Doxyfile413 # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
414 # cache is used to resolve symbols given their name and scope. Since this can be
416 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
417 # doxygen will become slower. If the cache is too large, memory is wasted. The
418 # cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
419 # is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
420 # symbols. At the end of a run doxygen will report the cache usage and suggest
421 # the optimal cache size from a speed point of view.
A Dlwip.Doxyfile.cmake.in413 # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
414 # cache is used to resolve symbols given their name and scope. Since this can be
416 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
417 # doxygen will become slower. If the cache is too large, memory is wasted. The
418 # cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
419 # is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
420 # symbols. At the end of a run doxygen will report the cache usage and suggest
421 # the optimal cache size from a speed point of view.
/lib/lzma/
A Dlzma.txt157 Memory speed has no big meaning. But if your CPU has small data cache,
/lib/lwip/lwip/
A DCHANGELOG198 * netifapi: Add thread safe ARP cache APIs (task #14724)
1120 * dns.c: fixed bug #42987 lwIP is vulnerable to DNS cache poisoning due to
1446 * netif.c, etharp.h/.c: fixed bug #34684: Clear the arp table cache when
3260 * etharp.c: Introduced fast one-entry-cache to speed up ARP lookup when sending
3606 to cache ARP table indices with each pcb instead of single-entry cache for
4132 querying an address will see it appear in the cache (DHCP could
4251 * Pass-by ARP requests do now update the cache.
/lib/mbedtls/external/mbedtls/3rdparty/p256-m/p256-m/
A DREADME.md105 such as the cache or branch predictor with arbitrary precision.
/lib/mbedtls/external/mbedtls/tests/suites/
A 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 */

Completed in 83 milliseconds

12