diff options
author | Richard Levitte <levitte@openssl.org> | 2020-02-20 22:55:41 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-02-29 05:39:43 +0100 |
commit | badf51c869d687f934e817f3bb4653acec0088ca (patch) | |
tree | 4b60c89e0aebf5341961874a25cde72c8d8fdaf9 /include | |
parent | Rethink the EVP_PKEY cache of provider side keys (diff) | |
download | openssl-badf51c869d687f934e817f3bb4653acec0088ca.tar.xz openssl-badf51c869d687f934e817f3bb4653acec0088ca.zip |
EVP: Add evp_pkey_upgrade_to_provider(), for EVP_PKEY upgrades
This function "upgrades" a key from a legacy key container to a
provider side key container.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11148)
Diffstat (limited to 'include')
-rw-r--r-- | include/crypto/evp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h index aed2ccf31d..ddba4083e9 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -603,6 +603,9 @@ void evp_app_cleanup_int(void); void *evp_pkey_export_to_provider(EVP_PKEY *pk, OPENSSL_CTX *libctx, EVP_KEYMGMT **keymgmt, const char *propquery); +void *evp_pkey_upgrade_to_provider(EVP_PKEY *pk, OPENSSL_CTX *libctx, + EVP_KEYMGMT **keymgmt, + const char *propquery); /* * KEYMGMT utility functions |