summaryrefslogtreecommitdiffstats
path: root/include/crypto/evp.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-02-20 22:55:41 +0100
committerRichard Levitte <levitte@openssl.org>2020-02-29 05:39:43 +0100
commitbadf51c869d687f934e817f3bb4653acec0088ca (patch)
tree4b60c89e0aebf5341961874a25cde72c8d8fdaf9 /include/crypto/evp.h
parent3c6ed9555c7735c24d5f59c8b4ab7b9c4d807c77 (diff)
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/crypto/evp.h')
-rw-r--r--include/crypto/evp.h3
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