Home
last modified time | relevance | path

Searched refs:testctx (Results 1 - 6 of 6) sorted by relevance

/third_party/openssl/test/
H A Devp_extra_test.c40 static OSSL_LIB_CTX *testctx = NULL; variable
593 testctx, testpropq); in load_example_key()
656 pkey = EVP_PKEY_new_raw_private_key_ex(testctx, "HMAC", in load_example_hmac_key()
699 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, keytype, testpropq))) in make_key_fromdata()
732 testctx, NULL); in test_selection()
1095 if (!TEST_true(EVP_DigestSignInit_ex(ctx, NULL, NULL, testctx, in test_EC_priv_only_legacy()
1155 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, NULL); in test_EVP_PKEY_sign()
1203 else if (!TEST_ptr(type = EVP_CIPHER_fetch(testctx, "AES-256-CBC", in test_EVP_Enveloped()
1519 if (!TEST_ptr(sha256 = EVP_MD_fetch(testctx, "sha256", testpropq)) in test_EVP_Digest()
1520 || !TEST_ptr(shake256 = EVP_MD_fetch(testctx, "shake25 in test_EVP_Digest()
[all...]
H A Dendecode_test.c48 static OSSL_LIB_CTX *testctx = NULL; variable
306 testctx, testpropq)) in decode_EVP_PKEY_prov()
359 if (!TEST_FL_ptr(cipher = EVP_CIPHER_fetch(testctx, pcipher, testpropq))) in encode_EVP_PKEY_legacy_PEM()
445 pass_pw, (void *)pass, testctx, testpropq), 0) in encode_EVP_PKEY_PVK()
519 EVP_PKEY *pkey = EVP_PKCS82PKEY_ex(p8inf, testctx, testpropq); in check_unprotected_PKCS8_DER()
781 OSSL_PROVIDER *lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); in test_protected_via_PVK()
800 EVP_PKEY *pkey = d2i_PUBKEY_ex(NULL, &datap, data_len, testctx, testpropq); in check_public_DER()
1319 if (!test_get_libctx(&testctx, &nullprov, config_file, &deflprov, prov_name)) in setup_tests()
1324 is_fips_3_0_0 = fips_provider_version_eq(testctx, 3, 0, 0); in setup_tests()
1335 if (!TEST_ptr(bnctx = BN_CTX_new_ex(testctx)) in setup_tests()
[all...]
H A Dpkcs12_format_test.c26 static OSSL_LIB_CTX *testctx = NULL; variable
839 testctx = OSSL_LIB_CTX_new(); in setup_tests()
840 if (!TEST_ptr(testctx)) in setup_tests()
847 deflprov = OSSL_PROVIDER_load(testctx, "default"); in setup_tests()
850 lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); in setup_tests()
852 PKCS12_helper_set_libctx(testctx); in setup_tests()
894 OSSL_LIB_CTX_free(testctx); in cleanup_tests()
H A Dsslapitest.c3131 int testctx; in test_set_sigalgs() local
3137 testctx = ((size_t)idx < OSSL_NELEM(testsigalgs)); in test_set_sigalgs()
3138 curr = testctx ? &testsigalgs[idx] in test_set_sigalgs()
3148 if (testctx) { in test_set_sigalgs()
3173 if (!testctx) { in test_set_sigalgs()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemStorageBufferTests.cpp205 StorageBufferTestCase (tcu::TestContext& testctx, in StorageBufferTestCase() argument
215 : TestCase (testctx, name) in StorageBufferTestCase()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemStorageBufferTests.cpp216 StorageBufferTestCase (tcu::TestContext& testctx, in StorageBufferTestCase() argument
226 : TestCase (testctx, name, getSSBOTestDescription(testType)) in StorageBufferTestCase()

Completed in 23 milliseconds