Home
last modified time | relevance | path

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

/crypto/x509/
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 …]
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()
219 if (!cache->anyPolicy) in tree_init()
233 if ((cache->any_skip >= 0) && (cache->any_skip < any_skip)) in tree_init()
234 any_skip = cache->any_skip; in tree_init()
242 if ((cache->map_skip >= 0) && (cache->map_skip < map_skip)) in tree_init()
243 map_skip = cache->map_skip; in tree_init()
606 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.h147 X509_POLICY_DATA *ossl_policy_cache_find_data(const X509_POLICY_CACHE *cache,
153 void ossl_policy_cache_free(X509_POLICY_CACHE *cache);
A Dx509_local.h116 int cache; /* if true, stash any hits */ member
A Dx_x509.c34 extern void ossl_policy_cache_free(X509_POLICY_CACHE *cache);
A Dx509_lu.c192 ret->cache = 1; in X509_STORE_new()
/crypto/encode_decode/
A Ddecoder_pkey.c701 hash ^= cache->selection; in decoder_cache_entry_hash()
752 DECODER_CACHE *cache = OPENSSL_malloc(sizeof(*cache)); in ossl_decoder_cache_new() local
754 if (cache == NULL) in ossl_decoder_cache_new()
759 OPENSSL_free(cache); in ossl_decoder_cache_new()
766 OPENSSL_free(cache); in ossl_decoder_cache_new()
770 return cache; in ossl_decoder_cache_new()
780 OPENSSL_free(cache); in ossl_decoder_cache_free()
789 DECODER_CACHE *cache in ossl_decoder_cache_flush() local
792 if (cache == NULL) in ossl_decoder_cache_flush()
821 DECODER_CACHE *cache in OSSL_DECODER_CTX_new_for_pkey() local
[all …]
/crypto/property/
A Dproperty.c62 LHASH_OF(QUERY) *cache;
92 LHASH_OF(QUERY) *cache;
221 lh_QUERY_doall(alg->cache, &impl_cache_free); in impl_cache_flush_alg()
222 lh_QUERY_flush(alg->cache); in impl_cache_flush_alg()
231 lh_QUERY_doall(a->cache, &impl_cache_free); in alg_cleanup()
232 lh_QUERY_free(a->cache); in alg_cleanup()
817 state->cache = alg->cache; in impl_cache_flush_one_alg()
818 lh_QUERY_set_down_load(alg->cache, 0); in impl_cache_flush_one_alg()
821 lh_QUERY_set_down_load(alg->cache, orig_down_load); in impl_cache_flush_one_alg()
862 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
/crypto/evp/
A Dkeymgmt_lib.c311 pk->cache.size = size; in evp_keymgmt_util_cache_keyinfo()
312 pk->cache.bits = bits; in evp_keymgmt_util_cache_keyinfo()
313 pk->cache.security_bits = security_bits; in evp_keymgmt_util_cache_keyinfo()
314 pk->cache.security_category = security_category; in evp_keymgmt_util_cache_keyinfo()
A Dp_lib.c66 size = pkey->cache.bits; in EVP_PKEY_get_bits()
82 size = pkey->cache.security_bits; in EVP_PKEY_get_security_bits()
95 return pkey != NULL ? pkey->cache.security_category : -1; in EVP_PKEY_get_security_category()
1863 size = pkey->cache.size; in EVP_PKEY_get_size()
/crypto/srp/
A Dsrp_vfy.c370 SRP_gN_cache *cache = sk_SRP_gN_cache_value(gN_cache, i); in SRP_gN_place_bn() local
371 if (strcmp(cache->b64_bn, ch) == 0) in SRP_gN_place_bn()
372 return cache->bn; in SRP_gN_place_bn()
/crypto/engine/
A DREADME.md146 and will either return (and cache) a NULL ENGINE pointer or will return a
148 case it will also cache an extra functional reference to the ENGINE as a
/crypto/err/
A Dopenssl.txt728 EVP_R_CACHE_CONSTANTS_FAILED:225:cache constants failed

Completed in 45 milliseconds