From 983fb22f1938b50adc804bbfbe889a011f54c592 Mon Sep 17 00:00:00 2001 From: schwarze Date: Wed, 6 Sep 2023 16:26:49 +0000 Subject: [PATCH] Mark EVP_CIPHER_set_asn1_iv() and EVP_CIPHER_get_asn1_iv() as intentionally undocumented because they are unused outside libcrypto according to codesearch.debian.net and should probably not be public: they seem hardly useful even for implementing custom EVP_CIPHER algorithms. tb@ came to similar conclusions regarding these two functions. --- lib/libcrypto/man/EVP_CIPHER_CTX_set_flags.3 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/man/EVP_CIPHER_CTX_set_flags.3 b/lib/libcrypto/man/EVP_CIPHER_CTX_set_flags.3 index a8e32cdc557..67ef8679bc5 100644 --- a/lib/libcrypto/man/EVP_CIPHER_CTX_set_flags.3 +++ b/lib/libcrypto/man/EVP_CIPHER_CTX_set_flags.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: EVP_CIPHER_CTX_set_flags.3,v 1.1 2023/08/31 17:27:41 schwarze Exp $ +.\" $OpenBSD: EVP_CIPHER_CTX_set_flags.3,v 1.2 2023/09/06 16:26:49 schwarze Exp $ .\" full merge up to: OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800 .\" .\" This file is a derived work. @@ -67,7 +67,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: August 31 2023 $ +.Dd $Mdocdate: September 6 2023 $ .Dt EVP_CIPHER_CTX_SET_FLAGS 3 .Os .Sh NAME @@ -77,6 +77,11 @@ .Nm EVP_CIPHER_CTX_rand_key , .Nm EVP_CIPHER_param_to_asn1 , .Nm EVP_CIPHER_asn1_to_param , +.\" .Nm EVP_CIPHER_set_asn1_iv and +.\" .Nm EVP_CIPHER_get_asn1_iv are intentionally undocumented +.\" because they are unused according to codesearch.debian.net +.\" and should probably not be public: they seem hardly useful +.\" even for implementing custom EVP_CIPHER algorithms. .Nm EVP_CIPHER_CTX_get_app_data , .Nm EVP_CIPHER_CTX_set_app_data .Nd unusual EVP cipher context configuration -- 2.20.1