Searched refs:testctx (Results 1 – 5 of 5) sorted by relevance
/openssl/test/ |
H A D | evp_extra_test.c | 39 static OSSL_LIB_CTX *testctx = NULL; variable 731 testctx, NULL); in test_selection() 1682 if (testctx != NULL) in test_EVP_PKCS82PKEY_wrong_tag() 2150 testctx, in test_set_get_raw_keys_int() 2502 xp = X509_PUBKEY_new_ex(testctx, testpropq); in test_X509_PUBKEY_dup() 4070 if (testctx != NULL) in test_custom_pmeth() 4292 if (testctx != NULL) in test_custom_md_meth() 4521 testctx = OSSL_LIB_CTX_new(); in setup_tests() 4522 if (!TEST_ptr(testctx)) in setup_tests() 4633 if (testctx == NULL) { in setup_tests() [all …]
|
H A D | pkcs12_api_test.c | 24 static OSSL_LIB_CTX *testctx = NULL; variable 154 deflprov = OSSL_PROVIDER_load(testctx, "default"); in setup_tests() 168 OSSL_LIB_CTX_free(testctx); in cleanup_tests()
|
H A D | pkcs12_format_test.c | 26 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 D | endecode_test.c | 51 static OSSL_LIB_CTX *testctx = NULL; variable 309 testctx, testpropq)) in decode_EVP_PKEY_prov() 362 if (!TEST_FL_ptr(cipher = EVP_CIPHER_fetch(testctx, pcipher, testpropq))) in encode_EVP_PKEY_legacy_PEM() 448 pass_pw, (void *)pass, testctx, testpropq), 0) in encode_EVP_PKEY_PVK() 522 EVP_PKEY *pkey = EVP_PKCS82PKEY_ex(p8inf, testctx, testpropq); in check_unprotected_PKCS8_DER() 784 OSSL_PROVIDER *lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); in test_protected_via_PVK() 803 EVP_PKEY *pkey = d2i_PUBKEY_ex(NULL, &datap, data_len, testctx, testpropq); in check_public_DER() 1322 if (!test_get_libctx(&testctx, &nullprov, config_file, &deflprov, prov_name)) in setup_tests() 1332 if (!OSSL_PROVIDER_add_builtin(testctx, "legacy", ossl_legacy_provider_init)) in setup_tests() 1343 if (!TEST_ptr(bnctx = BN_CTX_new_ex(testctx)) in setup_tests() [all …]
|
H A D | sslapitest.c | 2985 int testctx; in test_set_sigalgs() local 2991 testctx = ((size_t)idx < OSSL_NELEM(testsigalgs)); in test_set_sigalgs() 2992 curr = testctx ? &testsigalgs[idx] in test_set_sigalgs() 3002 if (testctx) { in test_set_sigalgs() 3027 if (!testctx) { in test_set_sigalgs()
|
Completed in 54 milliseconds