Lines Matching refs:genctx
250 EVP_PKEY_CTX *genctx = NULL; in req_main() local
643 genctx = set_keygen_ctx(keyalg, &keyalgstr, &newkey_len, gen_eng); in req_main()
644 if (genctx == NULL) in req_main()
648 && (EVP_PKEY_CTX_is_a(genctx, "RSA") in req_main()
649 || EVP_PKEY_CTX_is_a(genctx, "RSA-PSS") in req_main()
650 || EVP_PKEY_CTX_is_a(genctx, "DSA"))) { in req_main()
657 && (EVP_PKEY_CTX_is_a(genctx, "RSA") in req_main()
658 || EVP_PKEY_CTX_is_a(genctx, "RSA-PSS"))) in req_main()
665 if (EVP_PKEY_CTX_is_a(genctx, "DSA") in req_main()
677 if (pkey_ctrl_string(genctx, genopt) <= 0) { in req_main()
684 EVP_PKEY_CTX_set_app_data(genctx, bio_err); in req_main()
686 EVP_PKEY_CTX_set_cb(genctx, progress_cb); in req_main()
688 pkey = app_keygen(genctx, keyalgstr, newkey_len, verbose); in req_main()
692 EVP_PKEY_CTX_free(genctx); in req_main()
693 genctx = NULL; in req_main()
1052 EVP_PKEY_CTX_free(genctx); in req_main()