]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fixed EVP_PKEY_CTX_set_ec_paramgen_curve_nid() for SM2 in ENGINEs
authorYuan, Shuai <shuai.yuan@intel.com>
Wed, 10 May 2023 01:22:16 +0000 (21:22 -0400)
committerTomas Mraz <tomas@openssl.org>
Mon, 15 May 2023 10:07:35 +0000 (12:07 +0200)
commit8847320dd6a7ac5d5915f8aa538d720cd98f8946
tree9de81a2649f32c40a595ba61f1cfc5f11ace7cfb
parent062dd298a1c4ea04a52a9b1b46b13718d6bcfbf8
Fixed EVP_PKEY_CTX_set_ec_paramgen_curve_nid() for SM2 in ENGINEs

The CTRL translation is missing for SM2 key types.

Fixes #20899
Signed-off-by: Yuan, Shuai <shuai.yuan@intel.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20900)

(cherry picked from commit 43d5dac9d00ac486823d949f85ee3ad650b62af8)
crypto/evp/ctrl_params_translate.c
crypto/evp/ec_ctrl.c