Lines Matching refs:testctx
52 static OSSL_LIB_CTX *testctx = NULL; variable
322 testctx, testpropq)) in decode_EVP_PKEY_prov()
375 if (!TEST_FL_ptr(cipher = EVP_CIPHER_fetch(testctx, pcipher, testpropq))) in encode_EVP_PKEY_legacy_PEM()
461 pass_pw, (void *)pass, testctx, testpropq), 0) in encode_EVP_PKEY_PVK()
535 EVP_PKEY *pkey = EVP_PKCS82PKEY_ex(p8inf, testctx, testpropq); in check_unprotected_PKCS8_DER()
797 OSSL_PROVIDER *lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); in test_protected_via_PVK()
816 EVP_PKEY *pkey = d2i_PUBKEY_ex(NULL, &datap, data_len, testctx, testpropq); in check_public_DER()
1339 if (!test_get_libctx(&testctx, &nullprov, config_file, &deflprov, prov_name)) in setup_tests()
1344 is_fips_3_0_0 = is_fips && fips_provider_version_eq(testctx, 3, 0, 0); in setup_tests()
1352 if (!OSSL_PROVIDER_add_builtin(testctx, "legacy", ossl_legacy_provider_init)) in setup_tests()
1363 if (!TEST_ptr(bnctx = BN_CTX_new_ex(testctx)) in setup_tests()
1528 OSSL_LIB_CTX_free(testctx); in cleanup_tests()