EVP: Add EVP_PKEY_set_type_by_keymgmt() and use it
authorRichard Levitte <levitte@openssl.org>
Sat, 21 Mar 2020 05:14:25 +0000 (06:14 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 25 Mar 2020 16:01:10 +0000 (17:01 +0100)
commit8243d8d1a17b700c9c48fc5660ff61245b1d14d2
tree6a69820ee31fb35da529491f75ed097e9e60fbf4
parentadc9f7312665f14ec5c73b60090a4df933e6556d
EVP: Add EVP_PKEY_set_type_by_keymgmt() and use it

This function intialises an EVP_PKEY to contain a provider side internal
key.

We take the opportunity to also document the older EVP_PKEY_set_type()
and EVP_PKEY_set_type_str().

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11375)
CHANGES.md
crypto/evp/keymgmt_lib.c
crypto/evp/p_lib.c
doc/man3/EVP_PKEY_set_type.pod [new file with mode: 0644]
include/openssl/evp.h
util/libcrypto.num
util/missingcrypto.txt