Searched refs:gctx_params (Results 1 – 1 of 1) sorted by relevance
98 EVP_PKEY_CTX *gctx_params = NULL, *gctx_key = NULL, *pctx = NULL; in ecparam_main() local233 gctx_params = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "sm2", in ecparam_main()236 gctx_params = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "ec", in ecparam_main()238 if (gctx_params == NULL in ecparam_main()239 || EVP_PKEY_keygen_init(gctx_params) <= 0 in ecparam_main()240 || EVP_PKEY_CTX_set_params(gctx_params, params) <= 0 in ecparam_main()241 || EVP_PKEY_keygen(gctx_params, ¶ms_key) <= 0) { in ecparam_main()345 EVP_PKEY_CTX_free(gctx_params); in ecparam_main()