Lines Matching refs:libctx
69 OSSL_LIB_CTX *libctx; member
90 methdata->tmp_store = ossl_method_store_new(methdata->libctx); in get_tmp_decoder_store()
101 static OSSL_METHOD_STORE *get_decoder_store(OSSL_LIB_CTX *libctx) in get_decoder_store() argument
103 return ossl_lib_ctx_get_data(libctx, OSSL_LIB_CTX_DECODER_STORE_INDEX); in get_decoder_store()
111 && (store = get_decoder_store(methdata->libctx)) == NULL) in reserve_decoder_store()
122 && (store = get_decoder_store(methdata->libctx)) == NULL) in unreserve_decoder_store()
142 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in get_decoder_from_store()
156 && (store = get_decoder_store(methdata->libctx)) == NULL) in get_decoder_from_store()
186 if ((namemap = ossl_namemap_stored(methdata->libctx)) == NULL in put_decoder_in_store()
190 if (store == NULL && (store = get_decoder_store(methdata->libctx)) == NULL) in put_decoder_in_store()
204 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in ossl_decoder_from_algorithm() local
215 = ossl_parse_property(libctx, algodef->property_definition)) == NULL) { in ossl_decoder_from_algorithm()
303 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_decoder() local
304 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in construct_decoder()
344 OSSL_METHOD_STORE *store = get_decoder_store(methdata->libctx); in inner_ossl_decoder_fetch()
345 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in inner_ossl_decoder_fetch()
380 if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_DECODER, in inner_ossl_decoder_fetch()
410 ossl_lib_ctx_get_descriptor(methdata->libctx), in inner_ossl_decoder_fetch()
418 OSSL_DECODER *OSSL_DECODER_fetch(OSSL_LIB_CTX *libctx, const char *name, in OSSL_DECODER_fetch() argument
424 methdata.libctx = libctx; in OSSL_DECODER_fetch()
431 int ossl_decoder_store_cache_flush(OSSL_LIB_CTX *libctx) in ossl_decoder_store_cache_flush() argument
433 OSSL_METHOD_STORE *store = get_decoder_store(libctx); in ossl_decoder_store_cache_flush()
442 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in ossl_decoder_store_remove_all_provided() local
443 OSSL_METHOD_STORE *store = get_decoder_store(libctx); in ossl_decoder_store_remove_all_provided()
508 OSSL_LIB_CTX *libctx = ossl_provider_libctx(decoder->base.prov); in OSSL_DECODER_is_a() local
509 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in OSSL_DECODER_is_a()
518 OSSL_LIB_CTX *libctx = ossl_provider_libctx(decoder->base.prov); in resolve_name() local
519 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in resolve_name()
546 void OSSL_DECODER_do_all_provided(OSSL_LIB_CTX *libctx, in OSSL_DECODER_do_all_provided() argument
554 methdata.libctx = libctx; in OSSL_DECODER_do_all_provided()
562 ossl_method_store_do_all(get_decoder_store(libctx), &do_one, &data); in OSSL_DECODER_do_all_provided()
574 OSSL_LIB_CTX *libctx = ossl_provider_libctx(decoder->base.prov); in OSSL_DECODER_names_do_all() local
575 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in OSSL_DECODER_names_do_all()