EVP KEYMGMT utils: Make a few more utility functions available
authorRichard Levitte <levitte@openssl.org>
Wed, 8 Jul 2020 20:09:32 +0000 (22:09 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 24 Jul 2020 14:32:00 +0000 (16:32 +0200)
commitaf836c22cede6bd89c0b35c13d17e95f1854c5d0
treec1da19f43c75a006ae4257a7d2864168042d8016
parent6725682d77510bf6d499957897d7be124d603f40
EVP KEYMGMT utils: Make a few more utility functions available

This makes the following functions available for libcrypto code:

evp_keymgmt_util_try_import()  - callback function
evp_keymgmt_util_assign_pkey() - assigns keymgmt and keydata to an EVP_PKEY
evp_keymgmt_util_make_pkey()   - creates an EVP_PKEY from keymgmt and keydata

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/evp/keymgmt_lib.c
crypto/evp/p_lib.c
include/crypto/evp.h