Lines Matching refs:genctx
1738 EVP_PKEY_CTX *pctx = NULL, *genctx = NULL; in mac_test_run_pkey() local
1850 EVP_PKEY_CTX_free(genctx); in mac_test_run_pkey()
4102 EVP_PKEY_CTX *genctx = NULL; /* Keygen context to use */ in keygen_test_run() local
4114 if (!TEST_ptr(genctx = EVP_PKEY_CTX_new_from_pkey(libctx, keyparams, in keygen_test_run()
4119 if (!TEST_ptr(genctx = EVP_PKEY_CTX_new_from_name(libctx, keygen->alg, in keygen_test_run()
4124 if (EVP_PKEY_keygen_init(genctx) <= 0) { in keygen_test_run()
4131 EVP_PKEY_CTX_settable_params(genctx), in keygen_test_run()
4134 if (!EVP_PKEY_CTX_set_params(genctx, params)) { in keygen_test_run()
4142 if (EVP_PKEY_keygen(genctx, &pkey) <= 0) { in keygen_test_run()
4146 if (!pkey_check_fips_approved(genctx, t)) { in keygen_test_run()
4179 EVP_PKEY_CTX_free(genctx); in keygen_test_run()