Add easy to digest selector macros for EVP_PKEYs
authorRichard Levitte <levitte@openssl.org>
Fri, 9 Oct 2020 11:02:58 +0000 (13:02 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 30 Oct 2020 12:09:52 +0000 (13:09 +0100)
commit140eee2b3b3090107aea2d09ab10eb737fb1e5bb
treed9da74dea16ae5ce298509fe5eb96fb1ee386b7f
parentf79289389edef63b76c6c2a3042435dda7d42dfd
Add easy to digest selector macros for EVP_PKEYs

These are meant to be used with functions like
OSSL_ENCODER_CTX_new_by_EVP_PKEY()

The OSSL_ENCODER_CTX_new_by_EVP_PKEY() manual is also expanded on the
topics of output types and selections.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13189)
crypto/asn1/i2d_pr.c
crypto/evp/p_lib.c
crypto/pem/pem_local.h
crypto/x509/x_pubkey.c
doc/man3/OSSL_ENCODER_CTX_new_by_EVP_PKEY.pod
include/openssl/evp.h