summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EVP_des_cbc.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/EVP_des_cbc.3')
-rw-r--r--src/lib/libcrypto/man/EVP_des_cbc.3221
1 files changed, 0 insertions, 221 deletions
diff --git a/src/lib/libcrypto/man/EVP_des_cbc.3 b/src/lib/libcrypto/man/EVP_des_cbc.3
deleted file mode 100644
index 759e03fac0..0000000000
--- a/src/lib/libcrypto/man/EVP_des_cbc.3
+++ /dev/null
@@ -1,221 +0,0 @@
1.\" $OpenBSD: EVP_des_cbc.3,v 1.1 2019/03/21 12:54:37 schwarze Exp $
2.\" full merge up to:
3.\" OpenSSL EVP_desx_cbc.pod 8fa4d95e Oct 21 11:59:09 2017 +0900
4.\" selective merge up to:
5.\" OpenSSL EVP_des.pod 7c6d372a Nov 20 13:20:01 2018 +0000
6.\"
7.\" This file was written by Ronald Tse <ronald.tse@ribose.com>
8.\" Copyright (c) 2017 The OpenSSL Project. All rights reserved.
9.\"
10.\" Redistribution and use in source and binary forms, with or without
11.\" modification, are permitted provided that the following conditions
12.\" are met:
13.\"
14.\" 1. Redistributions of source code must retain the above copyright
15.\" notice, this list of conditions and the following disclaimer.
16.\"
17.\" 2. Redistributions in binary form must reproduce the above copyright
18.\" notice, this list of conditions and the following disclaimer in
19.\" the documentation and/or other materials provided with the
20.\" distribution.
21.\"
22.\" 3. All advertising materials mentioning features or use of this
23.\" software must display the following acknowledgment:
24.\" "This product includes software developed by the OpenSSL Project
25.\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
26.\"
27.\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
28.\" endorse or promote products derived from this software without
29.\" prior written permission. For written permission, please contact
30.\" openssl-core@openssl.org.
31.\"
32.\" 5. Products derived from this software may not be called "OpenSSL"
33.\" nor may "OpenSSL" appear in their names without prior written
34.\" permission of the OpenSSL Project.
35.\"
36.\" 6. Redistributions of any form whatsoever must retain the following
37.\" acknowledgment:
38.\" "This product includes software developed by the OpenSSL Project
39.\" for use in the OpenSSL Toolkit (http://www.openssl.org/)"
40.\"
41.\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
42.\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
43.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
44.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
45.\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
46.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
47.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
48.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
49.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
50.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
51.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
52.\" OF THE POSSIBILITY OF SUCH DAMAGE.
53.\"
54.Dd $Mdocdate: March 21 2019 $
55.Dt EVP_DES_CBC 3
56.Os
57.Sh NAME
58.Nm EVP_des_cbc ,
59.Nm EVP_des_cfb ,
60.Nm EVP_des_cfb1 ,
61.Nm EVP_des_cfb8 ,
62.Nm EVP_des_cfb64 ,
63.Nm EVP_des_ecb ,
64.Nm EVP_des_ofb ,
65.Nm EVP_des_ede ,
66.Nm EVP_des_ede_cbc ,
67.Nm EVP_des_ede_cfb ,
68.Nm EVP_des_ede_cfb64 ,
69.Nm EVP_des_ede_ecb ,
70.Nm EVP_des_ede_ofb ,
71.Nm EVP_des_ede3 ,
72.Nm EVP_des_ede3_cbc ,
73.Nm EVP_des_ede3_cfb ,
74.Nm EVP_des_ede3_cfb1 ,
75.Nm EVP_des_ede3_cfb8 ,
76.Nm EVP_des_ede3_cfb64 ,
77.Nm EVP_des_ede3_ecb ,
78.Nm EVP_des_ede3_ofb ,
79.Nm EVP_desx_cbc
80.Nd EVP DES cipher
81.Sh SYNOPSIS
82.In openssl/evp.h
83.Ft const EVP_CIPHER *
84.Fn EVP_des_cbc void
85.Ft const EVP_CIPHER *
86.Fn EVP_des_cfb void
87.Ft const EVP_CIPHER *
88.Fn EVP_des_cfb1 void
89.Ft const EVP_CIPHER *
90.Fn EVP_des_cfb8 void
91.Ft const EVP_CIPHER *
92.Fn EVP_des_cfb64 void
93.Ft const EVP_CIPHER *
94.Fn EVP_des_ecb void
95.Ft const EVP_CIPHER *
96.Fn EVP_des_ofb void
97.Ft const EVP_CIPHER *
98.Fn EVP_des_ede void
99.Ft const EVP_CIPHER *
100.Fn EVP_des_ede_cbc void
101.Ft const EVP_CIPHER *
102.Fn EVP_des_ede_cfb void
103.Ft const EVP_CIPHER *
104.Fn EVP_des_ede_cfb64 void
105.Ft const EVP_CIPHER *
106.Fn EVP_des_ede_ecb void
107.Ft const EVP_CIPHER *
108.Fn EVP_des_ede_ofb void
109.Ft const EVP_CIPHER *
110.Fn EVP_des_ede3 void
111.Ft const EVP_CIPHER *
112.Fn EVP_des_ede3_cbc void
113.Ft const EVP_CIPHER *
114.Fn EVP_des_ede3_cfb void
115.Ft const EVP_CIPHER *
116.Fn EVP_des_ede3_cfb1 void
117.Ft const EVP_CIPHER *
118.Fn EVP_des_ede3_cfb8 void
119.Ft const EVP_CIPHER *
120.Fn EVP_des_ede3_cfb64 void
121.Ft const EVP_CIPHER *
122.Fn EVP_des_ede3_ecb void
123.Ft const EVP_CIPHER *
124.Fn EVP_des_ede3_ofb void
125.Ft const EVP_CIPHER *
126.Fn EVP_desx_cbc void
127.Sh DESCRIPTION
128These functions provide the DES encryption algorithm in the
129.Xr evp 3
130framework.
131.Pp
132.Fn EVP_des_cbc ,
133.Fn EVP_des_cfb1 ,
134.Fn EVP_des_cfb8 ,
135.Fn EVP_des_cfb64 ,
136.Fn EVP_des_ecb ,
137and
138.Fn EVP_des_ofb
139provide DES in CBC, CFB with 1-bit shift, CFB with 8-bit shift,
140CFB with 64-bit shift, ECB, and OFB modes.
141.Fn EVP_des_cfb
142is an alias for
143.Fn EVP_des_cfb64 ,
144implemented as a macro.
145.Pp
146.Fn EVP_des_ede_cbc ,
147.Fn EVP_des_ede_cfb64 ,
148.Fn EVP_des_ede_ecb ,
149and
150.Fn EVP_des_ede_ofb
151provide two key triple DES in CBC, CFB with 64-bit shift, ECB, and OFB modes.
152.Fn EVP_des_ede_cfb
153is an alias for
154.Fn EVP_des_ede_cfb64 ,
155implemented as a macro.
156.Fn EVP_des_ede
157is an alias for
158.Fn EVP_des_ede_ecb .
159.Pp
160.Fn EVP_des_ede3_cbc ,
161.Fn EVP_des_ede3_cfb1 ,
162.Fn EVP_des_ede3_cfb8 ,
163.Fn EVP_des_ede3_cfb64 ,
164.Fn EVP_des_ede3_ecb ,
165.Fn EVP_des_ede3_ofb
166provide three key triple DES in CBC, CFB with 1-bit shift, CFB with 8-bit
167shift, CFB with 64-bit shift, ECB, and OFB modes.
168.Fn EVP_des_ede3_cfb
169is an alias for
170.Fn EVP_des_ede3_cfb64 ,
171implemented as a macro.
172.Fn EVP_des_ede3
173is an alias for
174.Fn EVP_des_ede3_ecb .
175.Pp
176.Fn EVP_desx_cbc
177provides the DES-X encryption algorithm in CBC mode.
178It uses a key length of 128 bits and acts on blocks of 128 bits.
179.Sh RETURN VALUES
180These functions return an
181.Vt EVP_CIPHER
182structure that provides the implementation of the symmetric cipher.
183.Sh SEE ALSO
184.Xr evp 3 ,
185.Xr EVP_EncryptInit 3
186.Sh HISTORY
187.Fn EVP_des_cbc ,
188.Fn EVP_des_cfb ,
189.Fn EVP_des_ecb ,
190.Fn EVP_des_ofb ,
191.Fn EVP_des_ede ,
192.Fn EVP_des_ede_cbc ,
193.Fn EVP_des_ede_cfb ,
194.Fn EVP_des_ede_ofb ,
195.Fn EVP_des_ede3 ,
196.Fn EVP_des_ede3_cbc ,
197.Fn EVP_des_ede3_cfb ,
198and
199.Fn EVP_des_ede3_ofb
200first appeared in SSLeay 0.5.1.
201.Fn EVP_desx_cbc
202first appeared in SSLeay 0.6.2.
203These functions have been available since
204.Ox 2.4 .
205.Pp
206.Fn EVP_des_ede_ecb
207and
208.Fn EVP_des_ede3_ecb
209first appeared in OpenSSL 0.9.7 and have been available since
210.Ox 3.2 .
211.Pp
212.Fn EVP_des_cfb1 ,
213.Fn EVP_des_cfb8 ,
214.Fn EVP_des_cfb64 ,
215.Fn EVP_des_ede_cfb64 ,
216.Fn EVP_des_ede3_cfb1 ,
217.Fn EVP_des_ede3_cfb8 ,
218and
219.Fn EVP_des_ede3_cfb64
220first appeared in OpenSSL 0.9.7e and have been available since
221.Ox 3.8 .