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.313
1 files changed, 10 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/BIO_f_cipher.3 b/src/lib/libcrypto/man/BIO_f_cipher.3
index 6a4e7c53eb..794166687a 100644
--- a/src/lib/libcrypto/man/BIO_f_cipher.3
+++ b/src/lib/libcrypto/man/BIO_f_cipher.3
@@ -1,5 +1,5 @@
1.\" $OpenBSD: BIO_f_cipher.3,v 1.12 2019/06/06 01:06:58 schwarze Exp $ 1.\" $OpenBSD: BIO_f_cipher.3,v 1.13 2022/12/18 19:35:36 schwarze Exp $
2.\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700 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>.
5.\" Copyright (c) 2000, 2003, 2015, 2016 The OpenSSL Project. 5.\" Copyright (c) 2000, 2003, 2015, 2016 The OpenSSL Project.
@@ -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: June 6 2019 $ 52.Dd $Mdocdate: December 18 2022 $
53.Dt BIO_F_CIPHER 3 53.Dt BIO_F_CIPHER 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -133,6 +133,13 @@ This is useful when
133.Fn BIO_set_cipher 133.Fn BIO_set_cipher
134is not flexible enough for the applications needs. 134is not flexible enough for the applications needs.
135.Pp 135.Pp
136When a chain containing a cipher BIO is copied with
137.Xr BIO_dup_chain 3 ,
138the cipher context is automatically copied from the existing BIO object
139to the new one and the init flag that can be retrieved with
140.Xr BIO_get_init 3
141is set to 1.
142.Pp
136When encrypting, 143When encrypting,
137.Xr BIO_flush 3 144.Xr BIO_flush 3
138must be called to flush the final block through the BIO. 145must be called to flush the final block through the BIO.