Home
last modified time | relevance | path

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

123

/openssl/crypto/x509/
H A Dpcy_cache.c37 if (cache->data == NULL) { in policy_cache_create()
78 cache->data = NULL; in policy_cache_create()
94 cache = OPENSSL_malloc(sizeof(*cache)); in policy_cache_new()
95 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 …]
H A Dpcy_tree.c102 const X509_POLICY_CACHE *cache; in tree_init() local
157 cache = ossl_policy_cache_set(x); in tree_init()
164 if ((cache->explicit_skip >= 0) in tree_init()
212 cache = ossl_policy_cache_set(x); in tree_init()
217 if (!cache->anyPolicy) in tree_init()
231 if ((cache->any_skip >= 0) && (cache->any_skip < any_skip)) in tree_init()
232 any_skip = cache->any_skip; in tree_init()
240 if ((cache->map_skip >= 0) && (cache->map_skip < map_skip)) in tree_init()
241 map_skip = cache->map_skip; in tree_init()
604 const X509_POLICY_CACHE *cache; in tree_evaluate() local
[all …]
H 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()
H A Dpcy_local.h147 X509_POLICY_DATA *ossl_policy_cache_find_data(const X509_POLICY_CACHE *cache,
153 void ossl_policy_cache_free(X509_POLICY_CACHE *cache);
/openssl/crypto/encode_decode/
H A Ddecoder_pkey.c633 hash ^= cache->selection; in decoder_cache_entry_hash()
684 DECODER_CACHE *cache = OPENSSL_malloc(sizeof(*cache)); in ossl_decoder_cache_new() local
686 if (cache == NULL) in ossl_decoder_cache_new()
691 OPENSSL_free(cache); in ossl_decoder_cache_new()
698 OPENSSL_free(cache); in ossl_decoder_cache_new()
702 return cache; in ossl_decoder_cache_new()
712 OPENSSL_free(cache); in ossl_decoder_cache_free()
721 DECODER_CACHE *cache in ossl_decoder_cache_flush() local
724 if (cache == NULL) in ossl_decoder_cache_flush()
752 DECODER_CACHE *cache in OSSL_DECODER_CTX_new_for_pkey() local
[all …]
/openssl/Configurations/
H A Dgentemplate.pm67 our %cache;
205 return "" if $cache{$src};
235 $cache{$src} = 1;
248 $cache{$target} = 1;
291 $cache{$obj} = 1;
445 $cache{$lib} = 1;
482 $cache{$module} = 1;
511 $cache{$bin} = 1;
524 $cache{$script} = 1;
535 $cache{$dir} = 1;
[all …]
/openssl/doc/man3/
H 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
H 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 …]
H 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.
H A DSSL_CTX_flush_sessions.pod21 SSL_CTX_flush_sessions_ex() causes a run through the session cache of
29 If enabled, the internal session cache will collect all sessions established
32 removed from the cache to save resources. This can either be done
42 cache. When a session is found and removed, the remove_session_cb is however
43 called to synchronize with the external cache (see
H 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.
H 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
H A DX509_STORE_get0_param.pod28 cache. The cache contains B<X509> and B<X509_CRL> objects. The caller is
32 X509 object cache. The cache contains B<X509> and B<X509_CRL> objects. The
H 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
H 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, or 0 otherwise.
H A DSSL_SESSION_free.pod25 The copy is not owned by any cache that B<src> may have been in.
41 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
H 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
H 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
H A DSSL_set_session.pod27 session cache (if used). A session is considered open, if L<SSL_shutdown(3)> was
33 SSL_SESSION objects keep internal link information about the session cache
34 list, when being inserted into one SSL_CTX object's session cache.
H A Dd2i_SSL_SESSION.pod23 SSL_SESSION objects keep internal link information about the session cache
24 list, when being inserted into one SSL_CTX object's session cache.
/openssl/doc/designs/quic-design/
H A Dconnection-id-cache.md16 The cache will be implemented as a double ended queue as part of the
132 * Allocate and free a remote connection ID cache
140 * Add a remote connection ID to the cache
154 const QUIC_REMOTE_CONN_ID_CACHE *cache,
162 QUIC_REMOTE_CONN_ID_CACHE *cache, uint64_t seq_no);
169 QUIC_REMOTE_CONN_ID_CACHE *cache, uint64_t seq_no);
178 * Allocate and free a local connection ID cache
202 const QUIC_LOCAL_CONN_ID_CACHE *cache,
247 int ossl_route_table_add_route(QUIC_ROUTE_TABLE *cache,
258 const QUIC_ROUTE_TABLE *cache,
[all …]
/openssl/crypto/property/
H A Dproperty.c61 LHASH_OF(QUERY) *cache;
91 LHASH_OF(QUERY) *cache;
220 lh_QUERY_doall(alg->cache, &impl_cache_free); in impl_cache_flush_alg()
221 lh_QUERY_flush(alg->cache); in impl_cache_flush_alg()
230 lh_QUERY_doall(a->cache, &impl_cache_free); in alg_cleanup()
231 lh_QUERY_free(a->cache); in alg_cleanup()
662 state->cache = alg->cache; in impl_cache_flush_one_alg()
663 lh_QUERY_set_down_load(alg->cache, 0); in impl_cache_flush_one_alg()
666 lh_QUERY_set_down_load(alg->cache, orig_down_load); in impl_cache_flush_one_alg()
707 r = lh_QUERY_retrieve(alg->cache, &elem); in ossl_method_store_cache_get()
[all …]
H 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/doc/internal/man7/
H 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/doc/internal/man3/
H A Devp_keymgmt_util_export_to_provider.pod44 It maintains a cache of provider key references in I<pk> to keep track
51 I<keymgmt> in I<pk>'s cache of provided keys for operations.
55 clear the cache of operation key references. If required the lock must already
63 information cache.
70 constraint the information requested on export. It is also used in the cache
81 operation cache slot. If I<keymgmt> is NULL, or if there is no slot

Completed in 60 milliseconds

123