Lines Matching refs:libctx
206 OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new_child(handle, in); in dummy_provider_init() local
209 *provctx = (void *)libctx; in dummy_provider_init()
216 if (RAND_bytes_ex(libctx, buf, sizeof(buf), 0) <= 0) in dummy_provider_init()
232 OSSL_LIB_CTX *libctx = OSSL_LIB_CTX_new(); in fetch_test() local
242 if (!TEST_ptr(libctx)) in fetch_test()
245 if (!TEST_true(OSSL_PROVIDER_add_builtin(libctx, "dummy-prov", in fetch_test()
247 || !TEST_ptr(nullprov = OSSL_PROVIDER_load(libctx, "default")) in fetch_test()
248 || !TEST_ptr(dummyprov = OSSL_PROVIDER_load(libctx, "dummy-prov"))) in fetch_test()
253 decoder = OSSL_DECODER_fetch(libctx, "DUMMY", in fetch_test()
259 encoder = OSSL_ENCODER_fetch(libctx, "DUMMY", in fetch_test()
265 loader = OSSL_STORE_LOADER_fetch(libctx, "DUMMY", in fetch_test()
271 if (!TEST_true(RAND_set_DRBG_type(libctx, "DUMMY", in fetch_test()
274 || !TEST_int_ge(RAND_bytes_ex(libctx, buf, sizeof(buf), 0), 1)) in fetch_test()
288 OSSL_LIB_CTX_free(libctx); in fetch_test()