• Home
  • Raw
  • Download

Lines Matching refs:OSSL_LIB_CTX

48 int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx)  in ossl_lib_ctx_write_lock()
53 int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_read_lock()
58 int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_unlock()
63 int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_child()
72 static int context_init(OSSL_LIB_CTX *ctx) in context_init()
117 static int context_deinit(OSSL_LIB_CTX *ctx) in context_deinit()
147 static OSSL_LIB_CTX default_context_int;
164 static OSSL_LIB_CTX *get_thread_default_context(void) in get_thread_default_context()
172 static OSSL_LIB_CTX *get_default_context(void) in get_default_context()
174 OSSL_LIB_CTX *current_defctx = get_thread_default_context(); in get_default_context()
181 static int set_default_context(OSSL_LIB_CTX *defctx) in set_default_context()
190 OSSL_LIB_CTX *OSSL_LIB_CTX_new(void) in OSSL_LIB_CTX_new()
192 OSSL_LIB_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx)); in OSSL_LIB_CTX_new()
202 OSSL_LIB_CTX *OSSL_LIB_CTX_new_from_dispatch(const OSSL_CORE_HANDLE *handle, in OSSL_LIB_CTX_new_from_dispatch()
205 OSSL_LIB_CTX *ctx = OSSL_LIB_CTX_new(); in OSSL_LIB_CTX_new_from_dispatch()
218 OSSL_LIB_CTX *OSSL_LIB_CTX_new_child(const OSSL_CORE_HANDLE *handle, in OSSL_LIB_CTX_new_child()
221 OSSL_LIB_CTX *ctx = OSSL_LIB_CTX_new_from_dispatch(handle, in); in OSSL_LIB_CTX_new_child()
235 int OSSL_LIB_CTX_load_config(OSSL_LIB_CTX *ctx, const char *config_file) in OSSL_LIB_CTX_load_config()
241 void OSSL_LIB_CTX_free(OSSL_LIB_CTX *ctx) in OSSL_LIB_CTX_free()
255 OSSL_LIB_CTX *OSSL_LIB_CTX_get0_global_default(void) in OSSL_LIB_CTX_get0_global_default()
263 OSSL_LIB_CTX *OSSL_LIB_CTX_set0_default(OSSL_LIB_CTX *libctx) in OSSL_LIB_CTX_set0_default()
265 OSSL_LIB_CTX *current_defctx; in OSSL_LIB_CTX_set0_default()
291 OSSL_LIB_CTX *ossl_lib_ctx_get_concrete(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_get_concrete()
300 int ossl_lib_ctx_is_default(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_default()
309 int ossl_lib_ctx_is_global_default(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_global_default()
323 OSSL_LIB_CTX *ctx = ossl_crypto_ex_data_get_ossl_lib_ctx(ad); in ossl_lib_ctx_generic_new()
346 static int ossl_lib_ctx_init_index(OSSL_LIB_CTX *ctx, int static_index, in ossl_lib_ctx_init_index()
367 void *ossl_lib_ctx_get_data(OSSL_LIB_CTX *ctx, int index, in ossl_lib_ctx_get_data()
441 OSSL_EX_DATA_GLOBAL *ossl_lib_ctx_get_ex_data_global(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_get_ex_data_global()
449 int ossl_lib_ctx_run_once(OSSL_LIB_CTX *ctx, unsigned int idx, in ossl_lib_ctx_run_once()
484 int ossl_lib_ctx_onfree(OSSL_LIB_CTX *ctx, ossl_lib_ctx_onfree_fn onfreefn) in ossl_lib_ctx_onfree()
499 const char *ossl_lib_ctx_get_descriptor(OSSL_LIB_CTX *libctx) in ossl_lib_ctx_get_descriptor()