openssl/providers
Richard Levitte b5b6669fb6 PROV: Make the DER to KEY deserializer decode parameters too
It should be noted that this may be dodgy if we ever encounter
parameter objects that look like something else.  However, experience
with the OSSL_STORE 'file:' loader, which does exactly this kind of
thing, has worked fine so far.

A possibility could be that to decode parameters specifically, we
demand that there's an incoming data type specifying this, which
demands by extension that parameters can only come from a file format
that has the parameter type encoded, such as PEM.  This would be a
future effort.

Fixes #12568

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12569)
2020-08-04 14:35:12 +10:00
..
common Change the provider implementation of X942kdf to use wpacket to do der encoding of sharedInfo 2020-08-04 12:18:51 +10:00
fips Cleanup fips provider init 2020-07-22 21:12:42 +10:00
implementations PROV: Make the DER to KEY deserializer decode parameters too 2020-08-04 14:35:12 +10:00
baseprov.c deserialisation: add deserialisation to the base provider 2020-07-30 20:15:59 +10:00
build.info serialisation: Add a built-in base provider. 2020-07-30 20:15:22 +10:00
defltprov.c deserialisation: add deserialisation to the base provider 2020-07-30 20:15:59 +10:00
deserializers.inc DESERIALIZER: Add deserializers for the rest of our asymmetric key types 2020-08-01 11:51:19 +10:00
legacyprov.c Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
nullprov.c Rename <openssl/core_numbers.h> -> <openssl/core_dispatch.h> 2020-06-24 22:01:22 +02:00
serializers.inc serialisation: Add a built-in base provider. 2020-07-30 20:15:22 +10:00