EVP: Add the internal convenience function evp_keymgmt_util_export()
authorRichard Levitte <levitte@openssl.org>
Fri, 11 Sep 2020 06:35:26 +0000 (08:35 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 12 Sep 2020 18:24:52 +0000 (20:24 +0200)
commit655f73cecf411737cef9debdfa4c0b8b041656df
treee9a5a437df885cf57f97be8c70f8e5bac3c1c8a3
parent96bb4ff9b8473d01d9ac9301ec0f796898c8f459
EVP: Add the internal convenience function evp_keymgmt_util_export()

This is purely to allow exporting without having to repeatedly specify
the keymgmt and keydata from the EVP_PKEY.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12853)
crypto/evp/keymgmt_lib.c
crypto/evp/p_lib.c
doc/internal/man3/evp_keymgmt_util_export_to_provider.pod
include/crypto/evp.h