summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BIO_f_cipher.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/BIO_f_cipher.3')
-rw-r--r--src/lib/libcrypto/man/BIO_f_cipher.321
1 files changed, 17 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/BIO_f_cipher.3 b/src/lib/libcrypto/man/BIO_f_cipher.3
index de9d88493e..c5d00c6981 100644
--- a/src/lib/libcrypto/man/BIO_f_cipher.3
+++ b/src/lib/libcrypto/man/BIO_f_cipher.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_f_cipher.3,v 1.15 2023/04/28 16:49:00 schwarze Exp $ 1.\" $OpenBSD: BIO_f_cipher.3,v 1.16 2023/04/29 12:01:53 schwarze Exp $
2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: April 28 2023 $ 52.Dd $Mdocdate: April 29 2023 $
53.Dt BIO_F_CIPHER 3 53.Dt BIO_F_CIPHER 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -74,11 +74,11 @@
74.Fa "unsigned char *iv" 74.Fa "unsigned char *iv"
75.Fa "int enc" 75.Fa "int enc"
76.Fc 76.Fc
77.Ft int 77.Ft long
78.Fo BIO_get_cipher_status 78.Fo BIO_get_cipher_status
79.Fa "BIO *b" 79.Fa "BIO *b"
80.Fc 80.Fc
81.Ft int 81.Ft long
82.Fo BIO_get_cipher_ctx 82.Fo BIO_get_cipher_ctx
83.Fa "BIO *b" 83.Fa "BIO *b"
84.Fa "EVP_CIPHER_CTX **pctx" 84.Fa "EVP_CIPHER_CTX **pctx"
@@ -159,6 +159,19 @@ or
159.Xr BIO_puts 3 159.Xr BIO_puts 3
160support is needed, then it can be achieved 160support is needed, then it can be achieved
161by preceding the cipher BIO with a buffering BIO. 161by preceding the cipher BIO with a buffering BIO.
162.Pp
163.Xr BIO_ctrl 3
164.Fa cmd
165arguments correspond to macros as follows:
166.Bl -column BIO_C_GET_CIPHER_STATUS BIO_get_cipher_status() -offset 3n
167.It Fa cmd No constant Ta corresponding macro
168.It Dv BIO_C_GET_CIPHER_CTX Ta Fn BIO_get_cipher_ctx
169.It Dv BIO_C_GET_CIPHER_STATUS Ta Fn BIO_get_cipher_status
170.It Dv BIO_CTRL_FLUSH Ta Xr BIO_flush 3
171.It Dv BIO_CTRL_PENDING Ta Xr BIO_pending 3
172.It Dv BIO_CTRL_RESET Ta Xr BIO_reset 3
173.It Dv BIO_CTRL_WPENDING Ta Xr BIO_wpending 3
174.El
162.Sh RETURN VALUES 175.Sh RETURN VALUES
163.Fn BIO_f_cipher 176.Fn BIO_f_cipher
164returns the cipher BIO method. 177returns the cipher BIO method.