DECODER: Add input structure support for EVP_PKEY decoding
authorRichard Levitte <levitte@openssl.org>
Mon, 26 Oct 2020 12:17:42 +0000 (13:17 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 11 Nov 2020 10:42:06 +0000 (11:42 +0100)
commitdf65c06b59f0ccd06398c0ff3034371fdefd8e70
tree35c564e2392d0b885b30ea7c6f8ff42ee5dc1f4e
parent67c91ca23eae175a08f0f0c60be6e6957334d25e
DECODER: Add input structure support for EVP_PKEY decoding

OSSL_DECODER_CTX_new_by_EVP_PKEY() takes one more argument to express
the desired outermost structure for the input.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13248)
crypto/encode_decode/decoder_pkey.c
doc/man3/OSSL_DECODER_CTX.pod
include/openssl/decoder.h