Lines Matching refs:testctx
53 static OSSL_LIB_CTX *testctx = NULL;
322 testctx, testpropq))
375 if (!TEST_FL_ptr(cipher = EVP_CIPHER_fetch(testctx, pcipher, testpropq)))
462 pass_pw, (void *)pass, testctx, testpropq),
536 EVP_PKEY *pkey = EVP_PKCS82PKEY_ex(p8inf, testctx, testpropq);
796 OSSL_PROVIDER *lgcyprov = OSSL_PROVIDER_load(testctx, "legacy");
815 EVP_PKEY *pkey = d2i_PUBKEY_ex(NULL, &datap, data_len, testctx, testpropq);
1328 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(testctx, "", "EC", "P-256"))
1429 if (!test_get_libctx(&testctx, &nullprov, config_file, &deflprov, prov_name))
1434 is_fips_3_0_0 = is_fips && fips_provider_version_eq(testctx, 3, 0, 0);
1436 is_fips_lt_3_5 = is_fips && fips_provider_version_lt(testctx, 3, 5, 0);
1444 if (!OSSL_PROVIDER_add_builtin(testctx, "legacy", ossl_legacy_provider_init))
1455 if (!TEST_ptr(bnctx = BN_CTX_new_ex(testctx))
1722 OSSL_LIB_CTX_free(testctx);