Support decode SM2 parameters
authorK1 <dongbeiouba@gmail.com>
Mon, 18 Jul 2022 17:18:12 +0000 (01:18 +0800)
committerPauli <pauli@openssl.org>
Tue, 23 Aug 2022 01:08:11 +0000 (11:08 +1000)
commit08ae9fa627e858b9f8e96e0c6d3cf84422a11d75
tree5292239db11fb2586ceb1b56ed1125e95cd760fc
parentc92c3dfb99485eb2cfb840e92bd0ece8cdd72d0c
Support decode SM2 parameters

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18819)
apps/ecparam.c
include/openssl/pem.h
providers/decoders.inc
providers/implementations/encode_decode/decode_der2key.c
providers/implementations/encode_decode/decode_pem2der.c
providers/implementations/encode_decode/encode_key2text.c
providers/implementations/include/prov/implementations.h
test/recipes/15-test_ecparam.t
test/recipes/15-test_ecparam_data/valid/sm2-explicit.pem [new file with mode: 0644]
test/recipes/15-test_ecparam_data/valid/sm2-named.pem [new file with mode: 0644]