diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-04-08 19:02:44 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-15 09:19:39 +0200 |
commit | 85fcc3fb777c527a614e58c23609210a9edf893b (patch) | |
tree | a65bb21725443e5c2180de6a5a85d69085233ee5 /doc | |
parent | Add selection support to the provider keymgmt_dup function (diff) | |
download | openssl-85fcc3fb777c527a614e58c23609210a9edf893b.tar.xz openssl-85fcc3fb777c527a614e58c23609210a9edf893b.zip |
Remove keymgmt_copy function from the provider API
It is superceded by the keymgmt_dup.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14793)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man7/provider-keymgmt.pod | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/doc/man7/provider-keymgmt.pod b/doc/man7/provider-keymgmt.pod index bb6e3372f6..c9280bc8ef 100644 --- a/doc/man7/provider-keymgmt.pod +++ b/doc/man7/provider-keymgmt.pod @@ -52,9 +52,6 @@ provider-keymgmt - The KEYMGMT library E<lt>-E<gt> provider functions OSSL_CALLBACK *param_cb, void *cbarg); const OSSL_PARAM *OSSL_FUNC_keymgmt_export_types(int selection); - /* Key object copy */ - int OSSL_FUNC_keymgmt_copy(void *keydata_to, const void *keydata_from, int selection); - /* Key object duplication, a constructor */ void *OSSL_FUNC_keymgmt_dup(const void *keydata_from, int selection); @@ -121,7 +118,6 @@ macros in L<openssl-core_dispatch.h(7)>, as follows: OSSL_FUNC_keymgmt_export OSSL_FUNC_KEYMGMT_EXPORT OSSL_FUNC_keymgmt_export_types OSSL_FUNC_KEYMGMT_EXPORT_TYPES - OSSL_FUNC_keymgmt_copy OSSL_FUNC_KEYMGMT_COPY OSSL_FUNC_keymgmt_dup OSSL_FUNC_KEYMGMT_DUP =head2 Key Objects @@ -324,7 +320,7 @@ I<selection> in I<keydata1> and I<keydata2> match. It is assumed that the caller has ensured that I<keydata1> and I<keydata2> are both owned by the implementation of this function. -=head2 Key Object Import, Export and Copy Functions +=head2 Key Object Import, Export and Duplication Functions OSSL_FUNC_keymgmt_import() should import data indicated by I<selection> into I<keydata> with values taken from the B<OSSL_PARAM> array I<params>. @@ -341,11 +337,6 @@ OSSL_FUNC_keymgmt_export_types() should return a constant array of descriptor B<OSSL_PARAM> for data indicated by I<selection>, that the OSSL_FUNC_keymgmt_export() callback can expect to receive. -OSSL_FUNC_keymgmt_copy() should copy data subsets indicated by I<selection> -from I<keydata_from> to I<keydata_to>. It is assumed that the caller -has ensured that I<keydata_to> and I<keydata_from> are both owned by -the implementation of this function. - OSSL_FUNC_keymgmt_dup() should duplicate data subsets indicated by I<selection> or the whole key data I<keydata_from> and create a new provider side key object with the data. |