Lines Matching refs:store

38     /* We want evp_method_store to be cleaned up before the provider store */
74 static void dealloc_tmp_evp_method_store(void *store)
76 if (store != NULL)
77 ossl_method_store_free(store);
86 static int reserve_evp_method_store(void *store, void *data)
90 if (store == NULL
91 && (store = get_evp_method_store(methdata->libctx)) == NULL)
94 return ossl_method_lock_store(store);
97 static int unreserve_evp_method_store(void *store, void *data)
101 if (store == NULL
102 && (store = get_evp_method_store(methdata->libctx)) == NULL)
105 return ossl_method_unlock_store(store);
109 * To identify the method in the EVP method store, we mix the name identity
140 static void *get_evp_method_from_store(void *store, const OSSL_PROVIDER **prov,
168 if (store == NULL
169 && (store = get_evp_method_store(methdata->libctx)) == NULL)
172 if (!ossl_method_store_fetch(store, meth_id, methdata->propquery, prov,
178 static int put_evp_method_in_store(void *store, void *method,
206 if (store == NULL
207 && (store = get_evp_method_store(methdata->libctx)) == NULL)
210 return ossl_method_store_add(store, prov, meth_id, propdef, method,
270 OSSL_METHOD_STORE *store = get_evp_method_store(methdata->libctx);
277 if (store == NULL || namemap == NULL) {
325 || !ossl_method_store_cache_get(store, prov, meth_id, propq, &method)) {
357 ossl_method_store_cache_set(store, prov, meth_id, propq,
458 OSSL_METHOD_STORE *store = get_evp_method_store(libctx);
460 if (store != NULL)
461 return ossl_method_store_cache_flush_all(store);
468 OSSL_METHOD_STORE *store = get_evp_method_store(libctx);
470 if (store != NULL)
471 return ossl_method_store_remove_all_provided(store, prov);
480 OSSL_METHOD_STORE *store = get_evp_method_store(libctx);
483 if (plp != NULL && store != NULL) {
517 if (store != NULL)
518 return ossl_method_store_cache_flush_all(store);