Home
last modified time | relevance | path

Searched refs:gctx_params (Results 1 – 1 of 1) sorted by relevance

/openssl/apps/
H A Decparam.c98 EVP_PKEY_CTX *gctx_params = NULL, *gctx_key = NULL, *pctx = NULL; in ecparam_main() local
222 gctx_params = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "sm2", in ecparam_main()
225 gctx_params = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "ec", in ecparam_main()
227 if (gctx_params == NULL in ecparam_main()
228 || EVP_PKEY_keygen_init(gctx_params) <= 0 in ecparam_main()
229 || EVP_PKEY_CTX_set_params(gctx_params, params) <= 0 in ecparam_main()
230 || EVP_PKEY_keygen(gctx_params, &params_key) <= 0) { in ecparam_main()
352 EVP_PKEY_CTX_free(gctx_params); in ecparam_main()

Completed in 3 milliseconds