summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_des_cbc.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/man/EVP_des_cbc.313
1 files changed, 11 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/EVP_des_cbc.3 b/src/lib/libcrypto/man/EVP_des_cbc.3
index 759e03fac0..7c8a08c7db 100644
--- a/src/lib/libcrypto/man/EVP_des_cbc.3
+++ b/src/lib/libcrypto/man/EVP_des_cbc.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_des_cbc.3,v 1.1 2019/03/21 12:54:37 schwarze Exp $ 1.\" $OpenBSD: EVP_des_cbc.3,v 1.2 2024/11/09 22:03:49 schwarze Exp $
2.\" full merge up to: 2.\" full merge up to:
3.\" OpenSSL EVP_desx_cbc.pod 8fa4d95e Oct 21 11:59:09 2017 +0900 3.\" OpenSSL EVP_desx_cbc.pod 8fa4d95e Oct 21 11:59:09 2017 +0900
4.\" selective merge up to: 4.\" selective merge up to:
@@ -51,7 +51,7 @@
51.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 51.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
52.\" OF THE POSSIBILITY OF SUCH DAMAGE. 52.\" OF THE POSSIBILITY OF SUCH DAMAGE.
53.\" 53.\"
54.Dd $Mdocdate: March 21 2019 $ 54.Dd $Mdocdate: November 9 2024 $
55.Dt EVP_DES_CBC 3 55.Dt EVP_DES_CBC 3
56.Os 56.Os
57.Sh NAME 57.Sh NAME
@@ -128,6 +128,15 @@
128These functions provide the DES encryption algorithm in the 128These functions provide the DES encryption algorithm in the
129.Xr evp 3 129.Xr evp 3
130framework. 130framework.
131DES is a block cipher operating on 64 bit blocks.
132The key length to be used for
133.Xr EVP_EncryptInit 3
134is 64 bits.
135However, only 56 of these bits are used in the encryption algorithm.
136The least significant bit in each of the eight bytes is only used
137for checking parity.
138Using this algorithm is discouraged because the short key length
139makes it vulnerable to brute force attacks.
131.Pp 140.Pp
132.Fn EVP_des_cbc , 141.Fn EVP_des_cbc ,
133.Fn EVP_des_cfb1 , 142.Fn EVP_des_cfb1 ,