Home
last modified time | relevance | path

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

/freebsd-14.2/crypto/openssl/test/
H A Devp_extra_test.c44 static OSSL_LIB_CTX *testctx = NULL; variable
1809 if (testctx != NULL) in test_EVP_PKCS82PKEY_wrong_tag()
2277 testctx, in test_set_get_raw_keys_int()
2670 xp = X509_PUBKEY_new_ex(testctx, testpropq); in test_X509_PUBKEY_dup()
4513 if (testctx != NULL) in test_custom_pmeth()
4735 if (testctx != NULL) in test_custom_md_meth()
4817 if (testctx != NULL) in test_custom_ciph_meth()
5381 testctx = OSSL_LIB_CTX_new(); in setup_tests()
5382 if (!TEST_ptr(testctx)) in setup_tests()
5513 if (testctx == NULL) { in setup_tests()
[all …]
H A Dpkcs12_format_test.c26 static OSSL_LIB_CTX *testctx = NULL; variable
830 p12_parsed = PKCS12_init_ex(NID_pkcs7_data, testctx, NULL); in pkcs12_recreate_test()
906 testctx = OSSL_LIB_CTX_new(); in setup_tests()
907 if (!TEST_ptr(testctx)) in setup_tests()
914 deflprov = OSSL_PROVIDER_load(testctx, "default"); in setup_tests()
917 lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); in setup_tests()
919 PKCS12_helper_set_libctx(testctx); in setup_tests()
963 OSSL_LIB_CTX_free(testctx); in cleanup_tests()
H A Dendecode_test.c48 static OSSL_LIB_CTX *testctx = NULL; variable
318 testctx, testpropq)) in decode_EVP_PKEY_prov()
371 if (!TEST_FL_ptr(cipher = EVP_CIPHER_fetch(testctx, pcipher, testpropq))) in encode_EVP_PKEY_legacy_PEM()
457 pass_pw, (void *)pass, testctx, testpropq), 0) in encode_EVP_PKEY_PVK()
531 EVP_PKEY *pkey = EVP_PKCS82PKEY_ex(p8inf, testctx, testpropq); in check_unprotected_PKCS8_DER()
793 OSSL_PROVIDER *lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); in test_protected_via_PVK()
812 EVP_PKEY *pkey = d2i_PUBKEY_ex(NULL, &datap, data_len, testctx, testpropq); in check_public_DER()
1335 if (!test_get_libctx(&testctx, &nullprov, config_file, &deflprov, prov_name)) in setup_tests()
1340 is_fips_3_0_0 = is_fips && fips_provider_version_eq(testctx, 3, 0, 0); in setup_tests()
1349 if (!TEST_ptr(bnctx = BN_CTX_new_ex(testctx)) in setup_tests()
[all …]
H A Dsslapitest.c3147 int testctx; in test_set_sigalgs() local
3153 testctx = ((size_t)idx < OSSL_NELEM(testsigalgs)); in test_set_sigalgs()
3154 curr = testctx ? &testsigalgs[idx] in test_set_sigalgs()
3164 if (testctx) { in test_set_sigalgs()
3189 if (!testctx) { in test_set_sigalgs()