Debian Codegraph @

upstream/debian-unstable/man3/EVP_des_cbc.3ssl

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)
3 .\"
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 .if t .sp .5v
8 .if n .sp
9 ..
10 .de Vb \" Begin verbatim text
11 .ft CW
12 .nf
13 .ne \\$1
14 ..
15 .de Ve \" End verbatim text
16 .ft R
17 .fi
18 ..
19 .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
20 .ie n \{\
21 . ds C` ""
22 . ds C' ""
23 'br\}
24 .el\{\
25 . ds C`
26 . ds C'
27 'br\}
28 .\"
29 .\" Escape single quotes in literal strings from groff's Unicode transform.
30 .ie \n(.g .ds Aq \(aq
31 .el .ds Aq '
32 .\"
33 .\" If the F register is >0, we'll generate index entries on stderr for
34 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
35 .\" entries marked with X<> in POD. Of course, you'll have to process the
36 .\" output yourself in some meaningful fashion.
37 .\"
38 .\" Avoid warning from groff about undefined register 'F'.
39 .de IX
40 ..
41 .nr rF 0
42 .if \n(.g .if rF .nr rF 1
43 .if (\n(rF:(\n(.g==0)) \{\
44 . if \nF \{\
45 . de IX
46 . tm Index:\\$1\t\\n%\t"\\$2"
47 ..
48 . if !\nF==2 \{\
49 . nr % 0
50 . nr F 2
51 . \}
52 . \}
53 .\}
54 .rr rF
55 .\" ========================================================================
56 .\"
57 .IX Title "EVP_DES_CBC 3SSL"
58 .TH EVP_DES_CBC 3SSL 2026-04-07 3.6.2 OpenSSL
59 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
60 .\" way too many mistakes in technical documents.
61 .if n .ad l
62 .nh
63 .SH NAME
64 EVP_des_cbc,
65 EVP_des_cfb,
66 EVP_des_cfb1,
67 EVP_des_cfb8,
68 EVP_des_cfb64,
69 EVP_des_ecb,
70 EVP_des_ofb,
71 EVP_des_ede,
72 EVP_des_ede_cbc,
73 EVP_des_ede_cfb,
74 EVP_des_ede_cfb64,
75 EVP_des_ede_ecb,
76 EVP_des_ede_ofb,
77 EVP_des_ede3,
78 EVP_des_ede3_cbc,
79 EVP_des_ede3_cfb,
80 EVP_des_ede3_cfb1,
81 EVP_des_ede3_cfb8,
82 EVP_des_ede3_cfb64,
83 EVP_des_ede3_ecb,
84 EVP_des_ede3_ofb,
85 EVP_des_ede3_wrap
86 \&\- EVP DES cipher
87 .SH SYNOPSIS
88 .IX Header "SYNOPSIS"
89 .Vb 1
90 \& #include <openssl/evp.h>
91 \&
92 \& const EVP_CIPHER *EVP_ciphername(void)
93 .Ve
94 .PP
95 \&\fIEVP_ciphername\fR is used a placeholder for any of the described cipher
96 functions, such as \fIEVP_des_cbc\fR.
97 .SH DESCRIPTION
98 .IX Header "DESCRIPTION"
99 The DES encryption algorithm for EVP.
100 .IP "\fBEVP_des_cbc()\fR, \fBEVP_des_ecb()\fR, \fBEVP_des_cfb()\fR, \fBEVP_des_cfb1()\fR, \fBEVP_des_cfb8()\fR, \fBEVP_des_cfb64()\fR, \fBEVP_des_ofb()\fR" 4
101 .IX Item "EVP_des_cbc(), EVP_des_ecb(), EVP_des_cfb(), EVP_des_cfb1(), EVP_des_cfb8(), EVP_des_cfb64(), EVP_des_ofb()"
102 DES in CBC, ECB, CFB with 64\-bit shift, CFB with 1\-bit shift, CFB with 8\-bit
103 shift and OFB modes.
104 .Sp
105 None of these algorithms are provided by the OpenSSL default provider.
106 To use them it is necessary to load either the OpenSSL legacy provider or another
107 implementation.
108 .IP "\fBEVP_des_ede()\fR, \fBEVP_des_ede_cbc()\fR, \fBEVP_des_ede_cfb()\fR, \fBEVP_des_ede_cfb64()\fR, \fBEVP_des_ede_ecb()\fR, \fBEVP_des_ede_ofb()\fR" 4
109 .IX Item "EVP_des_ede(), EVP_des_ede_cbc(), EVP_des_ede_cfb(), EVP_des_ede_cfb64(), EVP_des_ede_ecb(), EVP_des_ede_ofb()"
110 Two key triple DES in ECB, CBC, CFB with 64\-bit shift and OFB modes.
111 .IP "\fBEVP_des_ede3()\fR, \fBEVP_des_ede3_cbc()\fR, \fBEVP_des_ede3_cfb()\fR, \fBEVP_des_ede3_cfb1()\fR, \fBEVP_des_ede3_cfb8()\fR, \fBEVP_des_ede3_cfb64()\fR, \fBEVP_des_ede3_ecb()\fR, \fBEVP_des_ede3_ofb()\fR" 4
112 .IX Item "EVP_des_ede3(), EVP_des_ede3_cbc(), EVP_des_ede3_cfb(), EVP_des_ede3_cfb1(), EVP_des_ede3_cfb8(), EVP_des_ede3_cfb64(), EVP_des_ede3_ecb(), EVP_des_ede3_ofb()"
113 Three-key triple DES in ECB, CBC, CFB with 64\-bit shift, CFB with 1\-bit shift,
114 CFB with 8\-bit shift and OFB modes.
115 .IP \fBEVP_des_ede3_wrap()\fR 4
116 .IX Item "EVP_des_ede3_wrap()"
117 Triple-DES key wrap according to RFC 3217 Section 3.
118 .SH NOTES
119 .IX Header "NOTES"
120 Developers should be aware of the negative performance implications of
121 calling these functions multiple times and should consider using
122 \&\fBEVP_CIPHER_fetch\fR\|(3) with \fBEVP_CIPHER\-DES\fR\|(7) instead.
123 See "Performance" in \fBcrypto\fR\|(7) for further information.
124 .SH "RETURN VALUES"
125 .IX Header "RETURN VALUES"
126 These functions return an \fBEVP_CIPHER\fR structure that contains the
127 implementation of the symmetric cipher. See \fBEVP_CIPHER_meth_new\fR\|(3) for
128 details of the \fBEVP_CIPHER\fR structure.
129 .SH "SEE ALSO"
130 .IX Header "SEE ALSO"
131 \&\fBevp\fR\|(7),
132 \&\fBEVP_EncryptInit\fR\|(3),
133 \&\fBEVP_CIPHER_meth_new\fR\|(3)
134 .SH COPYRIGHT
135 .IX Header "COPYRIGHT"
136 Copyright 2017\-2023 The OpenSSL Project Authors. All Rights Reserved.
137 .PP
138 Licensed under the Apache License 2.0 (the "License"). You may not use
139 this file except in compliance with the License. You can obtain a copy
140 in the file LICENSE in the source distribution or at
141 <https://www.openssl.org/source/license.html>.