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