aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/openssl/man/openssl-enc.1
diff options
context:
space:
mode:
Diffstat (limited to 'secure/usr.bin/openssl/man/openssl-enc.1')
-rw-r--r--secure/usr.bin/openssl/man/openssl-enc.111
1 files changed, 7 insertions, 4 deletions
diff --git a/secure/usr.bin/openssl/man/openssl-enc.1 b/secure/usr.bin/openssl/man/openssl-enc.1
index 686ed7370aee..6fdff56b5c00 100644
--- a/secure/usr.bin/openssl/man/openssl-enc.1
+++ b/secure/usr.bin/openssl/man/openssl-enc.1
@@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "OPENSSL-ENC 1ossl"
-.TH OPENSSL-ENC 1ossl 2025-07-24 3.5.1 OpenSSL
+.TH OPENSSL-ENC 1ossl 2025-09-16 3.5.3 OpenSSL
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -226,9 +226,12 @@ Print out the key and IV used.
.IX Item "-P"
Print out the key and IV used then immediately exit: don't do any encryption
or decryption.
-.IP "\fB\-bufsize\fR \fInumber\fR" 4
-.IX Item "-bufsize number"
+.IP "\fB\-bufsize\fR \fInumber\fR[\fBk\fR]" 4
+.IX Item "-bufsize number[k]"
Set the buffer size for I/O.
+The maximum size that can be specified is \fB2^31\-1\fR (2147483647) bytes.
+The \fBk\fR suffix can be specified to indicate that \fInumber\fR is provided
+in kibibytes (multiples of 1024 bytes).
.IP \fB\-nopad\fR 4
.IX Item "-nopad"
Disable standard block padding.
@@ -314,7 +317,7 @@ Some of the ciphers do not have large keys and others have security
implications if not used correctly. A beginner is advised to just use
a strong block cipher, such as AES, in CBC mode.
.PP
-All the block ciphers normally use PKCS#5 padding, also known as standard
+All the block ciphers normally use PKCS#7 padding, also known as standard
block padding. This allows a rudimentary integrity or password check to
be performed. However, since the chance of random data passing the test
is better than 1 in 256 it isn't a very good test.