Lines Matching refs:cache

102     const X509_POLICY_CACHE *cache;  in tree_init()  local
157 cache = ossl_policy_cache_set(x); in tree_init()
159 if ((ret & X509_PCY_TREE_VALID) && cache->data == NULL) in tree_init()
164 if ((cache->explicit_skip >= 0) in tree_init()
165 && (cache->explicit_skip < explicit_policy)) in tree_init()
166 explicit_policy = cache->explicit_skip; 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()
287 const X509_POLICY_CACHE *cache, in tree_link_nodes() argument
292 for (i = 0; i < sk_X509_POLICY_DATA_num(cache->data); i++) { in tree_link_nodes()
293 X509_POLICY_DATA *data = sk_X509_POLICY_DATA_value(cache->data, i); in tree_link_nodes()
309 const X509_POLICY_CACHE *cache, in tree_add_unmatched() argument
325 data->qualifier_set = cache->anyPolicy->qualifier_set; in tree_add_unmatched()
338 const X509_POLICY_CACHE *cache, in tree_link_unmatched() argument
349 if (!tree_add_unmatched(curr, cache, NULL, node, tree)) in tree_link_unmatched()
362 if (!tree_add_unmatched(curr, cache, oid, node, tree)) in tree_link_unmatched()
374 const X509_POLICY_CACHE *cache, in tree_link_any() argument
384 if (!tree_link_unmatched(curr, cache, node, tree)) in tree_link_any()
389 ossl_policy_level_add_node(curr, cache->anyPolicy, in tree_link_any()
604 const X509_POLICY_CACHE *cache; in tree_evaluate() local
607 cache = ossl_policy_cache_set(curr->cert); in tree_evaluate()
608 if (!tree_link_nodes(curr, cache, tree)) in tree_evaluate()
612 && !tree_link_any(curr, cache, tree)) in tree_evaluate()