Lines Matching refs:prov
62 ossl_provider_free(encoder->base.prov); in OSSL_ENCODER_free()
129 static void *get_encoder_from_store(void *store, const OSSL_PROVIDER **prov, in get_encoder_from_store() argument
159 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_encoder_from_store()
165 const OSSL_PROVIDER *prov, in put_encoder_in_store() argument
193 return ossl_method_store_add(store, prov, id, propdef, method, in put_encoder_in_store()
200 OSSL_PROVIDER *prov) in encoder_from_algorithm() argument
204 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in encoder_from_algorithm()
288 if (prov != NULL && !ossl_provider_up_ref(prov)) { in encoder_from_algorithm()
293 encoder->base.prov = prov; in encoder_from_algorithm()
304 OSSL_PROVIDER *prov, void *data) in construct_encoder() argument
313 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_encoder()
320 method = encoder_from_algorithm(id, algodef, prov); in construct_encoder()
384 OSSL_PROVIDER *prov = NULL; in inner_ossl_encoder_fetch() local
391 &prov, 0 /* !force_cache */, in inner_ossl_encoder_fetch()
401 ossl_method_store_cache_set(store, prov, id, propq, method, in inner_ossl_encoder_fetch()
449 int ossl_encoder_store_remove_all_provided(const OSSL_PROVIDER *prov) in ossl_encoder_store_remove_all_provided() argument
451 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in ossl_encoder_store_remove_all_provided()
455 return ossl_method_store_remove_all_provided(store, prov); in ossl_encoder_store_remove_all_provided()
470 return encoder->base.prov; in OSSL_ENCODER_get0_provider()
516 if (encoder->base.prov != NULL) { in OSSL_ENCODER_is_a()
517 OSSL_LIB_CTX *libctx = ossl_provider_libctx(encoder->base.prov); in OSSL_ENCODER_is_a()
564 if (encoder->base.prov != NULL) { in OSSL_ENCODER_names_do_all()
565 OSSL_LIB_CTX *libctx = ossl_provider_libctx(encoder->base.prov); in OSSL_ENCODER_names_do_all()