openssl/crypto
Richard Levitte 70c06aafa6 DECODER: Allow precise result type for OSSL_DECODER_CTX_new_by_EVP_PKEY()
There is some data that is very difficult to guess.  For example, DSA
parameters and X9.42 DH parameters look exactly the same, a SEQUENCE
of 3 INTEGER.  Therefore, callers may need the possibility to select
the exact keytype that they expect to get.

This will also allow use to translate d2i_TYPEPrivateKey(),
d2i_TYPEPublicKey() and d2i_TYPEParams() into OSSL_DECODER terms much
more smoothly.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13061)
2020-10-04 13:01:47 +02:00
..
aes Ignore vendor name in Clang version number. 2020-08-27 20:27:26 -07:00
aria
asn1 Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
async
bf
bio Ensure that _GNU_SOURCE is defined for NI_MAXHOST and NI_MAXSERV 2020-10-03 16:01:53 +02:00
bn Diverse build.info: Adjust paths 2020-09-10 09:50:56 +02:00
buffer
camellia
cast
chacha Ignore vendor name in Clang version number. 2020-08-27 20:27:26 -07:00
cmac Delete unused PKEY MAC files 2020-08-29 17:40:11 +10:00
cmp Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
cms Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
comp
conf Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
crmf Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
ct Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
des
dh Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
dsa der: _ossl prefix DER functions 2020-10-01 11:25:12 +10:00
dso Fix safestack issues in crypto.h 2020-09-13 11:11:21 +01:00
ec Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
encode_decode DECODER: Allow precise result type for OSSL_DECODER_CTX_new_by_EVP_PKEY() 2020-10-04 13:01:47 +02:00
engine Fix safestack issues in conf.h 2020-09-13 11:11:20 +01:00
err Prune low-level ASN.1 parse errors from error queue in decoder_process() 2020-09-24 14:34:56 +02:00
ess Fix safestack issues in ess.h 2020-09-13 11:10:41 +01:00
evp EVP: use evp_pkey_ctx_is_legacy() to find what implementation to use 2020-10-01 19:54:10 +02:00
ffc Fix missing propq in ffc_params_generate 2020-09-23 17:31:40 +10:00
hmac Delete unused PKEY MAC files 2020-08-29 17:40:11 +10:00
http Fix Coverity CID 1466708 - correct pointer calculation in one case 2020-09-17 15:29:46 +02:00
idea
kdf
lhash
md2
md4
md5 In a non-shared build, don't include the md5 object files in legacy provider 2020-09-09 17:59:08 +10:00
mdc2
modes Ignore vendor name in Clang version number. 2020-08-27 20:27:26 -07:00
objects Add 4 new OIDs for PKIX key purposes and 3 new CMP information types 2020-09-08 23:22:29 +02:00
ocsp Implement treatment of id-pkix-ocsp-no-check extension for OCSP_basic_verify() 2020-09-26 14:03:44 +02:00
pem Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
perlasm
pkcs7 Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
pkcs12 Prune low-level ASN.1 parse errors from error queue in decoder_process() 2020-09-24 14:34:56 +02:00
poly1305 Diverse build.info: Adjust paths 2020-09-10 09:50:56 +02:00
property ENCODER: Redefine the libcrypto <-> provider interface 2020-09-20 17:29:31 +02:00
rand Use OPENSSL_SYS_TANDEM instead of OPENSSL_SYSNAME_TANDEM 2020-09-24 08:06:50 +02:00
rc2
rc4
rc5
ripemd Diverse build.info: Adjust paths 2020-09-10 09:50:56 +02:00
rsa Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
seed
sha Ignore vendor name in Clang version number. 2020-08-27 20:27:26 -07:00
siphash Delete unused PKEY MAC files 2020-08-29 17:40:11 +10:00
sm2 Remove some dead SM2 code 2020-09-25 11:13:53 +01:00
sm3
sm4
srp Fix safestack issues in srp.h 2020-09-13 11:10:41 +01:00
stack
store DECODER: Allow precise result type for OSSL_DECODER_CTX_new_by_EVP_PKEY() 2020-10-04 13:01:47 +02:00
ts Fix safestack issues in conf.h 2020-09-13 11:11:20 +01:00
txt_db
ui Fix safestack issues in ui.h 2020-09-13 11:11:21 +01:00
whrlpool
x509 Fix memory leak in req_cb() of x_req.c - handle distinguishing_id also with NO_SM2 2020-10-01 14:13:18 +02:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c
armv4cpuid.pl
asn1_dsa.c der: _ossl prefix DER functions 2020-10-01 11:25:12 +10:00
bsearch.c
build.info Punycode decoding implementation 2020-08-26 14:04:11 +03:00
c64xpluscpuid.pl
context.c Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
core_algorithm.c Fix post-condition in algorithm_do_this 2020-09-02 15:21:11 -07:00
core_fetch.c
core_namemap.c
cpt_err.c Add a "random" configuration section. 2020-09-23 15:28:29 +10:00
cryptlib.c NonStop port updates for 3.0.0. 2020-09-12 20:32:11 +02:00
ctype.c
cversion.c
der_writer.c der: _ossl prefix DER functions 2020-10-01 11:25:12 +10:00
dllmain.c
ebcdic.c
ex_data.c Ignore unused return values from some sk_*() macros 2020-09-13 11:11:57 +01:00
getenv.c Windows get ENV value as UTF-8 encoded string instead of a raw string 2020-08-22 15:05:56 +10:00
ia64cpuid.S
info.c
init.c STORE: Deprecate legacy / ENGINE functions 2020-09-03 17:48:32 +02:00
initthread.c Fix coverity CID #1454815 - NULL ptr dereference in initthread.c 2020-09-05 15:41:31 +10:00
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_sec.c
mem.c
mips_arch.h
o_dir.c
o_fopen.c
o_init.c
o_str.c
o_time.c
packet.c
param_build_set.c
param_build.c
params_from_text.c
params.c OSSL_PARAM: Add string pointer getters 2020-08-24 10:02:26 +02:00
pariscid.pl
passphrase.c CORE: Fix small bug in passphrase caching 2020-09-03 17:48:32 +02:00
ppc_arch.h
ppccap.c
ppccpuid.pl
provider_conf.c Fix safestack issues in conf.h 2020-09-13 11:11:20 +01:00
provider_core.c Fix segfault on missing provider_query_operation() 2020-10-03 14:38:22 +03:00
provider_local.h
provider_predefined.c
provider.c provider: disable fall-backs if OSSL_PROVIDER_load() fails. 2020-08-14 18:17:47 +10:00
punycode.c Punycode decoding implementation 2020-08-26 14:04:11 +03:00
README-sparse_array.md
s390x_arch.h
s390xcap.c
s390xcpuid.pl
self_test_core.c Add a copy of OSSL_SELF_TEST_get_callback() to the fips module. 2020-09-19 18:21:09 +10:00
sparc_arch.h
sparccpuid.S
sparcv9cap.c
sparse_array.c
threads_none.c
threads_pthread.c todo: remove fork protection todo comment, it isn't relevant to the FIPS provider 2020-09-28 08:49:05 +10:00
threads_win.c
trace.c Run the withlibctx.pl script 2020-10-01 09:25:20 +01:00
uid.c
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl