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.312
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/EVP_EncryptInit.3 b/src/lib/libcrypto/man/EVP_EncryptInit.3
index 58d18346e1..47527925ba 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.42 2021/10/14 00:45:02 tb Exp $ 1.\" $OpenBSD: EVP_EncryptInit.3,v 1.43 2022/03/31 17:27:16 naddy Exp $
2.\" full merge up to: OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800 2.\" full merge up to: OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800
3.\" EVP_bf_cbc.pod EVP_cast5_cbc.pod EVP_idea_cbc.pod EVP_rc2_cbc.pod 3.\" EVP_bf_cbc.pod EVP_cast5_cbc.pod EVP_idea_cbc.pod EVP_rc2_cbc.pod
4.\" 7c6d372a Nov 20 13:20:01 2018 +0000 4.\" 7c6d372a Nov 20 13:20:01 2018 +0000
@@ -71,7 +71,7 @@
71.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 71.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
72.\" OF THE POSSIBILITY OF SUCH DAMAGE. 72.\" OF THE POSSIBILITY OF SUCH DAMAGE.
73.\" 73.\"
74.Dd $Mdocdate: October 14 2021 $ 74.Dd $Mdocdate: March 31 2022 $
75.Dt EVP_ENCRYPTINIT 3 75.Dt EVP_ENCRYPTINIT 3
76.Os 76.Os
77.Sh NAME 77.Sh NAME
@@ -535,7 +535,7 @@ The encrypted final data is written to
535which should have sufficient space for one cipher block. 535which should have sufficient space for one cipher block.
536The number of bytes written is placed in 536The number of bytes written is placed in
537.Fa outl . 537.Fa outl .
538After this function is called the encryption operation is finished and 538After this function is called, the encryption operation is finished and
539no further calls to 539no further calls to
540.Fn EVP_EncryptUpdate 540.Fn EVP_EncryptUpdate
541should be made. 541should be made.
@@ -754,7 +754,7 @@ This "type" is the actual NID of the cipher OBJECT IDENTIFIER as such it
754ignores the cipher parameters and 40-bit RC2 and 128-bit RC2 have the 754ignores the cipher parameters and 40-bit RC2 and 128-bit RC2 have the
755same NID. 755same NID.
756If the cipher does not have an object identifier or does not 756If the cipher does not have an object identifier or does not
757have ASN.1 support this function will return 757have ASN.1 support, this function will return
758.Dv NID_undef . 758.Dv NID_undef .
759.Pp 759.Pp
760.Fn EVP_CIPHER_CTX_cipher 760.Fn EVP_CIPHER_CTX_cipher
@@ -842,7 +842,7 @@ block size n will equal the block size.
842For example if the block size is 8 and 11 bytes are to be encrypted then 842For example if the block size is 8 and 11 bytes are to be encrypted then
8435 padding bytes of value 5 will be added. 8435 padding bytes of value 5 will be added.
844.Pp 844.Pp
845When decrypting the final block is checked to see if it has the correct 845When decrypting, the final block is checked to see if it has the correct
846form. 846form.
847.Pp 847.Pp
848Although the decryption operation can produce an error if padding is 848Although the decryption operation can produce an error if padding is
@@ -1374,7 +1374,7 @@ first appeared in LibreSSL 2.8.1 and has been available since
1374and 1374and
1375.Dv EVP_MAX_IV_LENGTH 1375.Dv EVP_MAX_IV_LENGTH
1376only refer to the internal ciphers with default key lengths. 1376only refer to the internal ciphers with default key lengths.
1377If custom ciphers exceed these values the results are unpredictable. 1377If custom ciphers exceed these values, the results are unpredictable.
1378This is because it has become standard practice to define a generic key 1378This is because it has become standard practice to define a generic key
1379as a fixed unsigned char array containing 1379as a fixed unsigned char array containing
1380.Dv EVP_MAX_KEY_LENGTH 1380.Dv EVP_MAX_KEY_LENGTH