Add SM2 support for EVP_PKEY_Q_keygen
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 22 Nov 2022 19:53:38 +0000 (19:53 +0000)
committerTomas Mraz <tomas@openssl.org>
Thu, 24 Nov 2022 15:29:38 +0000 (16:29 +0100)
commit3f32d29ad464591ed968a1e430111e1525280f4c
treee3a04e5425066c693303ef2a1652905e4f17dd3d
parentcba0e2afd6a222aa041e05f8455e83c9e959d05b
Add SM2 support for EVP_PKEY_Q_keygen

There is no reason preventing this API to support SM2,
which gives us a simple method to do SM2 key gen.

CLA: trivial

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19736)
crypto/evp/evp_lib.c
doc/man3/EVP_PKEY_keygen.pod