]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
openssl-enc.pod.in: We actually use PKCS#7 padding
authorSergey G. Brester <github@sebres.de>
Wed, 27 Aug 2025 22:26:11 +0000 (00:26 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 9 Sep 2025 09:31:37 +0000 (11:31 +0200)
PKCS#5 padding is a subset for 8-bytes block ciphers only.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28359)

(cherry picked from commit 4e0c2d02a9a415823babf74106985352e7bbcdae)

doc/man1/openssl-enc.pod.in

index ae6942d1c09d230a05b83b2c8103bad27aebe23f..17d7421226bc21cfafeda9cbe277e52f66c87afd 100644 (file)
@@ -265,7 +265,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.
 
-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.