xref: /freebsd/crypto/openssl/doc/man3/EVP_desx_cbc.pod (revision ad991e4c142ebabad7aef488ad97b189ecabb270)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk KimEVP_desx_cbc
6e71b7053SJung-uk Kim- EVP DES-X cipher
7e71b7053SJung-uk Kim
8e71b7053SJung-uk Kim=head1 SYNOPSIS
9e71b7053SJung-uk Kim
10e71b7053SJung-uk Kim #include <openssl/evp.h>
11e71b7053SJung-uk Kim
12b077aed3SPierre Pronchery const EVP_CIPHER *EVP_desx_cbc(void);
13e71b7053SJung-uk Kim
14e71b7053SJung-uk Kim=head1 DESCRIPTION
15e71b7053SJung-uk Kim
16e71b7053SJung-uk KimThe DES-X encryption algorithm for EVP.
17e71b7053SJung-uk Kim
18e71b7053SJung-uk KimAll modes below use a key length of 128 bits and acts on blocks of 128-bits.
19e71b7053SJung-uk Kim
20e71b7053SJung-uk Kim=over 4
21e71b7053SJung-uk Kim
22e71b7053SJung-uk Kim=item EVP_desx_cbc()
23e71b7053SJung-uk Kim
24e71b7053SJung-uk KimThe DES-X algorithm in CBC mode.
25e71b7053SJung-uk Kim
26b077aed3SPierre ProncheryThis algorithm is not provided by the OpenSSL default provider.
27b077aed3SPierre ProncheryTo use it is necessary to load either the OpenSSL legacy provider or another
28b077aed3SPierre Proncheryimplementation.
29b077aed3SPierre Pronchery
30e71b7053SJung-uk Kim=back
31e71b7053SJung-uk Kim
32b077aed3SPierre ProncheryDevelopers should be aware of the negative performance implications of
33b077aed3SPierre Proncherycalling this function multiple times and should consider using
34*ad991e4cSEd MasteL<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-DES(7)> instead.
35b077aed3SPierre ProncherySee L<crypto(7)/Performance> for further information.
36b077aed3SPierre Pronchery
37e71b7053SJung-uk Kim=head1 RETURN VALUES
38e71b7053SJung-uk Kim
39e71b7053SJung-uk KimThese functions return an B<EVP_CIPHER> structure that contains the
40e71b7053SJung-uk Kimimplementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
41e71b7053SJung-uk Kimdetails of the B<EVP_CIPHER> structure.
42e71b7053SJung-uk Kim
43e71b7053SJung-uk Kim=head1 SEE ALSO
44e71b7053SJung-uk Kim
45e71b7053SJung-uk KimL<evp(7)>,
46e71b7053SJung-uk KimL<EVP_EncryptInit(3)>,
47e71b7053SJung-uk KimL<EVP_CIPHER_meth_new(3)>
48e71b7053SJung-uk Kim
49e71b7053SJung-uk Kim=head1 COPYRIGHT
50e71b7053SJung-uk Kim
51b077aed3SPierre ProncheryCopyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
52e71b7053SJung-uk Kim
53b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
54e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
55e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
56e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
57e71b7053SJung-uk Kim
58e71b7053SJung-uk Kim=cut
59e71b7053SJung-uk Kim
60