openssl/crypto/asn1
Tomas Mraz 4f0831b837 EVP_PKCS82PKEY: Create provided keys if possible
Use OSSL_DECODER to decode the PKCS8 data to create provided keys.

If that fails fallback to the legacy implementation.

Fixes #14302

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14659)
2021-03-25 15:24:00 +01:00
..
a_bitstr.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_d2i_fp.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_digest.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_dup.c X509_dup: fix copying of libctx and propq using new ASN1_OP_DUP_POST cb operation 2020-11-27 16:53:32 +01:00
a_gentm.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_i2d_fp.c Update copyright year 2020-11-26 14:18:57 +00:00
a_int.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_mbstr.c ASN1: check the Unicode code point range in ASN1_mbstring_copy() 2021-03-18 14:12:48 +10:00
a_object.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_octet.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
a_print.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
a_sign.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_strex.c Update copyright year 2021-03-11 13:27:36 +00:00
a_strnid.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
a_time.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_type.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_utctm.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
a_utf8.c ASN1: limit the Unicode code point range in UTF8_getc() and UTF8_putc() 2021-03-18 14:12:48 +10:00
a_verify.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
ameth_lib.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
asn1_err.c Check that multi-strings/CHOICE types don't use implicit tagging 2020-12-08 10:17:03 +00:00
asn1_gen.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn1_item_list.c Update copyright year 2020-11-26 14:18:57 +00:00
asn1_item_list.h Update copyright year 2021-01-28 13:54:57 +01:00
asn1_lib.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
asn1_local.h Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
asn1_par.c ASN1: Reset the content dump flag after dumping 2021-03-21 12:29:06 +01:00
asn_mime.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn_moid.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
asn_mstbl.c CRYPTO: refactor ERR_raise()+ERR_add_error_data() to ERR_raise_data() 2020-11-13 09:35:31 +01:00
asn_pack.c Update copyright year 2020-11-26 14:18:57 +00:00
bio_asn1.c Update copyright year 2020-11-26 14:18:57 +00:00
bio_ndef.c Update copyright year 2021-03-11 13:27:36 +00:00
build.info Adapt libcrypto functionality to specify the desired output structure 2020-11-11 12:43:27 +01:00
charmap.h Update copyright years of auto-generated headers (make update) 2021-01-04 07:15:24 +01:00
charmap.pl Update copyright year 2020-04-23 13:55:52 +01:00
d2i_param.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
d2i_pr.c EVP_PKCS82PKEY: Create provided keys if possible 2021-03-25 15:24:00 +01:00
d2i_pu.c Drop OPENSSL_NO_RSA everywhere 2020-12-20 12:19:42 +01:00
evp_asn1.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
f_int.c Update copyright year 2020-11-26 14:18:57 +00:00
f_string.c Update copyright year 2020-11-26 14:18:57 +00:00
i2d_evp.c crypto/asn1/i2d_evp.c: Fix i2d_provided() to return a proper length 2021-02-27 16:14:09 +01:00
n_pkey.c Update copyright year 2020-04-23 13:55:52 +01:00
nsseq.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
p5_pbe.c Update copyright year 2020-11-26 14:18:57 +00:00
p5_pbev2.c Update copyright year 2020-11-26 14:18:57 +00:00
p5_scrypt.c Update copyright year 2020-11-26 14:18:57 +00:00
p8_pkey.c Update copyright year 2020-04-23 13:55:52 +01:00
standard_methods.h Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
t_bitst.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
t_pkey.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
t_spki.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
tasn_dec.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_enc.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_fre.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_new.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_prn.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tasn_scn.c Update copyright year 2020-11-26 14:18:57 +00:00
tasn_typ.c constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION 2019-03-06 16:10:09 +00:00
tasn_utl.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
tbl_standard.h Update copyright year 2020-10-15 14:10:06 +01:00
x_algor.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
x_bignum.c Explicitly test against NULL; do not use !p or similar 2019-10-09 21:32:15 +02:00
x_info.c Update copyright year 2020-11-26 14:18:57 +00:00
x_int64.c Add ossl_asn1 symbols 2021-03-18 17:52:37 +10:00
x_long.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
x_pkey.c Update copyright year 2020-11-26 14:18:57 +00:00
x_sig.c Reorganize private crypto header files 2019-09-28 20:26:34 +02:00
x_spki.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00
x_val.c Following the license change, modify the boilerplates in crypto/asn1/ 2018-12-06 14:24:40 +01:00