Home
last modified time | relevance | path

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

123

/openssl-master/crypto/x509/
A Dpcy_cache.c37 if (cache->data == NULL) { in policy_cache_create()
76 cache->data = NULL; in policy_cache_create()
92 cache = OPENSSL_malloc(sizeof(*cache)); in policy_cache_new()
93 if (cache == NULL) { in policy_cache_new()
97 cache->anyPolicy = NULL; in policy_cache_new()
98 cache->data = NULL; in policy_cache_new()
99 cache->any_skip = -1; in policy_cache_new()
101 cache->map_skip = -1; in policy_cache_new()
103 x->policy_cache = cache; in policy_cache_new()
180 if (!cache) in ossl_policy_cache_free()
[all …]
A Dpcy_tree.c89 const X509_POLICY_CACHE *cache; in tree_init() local
142 cache = ossl_policy_cache_set(x); in tree_init()
149 if ((cache->explicit_skip >= 0) in tree_init()
197 cache = ossl_policy_cache_set(x); in tree_init()
202 if (!cache->anyPolicy) in tree_init()
216 if ((cache->any_skip >= 0) && (cache->any_skip < any_skip)) in tree_init()
217 any_skip = cache->any_skip; in tree_init()
225 if ((cache->map_skip >= 0) && (cache->map_skip < map_skip)) in tree_init()
226 map_skip = cache->map_skip; in tree_init()
579 const X509_POLICY_CACHE *cache; in tree_evaluate() local
[all …]
A Dpcy_map.c26 X509_POLICY_CACHE *cache = x->policy_cache; in ossl_policy_cache_set_mapping() local
43 data = ossl_policy_cache_find_data(cache, map->issuerDomainPolicy); in ossl_policy_cache_set_mapping()
45 if (data == NULL && !cache->anyPolicy) in ossl_policy_cache_set_mapping()
51 cache->anyPolicy->flags in ossl_policy_cache_set_mapping()
55 data->qualifier_set = cache->anyPolicy->qualifier_set; in ossl_policy_cache_set_mapping()
61 if (!sk_X509_POLICY_DATA_push(cache->data, data)) { in ossl_policy_cache_set_mapping()
A Dpcy_local.h142 X509_POLICY_DATA *ossl_policy_cache_find_data(const X509_POLICY_CACHE *cache,
148 void ossl_policy_cache_free(X509_POLICY_CACHE *cache);
/openssl-master/Configurations/
A Dgentemplate.pm66 our %cache;
204 return "" if $cache{$src};
228 $cache{$src} = 1;
241 $cache{$target} = 1;
284 $cache{$obj} = 1;
438 $cache{$lib} = 1;
475 $cache{$module} = 1;
504 $cache{$bin} = 1;
517 $cache{$script} = 1;
528 $cache{$dir} = 1;
[all …]
/openssl-master/doc/man3/
A DSSL_CTX_sess_set_cache_size.pod5 SSL_CTX_sess_set_cache_size, SSL_CTX_sess_get_cache_size - manipulate session cache size
16 SSL_CTX_sess_set_cache_size() sets the size of the internal session cache
20 SSL_CTX_sess_get_cache_size() returns the currently valid session cache size.
24 The internal session cache size is SSL_SESSION_CACHE_MAX_SIZE_DEFAULT,
29 If adding the session makes the cache exceed its size, then unused
30 sessions are dropped from the end of the cache.
35 If the size of the session cache is reduced and more sessions are already
36 in the session cache, old session will be removed at the next time a
A DSSL_CTX_set_session_cache_mode.pod19 SSL_CTX_get_session_cache_mode() returns the currently used cache mode.
42 The following session cache modes and modifiers are available:
52 Client sessions are added to the session cache. As there is no reliable way
61 Server sessions are added to the session cache. When a client proposes a
63 the internal session cache (unless SSL_SESS_CACHE_NO_INTERNAL_LOOKUP is set),
73 Normally the session cache is checked for expired sessions every
84 automatically look up sessions in the internal cache, even if sessions are
86 this flag guarantees that all lookups are directed to the external cache.
101 prevents these additions to the internal cache as well.
120 SSL_CTX_set_session_cache_mode() returns the previously set cache mode.
[all …]
A DSSL_CTX_sess_number.pod5 …L_CTX_sess_misses, SSL_CTX_sess_timeouts, SSL_CTX_sess_cache_full - obtain session cache statistics
27 session cache.
50 retrieved from internal or external cache is counted as a hit.
53 from the external session cache in server mode.
56 that were not found in the internal session cache in server mode.
59 and either found in the internal or external session cache in server mode,
64 because the maximum session cache size was exceeded.
A DSSL_CTX_flush_sessions.pod15 SSL_CTX_flush_sessions() causes a run through the session cache of
20 If enabled, the internal session cache will collect all sessions established
23 removed from the cache to save resources. This can either be done
33 cache. When a session is found and removed, the remove_session_cb is however
34 called to synchronize with the external cache (see
A DSSL_CTX_add_session.pod5 SSL_CTX_add_session, SSL_CTX_remove_session - manipulate session cache
27 When adding a new session to the internal session cache, it is examined
36 flag then the internal cache will not be populated automatically by new
38 cache will be searched automatically for session-resume requests (the
54 session was not found in the cache.
A DSSL_CTX_sessions.pod5 SSL_CTX_sessions - access internal session cache
16 internal session cache for B<ctx>.
20 The sessions in the internal session cache are kept in an
A DSSL_CTX_free.pod19 applicable: the session cache, the list of ciphers, the list of Client CAs,
28 session cache. This implies, that all corresponding sessions from an
29 external session cache are removed as well. If this is not desired, the user
A DSSL_CTX_set_generate_session_id.pod30 (of length B<id_len>) is already contained in the internal session cache
73 SSL_has_matching_session_id() will only query the internal session cache,
75 handshake is completed, it is not immediately added to the cache. If
76 another thread is using the same internal session cache, a race condition
78 Collisions can also occur when using an external session cache, since
79 the external cache is not tested with SSL_has_matching_session_id()
91 same id is already in the cache.
A DSSL_CTX_sess_set_get_cb.pod41 could not be found in the internal session cache (see
53 session cache is realized via callback functions. Inside these callback
64 internal cache and the reference count released. If the callback returns B<1>,
66 application-maintained "external session cache"), and is responsible for
83 from the internal cache. This can happen when the session is removed because
85 for all sessions in the internal session cache when
A DOPENSSL_instrument_bus.pod20 bus-bound a 'flush cache line' instruction is used between probes. In
38 benchmark, either because oscillator counter or 'flush cache line' is
39 not available on current platform. For reference, on x86 'flush cache
A DSSL_set_session.pod26 session cache (if used). A session is considered open, if L<SSL_shutdown(3)> was
32 SSL_SESSION objects keep internal link information about the session cache
33 list, when being inserted into one SSL_CTX object's session cache.
A DSSL_SESSION_free.pod41 linked into its session cache. SSL objects may be using the SSL_SESSION object;
49 session cache and the cache list is processed during a
A Dd2i_SSL_SESSION.pod20 SSL_SESSION objects keep internal link information about the session cache
21 list, when being inserted into one SSL_CTX object's session cache.
A DX509_STORE_get0_param.pod28 X509 object cache. The cache contains B<X509> and B<X509_CRL> objects. The
A DSSL_free.pod31 session cache. If the session is considered bad, because
35 from the session cache as required by RFC2246.
A DSSL_read_early_data.pod297 cache (see L<SSL_CTX_set_session_cache_mode(3)>). When replay protection is
299 selected (see L<SSL_CTX_set_options(3)>). Sessions will be added to the cache
301 session, OpenSSL will check for its presence in the internal cache. If it exists
302 then the resumption is allowed and the session is removed from the cache. If it
306 Note that some applications may maintain an external cache of sessions (see
308 responsibility to ensure that any sessions in the external cache are also
309 populated in the internal cache and that once removed from the internal cache
310 they are similarly removed from the external cache. Failing to do this could
312 OpenSSL will lock the internal cache while a session is removed but that lock is
315 been removed from the internal cache but is still available in the external
[all …]
/openssl-master/crypto/property/
A Dproperty.c59 LHASH_OF(QUERY) *cache;
71 LHASH_OF(QUERY) *cache;
206 lh_QUERY_doall(a->cache, &impl_cache_free); in alg_cleanup()
207 lh_QUERY_free(a->cache); in alg_cleanup()
493 lh_QUERY_doall(alg->cache, &impl_cache_free); in impl_cache_flush_alg()
496 lh_QUERY_free(alg->cache); in impl_cache_flush_alg()
500 lh_QUERY_flush(alg->cache); in impl_cache_flush_alg()
510 store->nelem -= lh_QUERY_num_items(alg->cache); in ossl_method_cache_flush()
574 state->cache = alg->cache; in impl_cache_flush_one_alg()
610 r = lh_QUERY_retrieve(alg->cache, &elem); in ossl_method_store_cache_get()
[all …]
A DREADME.md45 * A cache for property definitions is also viable, if only implementation
47 maintained separately. This cache would be a hash table, indexed by
51 * A query cache is desirable. This would be a hash table keyed by the
53 the chosen algorithm. When a provider is loaded or unloaded, this cache
54 must be invalidated. The cache will also be invalidated when the global
66 contains the string cache which converts property
87 against a denial of service attack. The cache cannot be permitted to grow
92 contains a cache that maps property definition strings to
/openssl-master/doc/internal/man7/
A DEVP_PKEY.pod24 explained further down, in L</Export cache for provider operations>),
93 in L</Export cache for provider operations>.
104 =head2 Export cache for provider operations
116 perform such an export, so it maintains a cache of such exports in the
117 B<EVP_PKEY>. Each cache entry has two items, a pointer to the
120 I<This cache is often referred to as the "operation key cache", and
125 The export to the operation key cache can be performed independent of
144 Exporting a key to the operation cache involves the following:
154 If the dirty count has changed, the export cache is cleared.
158 Check if there's an entry in the export cache with the same
[all …]
/openssl-master/doc/internal/man3/
A Devp_keymgmt_util_export_to_provider.pod42 It maintains a cache of provider key references in I<pk> to keep track
49 I<keymgmt> in I<pk>'s cache of provided keys for operations.
53 clear the cache of operation key references. If I<locking> is set to 1 then
62 information cache.
75 operation cache slot. If I<keymgmt> is NULL, or if there is no slot

Completed in 33 milliseconds

123