diff options
author | Richard Levitte <levitte@openssl.org> | 2020-09-11 08:35:26 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-09-12 20:24:52 +0200 |
commit | 655f73cecf411737cef9debdfa4c0b8b041656df (patch) | |
tree | e9a5a437df885cf57f97be8c70f8e5bac3c1c8a3 /doc | |
parent | Fix EVP_PKEY_CTX_ctrl() documentation (diff) | |
download | openssl-655f73cecf411737cef9debdfa4c0b8b041656df.tar.xz openssl-655f73cecf411737cef9debdfa4c0b8b041656df.zip |
EVP: Add the internal convenience function evp_keymgmt_util_export()
This is purely to allow exporting without having to repeatedly specify
the keymgmt and keydata from the EVP_PKEY.
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12853)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/internal/man3/evp_keymgmt_util_export_to_provider.pod | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/internal/man3/evp_keymgmt_util_export_to_provider.pod b/doc/internal/man3/evp_keymgmt_util_export_to_provider.pod index 5fdd625987..bb2ad9ba8e 100644 --- a/doc/internal/man3/evp_keymgmt_util_export_to_provider.pod +++ b/doc/internal/man3/evp_keymgmt_util_export_to_provider.pod @@ -2,6 +2,7 @@ =head1 NAME +evp_keymgmt_util_export, evp_keymgmt_util_export_to_provider, evp_keymgmt_util_find_operation_cache_index, evp_keymgmt_util_clear_operation_cache, @@ -14,6 +15,8 @@ evp_keymgmt_util_fromdata #include "crypto/evp.h" + int evp_keymgmt_util_export(const EVP_PKEY *pk, int selection, + OSSL_CALLBACK *export_cb, void *export_cbarg); void *evp_keymgmt_util_export_to_provider(EVP_PKEY *pk, EVP_KEYMGMT *keymgmt); size_t evp_keymgmt_util_find_operation_cache_index(EVP_PKEY *pk, EVP_KEYMGMT *keymgmt); @@ -26,6 +29,9 @@ evp_keymgmt_util_fromdata =head1 DESCRIPTION +evp_keymgmt_util_export() calls L<evp_keymgmt_export(3)> with the +I<keymgmt> and I<keydata> from I<pk>. This is a convenience function. + evp_keymgmt_util_export_to_provider() exports cached key material (provider side key material) from the given key I<pk> to a provider via a B<EVP_KEYMGMT> interface, if this hasn't already been done. |