diff options
author | Pauli <paul.dale@oracle.com> | 2020-02-13 11:00:57 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-07-22 20:19:01 +1000 |
commit | 41bbba537598522daaf8369778de6d1225a4998e (patch) | |
tree | cf4eb63dab871fc339eb4ca325fd30b0019752ca /doc | |
parent | 77ae4f6ff7af7d099206a1fc229be7a3ea0e0596 (diff) | |
download | openssl-41bbba537598522daaf8369778de6d1225a4998e.tar.gz |
EVP: deprecate the EVP_X_meth_ functions.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11082)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/EVP_CIPHER_meth_new.pod | 9 | ||||
-rw-r--r-- | doc/man3/EVP_MD_meth_new.pod | 9 | ||||
-rw-r--r-- | doc/man3/EVP_PKEY_meth_get_count.pod | 11 | ||||
-rw-r--r-- | doc/man3/EVP_PKEY_meth_new.pod | 11 |
4 files changed, 40 insertions, 0 deletions
diff --git a/doc/man3/EVP_CIPHER_meth_new.pod b/doc/man3/EVP_CIPHER_meth_new.pod index 2e4cea289e..dd73ee693c 100644 --- a/doc/man3/EVP_CIPHER_meth_new.pod +++ b/doc/man3/EVP_CIPHER_meth_new.pod @@ -17,6 +17,10 @@ EVP_CIPHER_meth_get_ctrl #include <openssl/evp.h> +Deprecated since OpenSSL 3.0, can be hidden entirely by defining +B<OPENSSL_API_COMPAT> with a suitable version value, see +L<openssl_user_macros(7)>: + EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len); EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher); void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); @@ -65,6 +69,9 @@ EVP_CIPHER_meth_get_ctrl =head1 DESCRIPTION +All of the functions described on this page are deprecated. +Applications should instead use the OSSL_PROVIDER APIs. + The B<EVP_CIPHER> type is a structure for symmetric cipher method implementation. @@ -234,6 +241,8 @@ L<EVP_EncryptInit(3)> =head1 HISTORY +All of these functions were deprecated in OpenSSL 3.0. + The functions described here were added in OpenSSL 1.1.0. The B<EVP_CIPHER> structure created with these functions became reference counted in OpenSSL 3.0. diff --git a/doc/man3/EVP_MD_meth_new.pod b/doc/man3/EVP_MD_meth_new.pod index 7777a33586..7beaaebc0b 100644 --- a/doc/man3/EVP_MD_meth_new.pod +++ b/doc/man3/EVP_MD_meth_new.pod @@ -18,6 +18,10 @@ EVP_MD_meth_get_ctrl #include <openssl/evp.h> +Deprecated since OpenSSL 3.0, can be hidden entirely by defining +B<OPENSSL_API_COMPAT> with a suitable version value, see +L<openssl_user_macros(7)>: + EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type); void EVP_MD_meth_free(EVP_MD *md); EVP_MD *EVP_MD_meth_dup(const EVP_MD *md); @@ -56,6 +60,9 @@ EVP_MD_meth_get_ctrl =head1 DESCRIPTION +All of the functions described on this page are deprecated. +Applications should instead use the OSSL_PROVIDER APIs. + The B<EVP_MD> type is a structure for digest method implementation. It can also have associated public/private key signing and verifying routines. @@ -177,6 +184,8 @@ L<EVP_DigestInit(3)>, L<EVP_SignInit(3)>, L<EVP_VerifyInit(3)> =head1 HISTORY +All of these functions were deprecated in OpenSSL 3.0. + The B<EVP_MD> structure was openly available in OpenSSL before version 1.1. The functions described here were added in OpenSSL 1.1. diff --git a/doc/man3/EVP_PKEY_meth_get_count.pod b/doc/man3/EVP_PKEY_meth_get_count.pod index 03dca86700..7b56de5c8a 100644 --- a/doc/man3/EVP_PKEY_meth_get_count.pod +++ b/doc/man3/EVP_PKEY_meth_get_count.pod @@ -8,6 +8,10 @@ EVP_PKEY_meth_get_count, EVP_PKEY_meth_get0, EVP_PKEY_meth_get0_info - enumerate #include <openssl/evp.h> +Deprecated since OpenSSL 3.0, can be hidden entirely by defining +B<OPENSSL_API_COMPAT> with a suitable version value, see +L<openssl_user_macros(7)>: + size_t EVP_PKEY_meth_get_count(void); const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx); void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags, @@ -15,6 +19,9 @@ EVP_PKEY_meth_get_count, EVP_PKEY_meth_get0, EVP_PKEY_meth_get0_info - enumerate =head1 DESCRIPTION +All of the functions described on this page are deprecated. +Applications should instead use the OSSL_PROVIDER APIs. + EVP_PKEY_meth_count() returns a count of the number of public key methods available: it includes standard methods and any methods added by the application. @@ -38,6 +45,10 @@ EVP_PKEY_meth_get0_info() does not return a value. L<EVP_PKEY_new(3)> +=head1 HISTORY + +All of these functions were deprecated in OpenSSL 3.0. + =head1 COPYRIGHT Copyright 2002-2017 The OpenSSL Project Authors. All Rights Reserved. diff --git a/doc/man3/EVP_PKEY_meth_new.pod b/doc/man3/EVP_PKEY_meth_new.pod index 643798f1fd..48df32f65b 100644 --- a/doc/man3/EVP_PKEY_meth_new.pod +++ b/doc/man3/EVP_PKEY_meth_new.pod @@ -29,6 +29,10 @@ EVP_PKEY_meth_remove #include <openssl/evp.h> +Deprecated since OpenSSL 3.0, can be hidden entirely by defining +B<OPENSSL_API_COMPAT> with a suitable version value, see +L<openssl_user_macros(7)>: + typedef struct evp_pkey_method_st EVP_PKEY_METHOD; EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); @@ -240,6 +244,9 @@ EVP_PKEY_meth_remove =head1 DESCRIPTION +All of the functions described on this page are deprecated. +Applications should instead use the OSSL_PROVIDER APIs. + B<EVP_PKEY_METHOD> is a structure which holds a set of methods for a specific public key cryptographic algorithm. Those methods are usually used to perform different jobs, such as generating a key, signing or @@ -440,6 +447,10 @@ All EVP_PKEY_meth_set and EVP_PKEY_meth_get functions have no return values. For the 'get' functions, function pointers are returned by arguments. +=head1 HISTORY + +All of these functions were deprecated in OpenSSL 3.0. + =head1 COPYRIGHT Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved. |