diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2021-04-08 20:05:14 +1000 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-15 18:42:04 +0200 |
commit | a732a4c329144f0b4c60372d9b7106c6b88ddd9f (patch) | |
tree | f5dd1f0e6d8ebfb89a3ec536b94a8b1297148d6a /include | |
parent | a56fcf20da9e2bbc73aa3cf503204bdb44cb023f (diff) |
Add EVP_PKEY_todata() and EVP_PKEY_export() functions.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14800)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/evp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h index e6d5f078ac..35cdfe1c05 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -1855,6 +1855,11 @@ int EVP_PKEY_fromdata_init(EVP_PKEY_CTX *ctx); int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection, OSSL_PARAM param[]); const OSSL_PARAM *EVP_PKEY_fromdata_settable(EVP_PKEY_CTX *ctx, int selection); + +int EVP_PKEY_todata(const EVP_PKEY *pkey, int selection, OSSL_PARAM **params); +int EVP_PKEY_export(const EVP_PKEY *pkey, int selection, + OSSL_CALLBACK *export_cb, void *export_cbarg); + const OSSL_PARAM *EVP_PKEY_gettable_params(const EVP_PKEY *pkey); int EVP_PKEY_get_params(const EVP_PKEY *pkey, OSSL_PARAM params[]); int EVP_PKEY_get_int_param(const EVP_PKEY *pkey, const char *key_name, |