Home
last modified time | relevance | path

Searched refs:testctx (Results 1 – 4 of 4) sorted by relevance

/openssl-master/test/
A Devp_extra_test.c40 static OSSL_LIB_CTX *testctx = NULL; variable
710 testctx, NULL); in test_fromdata()
1566 if (testctx != NULL) in test_EVP_PKCS82PKEY_wrong_tag()
2016 testctx, in test_set_get_raw_keys_int()
2368 xp = X509_PUBKEY_new_ex(testctx, testpropq); in test_X509_PUBKEY_dup()
3243 md = EVP_MD_fetch(testctx, "sha256", testpropq); in test_EVP_rsa_pss_with_keygen_bits()
3885 if (testctx != NULL) in test_custom_pmeth()
4230 testctx = OSSL_LIB_CTX_new(); in setup_tests()
4231 if (!TEST_ptr(testctx)) in setup_tests()
4336 if (testctx == NULL) { in setup_tests()
[all …]
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()
A Dendecode_test.c47 static OSSL_LIB_CTX *testctx = NULL; variable
293 testctx, testpropq)) in decode_EVP_PKEY_prov()
346 if (!TEST_FL_ptr(cipher = EVP_CIPHER_fetch(testctx, pcipher, testpropq))) in encode_EVP_PKEY_legacy_PEM()
432 pass_pw, (void *)pass, testctx, testpropq), 0) in encode_EVP_PKEY_PVK()
506 EVP_PKEY *pkey = EVP_PKCS82PKEY_ex(p8inf, testctx, testpropq); in check_unprotected_PKCS8_DER()
768 OSSL_PROVIDER *lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); in test_protected_via_PVK()
787 EVP_PKEY *pkey = d2i_PUBKEY_ex(NULL, &datap, data_len, testctx, testpropq); in check_public_DER()
1304 if (!test_get_libctx(&testctx, &nullprov, config_file, &deflprov, prov_name)) in setup_tests()
1315 if (!TEST_ptr(bnctx = BN_CTX_new_ex(testctx)) in setup_tests()
1468 OSSL_LIB_CTX_free(testctx); in cleanup_tests()
A Dsslapitest.c2932 int testctx; in test_set_sigalgs() local
2938 testctx = ((size_t)idx < OSSL_NELEM(testsigalgs)); in test_set_sigalgs()
2939 curr = testctx ? &testsigalgs[idx] in test_set_sigalgs()
2949 if (testctx) { in test_set_sigalgs()
2974 if (!testctx) { in test_set_sigalgs()

Completed in 33 milliseconds