Home
last modified time | relevance | path

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

/openssl/test/
H A Dpkcs12_api_test.c24 static OSSL_LIB_CTX *testctx = NULL; variable
41 p12 = PKCS12_init_ex(NID_pkcs7_data, testctx, "provider=default"); in PKCS12_load()
79 if (!TEST_ptr(p12new = PKCS12_init_ex(NID_pkcs7_data, testctx, "provider=default"))) in changepass()
176 testctx, NULL, in pkcs12_create_ex2_test()
190 testctx, NULL, in pkcs12_create_ex2_test()
201 testctx, NULL, in pkcs12_create_ex2_test()
212 testctx, NULL, in pkcs12_create_ex2_test()
286 if (!test_get_libctx(&testctx, &nullprov, NULL, NULL, NULL)) { in setup_tests()
287 OSSL_LIB_CTX_free(testctx); in setup_tests()
288 testctx = NULL; in setup_tests()
[all …]
H A Dhpke_test.c19 static OSSL_LIB_CTX *testctx = NULL; variable
96 OSSL_LIB_CTX *libctx = testctx; in do_testhpke()
1146 testctx, NULL))) in test_hpke_export()
1173 testctx, NULL))) in test_hpke_export()
1411 testctx, NULL))) in test_hpke_oddcalls()
1441 testctx, NULL))) in test_hpke_oddcalls()
1502 testctx, NULL))) in test_hpke_oddcalls()
1512 testctx, NULL))) in test_hpke_oddcalls()
1840 testctx, NULL))) in test_hpke_compressed()
1901 testctx, NULL))) in test_hpke_noncereuse()
[all …]
H A Devp_extra_test.c45 static OSSL_LIB_CTX *testctx = NULL; variable
2164 if (testctx != NULL) in test_EVP_PKCS82PKEY_wrong_tag()
2632 testctx, in test_set_get_raw_keys_int()
3025 xp = X509_PUBKEY_new_ex(testctx, testpropq); in test_X509_PUBKEY_dup()
4971 if (testctx != NULL) in test_custom_pmeth()
5194 if (testctx != NULL) in test_custom_md_meth()
5289 if (testctx != NULL) in test_custom_ciph_meth()
5923 testctx = OSSL_LIB_CTX_new(); in setup_tests()
5924 if (!TEST_ptr(testctx)) in setup_tests()
6073 if (testctx == NULL) { in setup_tests()
[all …]
H A Dpkcs12_format_test.c24 static OSSL_LIB_CTX *testctx = NULL; variable
916 p12_parsed = PKCS12_init_ex(NID_pkcs7_data, testctx, NULL); in pkcs12_recreate_test()
992 testctx = OSSL_LIB_CTX_new(); in setup_tests()
993 if (!TEST_ptr(testctx)) in setup_tests()
1000 deflprov = OSSL_PROVIDER_load(testctx, "default"); in setup_tests()
1003 lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); in setup_tests()
1005 PKCS12_helper_set_libctx(testctx); in setup_tests()
1051 OSSL_LIB_CTX_free(testctx); in cleanup_tests()
H A Dendecode_test.c52 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()
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()
[all …]
H A Dsslapitest.c3176 int testctx; in test_set_sigalgs() local
3182 testctx = ((size_t)idx < OSSL_NELEM(testsigalgs)); in test_set_sigalgs()
3183 curr = testctx ? &testsigalgs[idx] in test_set_sigalgs()
3193 if (testctx) { in test_set_sigalgs()
3218 if (!testctx) { in test_set_sigalgs()

Completed in 60 milliseconds