Lines Matching refs:libctx

69     OSSL_LIB_CTX *libctx;  member
90 methdata->tmp_store = ossl_method_store_new(methdata->libctx); in get_tmp_encoder_store()
101 static OSSL_METHOD_STORE *get_encoder_store(OSSL_LIB_CTX *libctx) in get_encoder_store() argument
103 return ossl_lib_ctx_get_data(libctx, OSSL_LIB_CTX_ENCODER_STORE_INDEX); in get_encoder_store()
111 && (store = get_encoder_store(methdata->libctx)) == NULL) in reserve_encoder_store()
122 && (store = get_encoder_store(methdata->libctx)) == NULL) in unreserve_encoder_store()
142 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in get_encoder_from_store()
156 && (store = get_encoder_store(methdata->libctx)) == NULL) in get_encoder_from_store()
186 if ((namemap = ossl_namemap_stored(methdata->libctx)) == NULL in put_encoder_in_store()
190 if (store == NULL && (store = get_encoder_store(methdata->libctx)) == NULL) in put_encoder_in_store()
204 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in encoder_from_algorithm() local
215 = ossl_parse_property(libctx, algodef->property_definition)) == NULL) { in encoder_from_algorithm()
313 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_encoder() local
314 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in construct_encoder()
354 OSSL_METHOD_STORE *store = get_encoder_store(methdata->libctx); in inner_ossl_encoder_fetch()
355 OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx); in inner_ossl_encoder_fetch()
390 if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_ENCODER, in inner_ossl_encoder_fetch()
419 ossl_lib_ctx_get_descriptor(methdata->libctx), in inner_ossl_encoder_fetch()
427 OSSL_ENCODER *OSSL_ENCODER_fetch(OSSL_LIB_CTX *libctx, const char *name, in OSSL_ENCODER_fetch() argument
433 methdata.libctx = libctx; in OSSL_ENCODER_fetch()
440 int ossl_encoder_store_cache_flush(OSSL_LIB_CTX *libctx) in ossl_encoder_store_cache_flush() argument
442 OSSL_METHOD_STORE *store = get_encoder_store(libctx); in ossl_encoder_store_cache_flush()
451 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in ossl_encoder_store_remove_all_provided() local
452 OSSL_METHOD_STORE *store = get_encoder_store(libctx); in ossl_encoder_store_remove_all_provided()
517 OSSL_LIB_CTX *libctx = ossl_provider_libctx(encoder->base.prov); in OSSL_ENCODER_is_a() local
518 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in OSSL_ENCODER_is_a()
537 void OSSL_ENCODER_do_all_provided(OSSL_LIB_CTX *libctx, in OSSL_ENCODER_do_all_provided() argument
545 methdata.libctx = libctx; in OSSL_ENCODER_do_all_provided()
553 ossl_method_store_do_all(get_encoder_store(libctx), &do_one, &data); in OSSL_ENCODER_do_all_provided()
565 OSSL_LIB_CTX *libctx = ossl_provider_libctx(encoder->base.prov); in OSSL_ENCODER_names_do_all() local
566 OSSL_NAMEMAP *namemap = ossl_namemap_stored(libctx); in OSSL_ENCODER_names_do_all()