openssl/providers/implementations
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
..
asymciphers Add missing settable entry OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS for RSA asym 2023-12-29 10:41:06 +01:00
ciphers Fix partial block encryption in cfb and ofb for s390x 2024-01-12 10:34:39 +01:00
digests cleanse stack variable in blake2[b|s] finalization 2024-01-03 12:42:01 -05:00
encode_decode Fix the encoding of SM2 keys 2024-01-12 11:07:39 +01:00
exchange
include/prov
kdfs cleanse stack variable in kdf_pbkdf1_do_derive 2024-01-05 14:25:55 -05:00
kem
keymgmt Fix new typos found by codespell 2023-12-29 10:12:05 +01:00
macs
rands
signature
storemgmt
build.info