| /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, 286 if (!test_get_libctx(&testctx, &nullprov, NULL, NULL, NULL)) { 287 OSSL_LIB_CTX_free(testctx); 288 testctx = NULL [all...] |
| hpke_test.c | 19 static OSSL_LIB_CTX *testctx = NULL; variable 96 OSSL_LIB_CTX *libctx = testctx; 1068 testctx, NULL)) 1099 NULL, 0, testctx, NULL))) 1103 testctx, NULL))) 1138 testctx, NULL); 1235 NULL, 0, testctx, NULL))) 1239 testctx, NULL))) 1266 testctx, NULL))) 1370 testctx, NULL) [all...] |
| ml_kem_evp_extra_test.c | 25 static OSSL_LIB_CTX *testctx = NULL; variable 108 akey = EVP_PKEY_Q_keygen(testctx, NULL, "ML-KEM-768"); 139 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, bkey, NULL); 167 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, akey, NULL); 261 akey = EVP_PKEY_Q_keygen(testctx, NULL, v->algorithm_name); 299 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, bkey, NULL); 342 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, akey, 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); 1328 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(testctx, "", "EC", "P-256")) 1429 if (!test_get_libctx(&testctx, &nullprov, config_file, &deflprov, prov_name)) 1434 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); 964 pkey = EVP_PKEY_new_raw_private_key_ex(testctx, "HMAC", 1049 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, keytype, testpropq))) 1085 testctx, NULL); 1510 if (!TEST_true(EVP_DigestSignInit_ex(ctx, NULL, NULL, testctx, 1644 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, NULL); 1721 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, NULL); 1778 else if (!TEST_ptr(type = EVP_CIPHER_fetch(testctx, "AES-256-CBC", 2137 if (!TEST_ptr(sha256 = EVP_MD_fetch(testctx, "sha256", testpropq) [all...] |
| pkcs12_format_test.c | 24 static OSSL_LIB_CTX *testctx = NULL; variable 3541 p12_parsed = PKCS12_init_ex(NID_pkcs7_data, testctx, NULL); 3618 testctx = OSSL_LIB_CTX_new(); 3619 if (!TEST_ptr(testctx)) 3626 deflprov = OSSL_PROVIDER_load(testctx, "default"); 3629 lgcyprov = OSSL_PROVIDER_load(testctx, "legacy"); 3631 PKCS12_helper_set_libctx(testctx); 3677 OSSL_LIB_CTX_free(testctx);
|
| sslapitest.c | 3192 int testctx; local 3198 testctx = ((size_t)idx < OSSL_NELEM(testsigalgs)); 3199 curr = testctx ? &testsigalgs[idx] 3209 if (testctx) { 3234 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) {
|