Searched refs:mainctx (Results 1 – 1 of 1) sorted by relevance
/third_party/openssl/test/ |
D | evp_extra_test2.c | 31 static OSSL_LIB_CTX *mainctx = NULL; variable 308 if (!TEST_ptr(fromctx = EVP_PKEY_CTX_new_from_name(mainctx, keytype, NULL)) in do_pkey_tofrom_data_select() 346 ret = TEST_ptr(gctx = EVP_PKEY_CTX_new_from_name(mainctx, "DHX", NULL)) in test_dh_tofrom_data_select() 374 ret = TEST_ptr(gctx = EVP_PKEY_CTX_new_from_name(mainctx, "DH", NULL)) in test_dh_paramgen() 383 ret = ret && TEST_ptr(gctx = EVP_PKEY_CTX_new_from_pkey(mainctx, pkey, NULL)) in test_dh_paramgen() 400 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(mainctx, NULL, "EC", "P-256")) in test_ec_tofrom_data_select() 411 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(mainctx, NULL, "X25519")) in test_ecx_tofrom_data_select() 424 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(mainctx, NULL, "SM2")) in test_sm2_tofrom_data_select() 439 mainctx, NULL)) in test_rsa_tofrom_data_select() 460 if (!TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &p, input_len, mainctx, in test_d2i_AutoPrivateKey_ex() [all …]
|