Lines Matching defs:libctx
20 static OSSL_LIB_CTX *libctx = NULL;
22 /* Fetch SIGNATURE method using a libctx and propq */
58 if (!TEST_ptr(fake_rsa = fake_rsa_start(libctx)))
61 if (!TEST_ptr(deflt = OSSL_PROVIDER_load(libctx, "default")))
65 if (!TEST_true(fetch_sig(libctx, "RSA", "provider=fake-rsa", fake_rsa))
66 || !TEST_true(fetch_sig(libctx, "RSA", "?provider=fake-rsa", fake_rsa)))
70 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA",
89 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey,
128 if (!TEST_ptr(deflt = OSSL_PROVIDER_load(libctx, "default")))
132 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", NULL)))
151 if (!TEST_ptr(fake_rsa = fake_rsa_start(libctx)))
154 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA",
189 if (!TEST_ptr(fake_rsa = fake_rsa_start(libctx)))
192 if (!TEST_ptr(deflt = OSSL_PROVIDER_load(libctx, "default")))
197 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA",
212 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA",
253 if (!TEST_ptr(deflt = OSSL_PROVIDER_load(libctx, "default")))
256 if (!TEST_ptr(fake_rsa = fake_rsa_start(libctx)))
259 if (!TEST_ptr(loader = OSSL_STORE_LOADER_fetch(libctx, "fake_rsa",
265 if (!TEST_ptr(ctx = OSSL_STORE_open_ex("fake_rsa:test", libctx, propq,
293 libctx = OSSL_LIB_CTX_new();
294 if (libctx == NULL)
307 OSSL_LIB_CTX_free(libctx);