SERIALIZER: Add functions to deserialize into an EVP_PKEY
authorRichard Levitte <levitte@openssl.org>
Wed, 8 Jul 2020 21:19:13 +0000 (23:19 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 24 Jul 2020 14:32:01 +0000 (16:32 +0200)
commit072a9fde7d67a621ebd2c8d1ba22ab6e17da5a88
tree82a4f8449ad7cedb4659c35480b9f454cbdd135f
parentc3e4c1f325e6fc829a5b00a19a6019249cac781a
SERIALIZER: Add functions to deserialize into an EVP_PKEY

EVP_PKEY is the fundamental type for provider side code, so we
implement specific support for it, in form of a special context
constructor.

This constructor looks up and collects all available KEYMGMT
implementations, and then uses those names to collect deserializer
implementations, as described in the previous commit.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12410)
crypto/serializer/build.info
crypto/serializer/deserializer_pkey.c [new file with mode: 0644]
doc/man3/OSSL_DESERIALIZER_CTX_new_by_EVP_PKEY.pod [new file with mode: 0644]
include/openssl/deserializer.h
util/libcrypto.num