xref: /freebsd/crypto/openssl/doc/man3/EVP_des_cbc.pod (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1=pod
2
3=head1 NAME
4
5EVP_des_cbc,
6EVP_des_cfb,
7EVP_des_cfb1,
8EVP_des_cfb8,
9EVP_des_cfb64,
10EVP_des_ecb,
11EVP_des_ofb,
12EVP_des_ede,
13EVP_des_ede_cbc,
14EVP_des_ede_cfb,
15EVP_des_ede_cfb64,
16EVP_des_ede_ecb,
17EVP_des_ede_ofb,
18EVP_des_ede3,
19EVP_des_ede3_cbc,
20EVP_des_ede3_cfb,
21EVP_des_ede3_cfb1,
22EVP_des_ede3_cfb8,
23EVP_des_ede3_cfb64,
24EVP_des_ede3_ecb,
25EVP_des_ede3_ofb,
26EVP_des_ede3_wrap
27- EVP DES cipher
28
29=head1 SYNOPSIS
30
31=for openssl generic
32
33 #include <openssl/evp.h>
34
35 const EVP_CIPHER *EVP_ciphername(void)
36
37I<EVP_ciphername> is used a placeholder for any of the described cipher
38functions, such as I<EVP_des_cbc>.
39
40=head1 DESCRIPTION
41
42The DES encryption algorithm for EVP.
43
44=over 4
45
46=item EVP_des_cbc(),
47EVP_des_ecb(),
48EVP_des_cfb(),
49EVP_des_cfb1(),
50EVP_des_cfb8(),
51EVP_des_cfb64(),
52EVP_des_ofb()
53
54DES in CBC, ECB, CFB with 64-bit shift, CFB with 1-bit shift, CFB with 8-bit
55shift and OFB modes.
56
57None of these algorithms are provided by the OpenSSL default provider.
58To use them it is necessary to load either the OpenSSL legacy provider or another
59implementation.
60
61=item EVP_des_ede(),
62EVP_des_ede_cbc(),
63EVP_des_ede_cfb(),
64EVP_des_ede_cfb64(),
65EVP_des_ede_ecb(),
66EVP_des_ede_ofb()
67
68Two key triple DES in ECB, CBC, CFB with 64-bit shift and OFB modes.
69
70=item EVP_des_ede3(),
71EVP_des_ede3_cbc(),
72EVP_des_ede3_cfb(),
73EVP_des_ede3_cfb1(),
74EVP_des_ede3_cfb8(),
75EVP_des_ede3_cfb64(),
76EVP_des_ede3_ecb(),
77EVP_des_ede3_ofb()
78
79Three-key triple DES in ECB, CBC, CFB with 64-bit shift, CFB with 1-bit shift,
80CFB with 8-bit shift and OFB modes.
81
82=item EVP_des_ede3_wrap()
83
84Triple-DES key wrap according to RFC 3217 Section 3.
85
86=back
87
88=head1 NOTES
89
90Developers should be aware of the negative performance implications of
91calling these functions multiple times and should consider using
92L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-DES(7)> instead.
93See L<crypto(7)/Performance> for further information.
94
95=head1 RETURN VALUES
96
97These functions return an B<EVP_CIPHER> structure that contains the
98implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
99details of the B<EVP_CIPHER> structure.
100
101=head1 SEE ALSO
102
103L<evp(7)>,
104L<EVP_EncryptInit(3)>,
105L<EVP_CIPHER_meth_new(3)>
106
107=head1 COPYRIGHT
108
109Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
110
111Licensed under the Apache License 2.0 (the "License").  You may not use
112this file except in compliance with the License.  You can obtain a copy
113in the file LICENSE in the source distribution or at
114L<https://www.openssl.org/source/license.html>.
115
116=cut
117
118