summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_EncryptInit.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/EVP_EncryptInit.3')
-rw-r--r--src/lib/libcrypto/man/EVP_EncryptInit.313
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/EVP_EncryptInit.3 b/src/lib/libcrypto/man/EVP_EncryptInit.3
index 1a7fe40a66..c328edf4f6 100644
--- a/src/lib/libcrypto/man/EVP_EncryptInit.3
+++ b/src/lib/libcrypto/man/EVP_EncryptInit.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_EncryptInit.3,v 1.4 2016/11/26 20:26:25 schwarze Exp $ 1.\" $OpenBSD: EVP_EncryptInit.3,v 1.5 2016/12/25 22:15:10 schwarze Exp $
2.\" OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800 2.\" OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800
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: November 26 2016 $ 52.Dd $Mdocdate: December 25 2016 $
53.Dt EVP_ENCRYPTINIT 3 53.Dt EVP_ENCRYPTINIT 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -664,7 +664,9 @@ If the cipher is a stream cipher then
664is returned. 664is returned.
665.Pp 665.Pp
666.Fn EVP_CIPHER_param_to_asn1 666.Fn EVP_CIPHER_param_to_asn1
667sets the AlgorithmIdentifier "parameter" based on the passed cipher. 667sets the ASN.1
668.Vt AlgorithmIdentifier
669parameter based on the passed cipher.
668This will typically include any parameters and an IV. 670This will typically include any parameters and an IV.
669The cipher IV (if any) must be set when this call is made. 671The cipher IV (if any) must be set when this call is made.
670This call should be made before the cipher is actually "used" (before any 672This call should be made before the cipher is actually "used" (before any
@@ -675,8 +677,9 @@ calls, for example).
675This function may fail if the cipher does not have any ASN.1 support. 677This function may fail if the cipher does not have any ASN.1 support.
676.Pp 678.Pp
677.Fn EVP_CIPHER_asn1_to_param 679.Fn EVP_CIPHER_asn1_to_param
678sets the cipher parameters based on an ASN.1 AlgorithmIdentifier 680sets the cipher parameters based on an ASN.1
679"parameter". 681.Vt AlgorithmIdentifier
682parameter.
680The precise effect depends on the cipher. 683The precise effect depends on the cipher.
681In the case of RC2, for example, it will set the IV and effective 684In the case of RC2, for example, it will set the IV and effective
682key length. 685key length.