diff options
author | Richard Levitte <levitte@openssl.org> | 2020-02-05 15:41:58 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-03-02 03:27:03 +0100 |
commit | 13697f1c62e98a4c1365fd85cb39ada0f47dce5f (patch) | |
tree | 147ea38a1e9003d62cbd49529b16e467f18c8d15 /include/crypto/evp.h | |
parent | 1e9101c404b92b1fd32e8f0308ddc20742285135 (diff) |
KEYMGMT: Add a keydata copy function
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11158)
Diffstat (limited to 'include/crypto/evp.h')
-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 f9c67d2a71..21f3f16053 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -651,6 +651,9 @@ int evp_keymgmt_export(const EVP_KEYMGMT *keymgmt, void *keydata, int selection, OSSL_CALLBACK *param_cb, void *cbarg); const OSSL_PARAM *evp_keymgmt_export_types(const EVP_KEYMGMT *keymgmt, int selection); +int evp_keymgmt_copy(const EVP_KEYMGMT *keymgmt, + void *keydata_to, const void *keydata_from, + int selection); /* Pulling defines out of C source files */ |