diff options
Diffstat (limited to 'src/lib/libcrypto/man/EVP_EncryptInit.3')
-rw-r--r-- | src/lib/libcrypto/man/EVP_EncryptInit.3 | 12 |
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 | |||
535 | which should have sufficient space for one cipher block. | 535 | which should have sufficient space for one cipher block. |
536 | The number of bytes written is placed in | 536 | The number of bytes written is placed in |
537 | .Fa outl . | 537 | .Fa outl . |
538 | After this function is called the encryption operation is finished and | 538 | After this function is called, the encryption operation is finished and |
539 | no further calls to | 539 | no further calls to |
540 | .Fn EVP_EncryptUpdate | 540 | .Fn EVP_EncryptUpdate |
541 | should be made. | 541 | should be made. |
@@ -754,7 +754,7 @@ This "type" is the actual NID of the cipher OBJECT IDENTIFIER as such it | |||
754 | ignores the cipher parameters and 40-bit RC2 and 128-bit RC2 have the | 754 | ignores the cipher parameters and 40-bit RC2 and 128-bit RC2 have the |
755 | same NID. | 755 | same NID. |
756 | If the cipher does not have an object identifier or does not | 756 | If the cipher does not have an object identifier or does not |
757 | have ASN.1 support this function will return | 757 | have 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. | |||
842 | For example if the block size is 8 and 11 bytes are to be encrypted then | 842 | For example if the block size is 8 and 11 bytes are to be encrypted then |
843 | 5 padding bytes of value 5 will be added. | 843 | 5 padding bytes of value 5 will be added. |
844 | .Pp | 844 | .Pp |
845 | When decrypting the final block is checked to see if it has the correct | 845 | When decrypting, the final block is checked to see if it has the correct |
846 | form. | 846 | form. |
847 | .Pp | 847 | .Pp |
848 | Although the decryption operation can produce an error if padding is | 848 | Although 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 | |||
1374 | and | 1374 | and |
1375 | .Dv EVP_MAX_IV_LENGTH | 1375 | .Dv EVP_MAX_IV_LENGTH |
1376 | only refer to the internal ciphers with default key lengths. | 1376 | only refer to the internal ciphers with default key lengths. |
1377 | If custom ciphers exceed these values the results are unpredictable. | 1377 | If custom ciphers exceed these values, the results are unpredictable. |
1378 | This is because it has become standard practice to define a generic key | 1378 | This is because it has become standard practice to define a generic key |
1379 | as a fixed unsigned char array containing | 1379 | as a fixed unsigned char array containing |
1380 | .Dv EVP_MAX_KEY_LENGTH | 1380 | .Dv EVP_MAX_KEY_LENGTH |