Lines Matching refs:libctx
31 static OSSL_LIB_CTX *libctx = NULL; variable
151 if (!TEST_ptr(prov = OSSL_PROVIDER_load(libctx, provider_name))) in test_provider_status()
162 if (!TEST_ptr(fetch = EVP_MD_fetch(libctx, "SHA256", NULL))) in test_provider_status()
169 OSSL_SELF_TEST_set_callback(libctx, self_test_on_demand, &self_test_args); in test_provider_status()
175 OSSL_SELF_TEST_set_callback(libctx, self_test_on_demand_fail, &self_test_args); in test_provider_status()
181 if (!TEST_ptr_null(fetch = EVP_MD_fetch(libctx, "SHA256", NULL))) in test_provider_status()
196 if (!TEST_ptr(prov = OSSL_PROVIDER_load(libctx, provider_name))) in test_provider_gettable_params()
224 libctx = OSSL_LIB_CTX_new(); in setup_tests()
225 if (libctx == NULL) in setup_tests()
230 OSSL_SELF_TEST_set_callback(libctx, self_test_on_load, &self_test_args); in setup_tests()
231 if (!OSSL_LIB_CTX_load_config(libctx, config_file)) { in setup_tests()
244 OSSL_LIB_CTX_free(libctx); in cleanup_tests()