| /src/crypto/external/apache2/openssl/dist/test/ |
| pkcs12_api_test.c | 24 static OSSL_LIB_CTX *testctx = NULL; variable 41 p12 = PKCS12_init_ex(NID_pkcs7_data, testctx, "provider=default"); 79 if (!TEST_ptr(p12new = PKCS12_init_ex(NID_pkcs7_data, testctx, "provider=default"))) 176 testctx, NULL, 190 testctx, NULL, 201 testctx, NULL, 212 testctx, NULL, 273 testctx, NULL, NULL, NULL))) 315 if (!test_get_libctx(&testctx, &nullprov, NULL, NULL, NULL)) { 316 OSSL_LIB_CTX_free(testctx); [all...] |
| hpke_test.c | 19 static OSSL_LIB_CTX *testctx = NULL; variable 96 OSSL_LIB_CTX *libctx = testctx; 954 testctx, NULL)) 985 NULL, 0, testctx, NULL))) 989 testctx, NULL))) 1024 testctx, NULL); 1121 NULL, 0, testctx, NULL))) 1125 testctx, NULL))) 1152 testctx, NULL))) 1256 testctx, NULL) [all...] |
| ml_kem_evp_extra_test.c | 26 static OSSL_LIB_CTX *testctx = NULL; variable 109 akey = EVP_PKEY_Q_keygen(testctx, NULL, "ML-KEM-768"); 140 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, bkey, NULL); 168 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, akey, NULL); 262 akey = EVP_PKEY_Q_keygen(testctx, NULL, v->algorithm_name); 300 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, bkey, NULL); 343 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, akey, NULL); 434 if (!TEST_ptr(genctx = EVP_PKEY_CTX_new_from_name(testctx, alg, NULL)) 457 if (!TEST_ptr(encctx = EVP_PKEY_CTX_new_from_pkey(testctx, keypair, NULL))
|
| endecode_test.c | 53 static OSSL_LIB_CTX *testctx = NULL; variable 322 testctx, testpropq)) 375 if (!TEST_FL_ptr(cipher = EVP_CIPHER_fetch(testctx, pcipher, testpropq))) 462 pass_pw, (void *)pass, testctx, testpropq), 536 EVP_PKEY *pkey = EVP_PKCS82PKEY_ex(p8inf, testctx, testpropq); 796 OSSL_PROVIDER *lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); 815 EVP_PKEY *pkey = d2i_PUBKEY_ex(NULL, &datap, data_len, testctx, testpropq); 1301 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(testctx, "", "EC", "P-256")) 1402 if (!test_get_libctx(&testctx, &nullprov, config_file, &deflprov, prov_name)) 1407 is_fips_3_0_0 = is_fips && fips_provider_version_eq(testctx, 3, 0, 0) [all...] |
| evp_extra_test.c | 48 static OSSL_LIB_CTX *testctx = NULL; variable 901 testctx, testpropq); 990 pkey = EVP_PKEY_new_raw_private_key_ex(testctx, "HMAC", 1075 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, keytype, testpropq))) 1111 testctx, NULL); 1536 if (!TEST_true(EVP_DigestSignInit_ex(ctx, NULL, NULL, testctx, 1670 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, NULL); 1747 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, NULL); 1804 else if (!TEST_ptr(type = EVP_CIPHER_fetch(testctx, "AES-256-CBC", 2163 if (!TEST_ptr(sha256 = EVP_MD_fetch(testctx, "sha256", testpropq) [all...] |
| pkcs12_format_test.c | 24 static OSSL_LIB_CTX *testctx = NULL; variable 1004 p12_parsed = PKCS12_init_ex(NID_pkcs7_data, testctx, NULL); 1081 testctx = OSSL_LIB_CTX_new(); 1082 if (!TEST_ptr(testctx)) 1089 deflprov = OSSL_PROVIDER_load(testctx, "default"); 1092 lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); 1094 PKCS12_helper_set_libctx(testctx); 1140 OSSL_LIB_CTX_free(testctx);
|
| sslapitest.c | 3376 int testctx; local 3382 testctx = ((size_t)idx < OSSL_NELEM(testsigalgs)); 3383 curr = testctx ? &testsigalgs[idx] 3393 if (testctx) { 3418 if (!testctx) {
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| evp_extra_test.c | 44 static OSSL_LIB_CTX *testctx = NULL; variable 611 testctx, testpropq); 674 pkey = EVP_PKEY_new_raw_private_key_ex(testctx, "HMAC", 717 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, keytype, testpropq))) 750 testctx, NULL); 1113 if (!TEST_true(EVP_DigestSignInit_ex(ctx, NULL, NULL, testctx, 1177 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, NULL); 1252 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, NULL); 1307 else if (!TEST_ptr(type = EVP_CIPHER_fetch(testctx, "AES-256-CBC", 1623 if (!TEST_ptr(sha256 = EVP_MD_fetch(testctx, "sha256", testpropq) [all...] |
| endecode_test.c | 48 static OSSL_LIB_CTX *testctx = NULL; variable 318 testctx, testpropq)) 371 if (!TEST_FL_ptr(cipher = EVP_CIPHER_fetch(testctx, pcipher, testpropq))) 457 pass_pw, (void *)pass, testctx, testpropq), 0) 531 EVP_PKEY *pkey = EVP_PKCS82PKEY_ex(p8inf, testctx, testpropq); 793 OSSL_PROVIDER *lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); 812 EVP_PKEY *pkey = d2i_PUBKEY_ex(NULL, &datap, data_len, testctx, testpropq); 1335 if (!test_get_libctx(&testctx, &nullprov, config_file, &deflprov, prov_name)) 1340 is_fips_3_0_0 = is_fips && fips_provider_version_eq(testctx, 3, 0, 0); 1349 if (!TEST_ptr(bnctx = BN_CTX_new_ex(testctx)) [all...] |
| pkcs12_format_test.c | 26 static OSSL_LIB_CTX *testctx = NULL; variable 830 p12_parsed = PKCS12_init_ex(NID_pkcs7_data, testctx, NULL); 906 testctx = OSSL_LIB_CTX_new(); 907 if (!TEST_ptr(testctx)) 914 deflprov = OSSL_PROVIDER_load(testctx, "default"); 917 lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); 919 PKCS12_helper_set_libctx(testctx); 963 OSSL_LIB_CTX_free(testctx);
|
| sslapitest.c | 3147 int testctx; local 3153 testctx = ((size_t)idx < OSSL_NELEM(testsigalgs)); 3154 curr = testctx ? &testsigalgs[idx] 3164 if (testctx) { 3189 if (!testctx) {
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| sslapitest.c | 2063 int testctx; local 2069 testctx = ((size_t)idx < OSSL_NELEM(testsigalgs)); 2070 curr = testctx ? &testsigalgs[idx] 2084 if (testctx) { 2109 if (!testctx) {
|