openssl/crypto/encode_decode
Matt Caswell 3811e0019a Special case SM2 when decoding
SM2 abuses the EC oid by reusing it - but an EC key is different to an SM2
key. Therefore we have to special case SM2 during decoding. If we encounter
the EC OID then we have to try both algorithms.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15522)
2021-05-31 09:13:19 +10:00
..
build.info
decoder_err.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
decoder_lib.c OSSL_DECODER_from_bio: Report an unsupported error when there is none 2021-05-26 13:04:38 +02:00
decoder_meth.c encoder: add a _name() function for encoders and decoders 2021-05-12 18:40:57 +10:00
decoder_pkey.c Special case SM2 when decoding 2021-05-31 09:13:19 +10:00
encoder_err.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
encoder_lib.c Better error messages if there are no encoders/decoders/store loaders 2021-05-18 15:30:25 +01:00
encoder_local.h encoder: add a _name() function for encoders and decoders 2021-05-12 18:40:57 +10:00
encoder_meth.c encoder: add a _name() function for encoders and decoders 2021-05-12 18:40:57 +10:00
encoder_pkey.c Fix NULL dereference when ENCODER does not implement IMPORT_OBJECT 2021-05-06 17:03:41 +02:00