openssl/providers/implementations/encode_decode
Richard Levitte 1d490694df Fix the encoding of SM2 keys
OpenSSL's encoding of SM2 keys used the SM2 OID for the algorithm OID
where an AlgorithmIdentifier is encoded (for encoding into the structures
PrivateKeyInfo and SubjectPublicKeyInfo).

Such keys should be encoded as ECC keys.

Fixes #22184

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22529)
2024-01-12 11:07:39 +01:00
..
build.info
decode_der2key.c Copyright year updates 2023-09-07 09:59:15 +01:00
decode_epki2pki.c Copyright year updates 2023-09-07 09:59:15 +01:00
decode_msblob2key.c Copyright year updates 2023-09-07 09:59:15 +01:00
decode_pem2der.c Copyright year updates 2023-09-07 09:59:15 +01:00
decode_pvk2key.c Copyright year updates 2023-09-07 09:59:15 +01:00
decode_spki2typespki.c Copyright year updates 2023-09-07 09:59:15 +01:00
encode_key2any.c Fix the encoding of SM2 keys 2024-01-12 11:07:39 +01:00
encode_key2blob.c Copyright year updates 2023-09-07 09:59:15 +01:00
encode_key2ms.c Copyright year updates 2023-09-07 09:59:15 +01:00
encode_key2text.c Restore the meaning of EVP_PKEY_print_private() 2023-10-04 08:10:55 +02:00
endecoder_common.c
endecoder_local.h