xref: /freebsd/crypto/openssl/doc/man3/EVP_cast5_cbc.pod (revision ad991e4c142ebabad7aef488ad97b189ecabb270)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk KimEVP_cast5_cbc,
6e71b7053SJung-uk KimEVP_cast5_cfb,
7c9cf7b5cSJung-uk KimEVP_cast5_cfb64,
8e71b7053SJung-uk KimEVP_cast5_ecb,
9e71b7053SJung-uk KimEVP_cast5_ofb
10e71b7053SJung-uk Kim- EVP CAST cipher
11e71b7053SJung-uk Kim
12e71b7053SJung-uk Kim=head1 SYNOPSIS
13e71b7053SJung-uk Kim
14e71b7053SJung-uk Kim #include <openssl/evp.h>
15e71b7053SJung-uk Kim
16b077aed3SPierre Pronchery const EVP_CIPHER *EVP_cast5_cbc(void);
17b077aed3SPierre Pronchery const EVP_CIPHER *EVP_cast5_cfb(void);
18b077aed3SPierre Pronchery const EVP_CIPHER *EVP_cast5_cfb64(void);
19b077aed3SPierre Pronchery const EVP_CIPHER *EVP_cast5_ecb(void);
20b077aed3SPierre Pronchery const EVP_CIPHER *EVP_cast5_ofb(void);
21e71b7053SJung-uk Kim
22e71b7053SJung-uk Kim=head1 DESCRIPTION
23e71b7053SJung-uk Kim
24e71b7053SJung-uk KimThe CAST encryption algorithm for EVP.
25e71b7053SJung-uk Kim
26e71b7053SJung-uk KimThis is a variable key length cipher.
27e71b7053SJung-uk Kim
28e71b7053SJung-uk Kim=over 4
29e71b7053SJung-uk Kim
30e71b7053SJung-uk Kim=item EVP_cast5_cbc(),
31e71b7053SJung-uk KimEVP_cast5_ecb(),
32e71b7053SJung-uk KimEVP_cast5_cfb(),
33c9cf7b5cSJung-uk KimEVP_cast5_cfb64(),
34e71b7053SJung-uk KimEVP_cast5_ofb()
35e71b7053SJung-uk Kim
36e71b7053SJung-uk KimCAST encryption algorithm in CBC, ECB, CFB and OFB modes respectively.
37e71b7053SJung-uk Kim
38e71b7053SJung-uk Kim=back
39e71b7053SJung-uk Kim
40b077aed3SPierre Pronchery=head1 NOTES
41b077aed3SPierre Pronchery
42b077aed3SPierre ProncheryDevelopers should be aware of the negative performance implications of
43b077aed3SPierre Proncherycalling these functions multiple times and should consider using
44*ad991e4cSEd MasteL<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-CAST(7)> instead.
45b077aed3SPierre ProncherySee L<crypto(7)/Performance> for further information.
46b077aed3SPierre Pronchery
47e71b7053SJung-uk Kim=head1 RETURN VALUES
48e71b7053SJung-uk Kim
49e71b7053SJung-uk KimThese functions return an B<EVP_CIPHER> structure that contains the
50e71b7053SJung-uk Kimimplementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
51e71b7053SJung-uk Kimdetails of the B<EVP_CIPHER> structure.
52e71b7053SJung-uk Kim
53e71b7053SJung-uk Kim=head1 SEE ALSO
54e71b7053SJung-uk Kim
55e71b7053SJung-uk KimL<evp(7)>,
56e71b7053SJung-uk KimL<EVP_EncryptInit(3)>,
57e71b7053SJung-uk KimL<EVP_CIPHER_meth_new(3)>
58e71b7053SJung-uk Kim
59e71b7053SJung-uk Kim=head1 COPYRIGHT
60e71b7053SJung-uk Kim
61b077aed3SPierre ProncheryCopyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
62e71b7053SJung-uk Kim
63b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
64e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
65e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
66e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
67e71b7053SJung-uk Kim
68e71b7053SJung-uk Kim=cut
69