xref: /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/EVP_rc2_cbc.pod (revision 4724848cf0da353df257f730694b7882798e5daf)
1*4724848cSchristos=pod
2*4724848cSchristos
3*4724848cSchristos=head1 NAME
4*4724848cSchristos
5*4724848cSchristosEVP_rc2_cbc,
6*4724848cSchristosEVP_rc2_cfb,
7*4724848cSchristosEVP_rc2_cfb64,
8*4724848cSchristosEVP_rc2_ecb,
9*4724848cSchristosEVP_rc2_ofb,
10*4724848cSchristosEVP_rc2_40_cbc,
11*4724848cSchristosEVP_rc2_64_cbc
12*4724848cSchristos- EVP RC2 cipher
13*4724848cSchristos
14*4724848cSchristos=head1 SYNOPSIS
15*4724848cSchristos
16*4724848cSchristos #include <openssl/evp.h>
17*4724848cSchristos
18*4724848cSchristos const EVP_CIPHER *EVP_rc2_cbc(void)
19*4724848cSchristos const EVP_CIPHER *EVP_rc2_cfb(void)
20*4724848cSchristos const EVP_CIPHER *EVP_rc2_cfb64(void)
21*4724848cSchristos const EVP_CIPHER *EVP_rc2_ecb(void)
22*4724848cSchristos const EVP_CIPHER *EVP_rc2_ofb(void)
23*4724848cSchristos const EVP_CIPHER *EVP_rc2_40_cbc(void)
24*4724848cSchristos const EVP_CIPHER *EVP_rc2_64_cbc(void)
25*4724848cSchristos
26*4724848cSchristos=head1 DESCRIPTION
27*4724848cSchristos
28*4724848cSchristosThe RC2 encryption algorithm for EVP.
29*4724848cSchristos
30*4724848cSchristos=over 4
31*4724848cSchristos
32*4724848cSchristos=item EVP_rc2_cbc(),
33*4724848cSchristosEVP_rc2_cfb(),
34*4724848cSchristosEVP_rc2_cfb64(),
35*4724848cSchristosEVP_rc2_ecb(),
36*4724848cSchristosEVP_rc2_ofb()
37*4724848cSchristos
38*4724848cSchristosRC2 encryption algorithm in CBC, CFB, ECB and OFB modes respectively. This is a
39*4724848cSchristosvariable key length cipher with an additional parameter called "effective key
40*4724848cSchristosbits" or "effective key length". By default both are set to 128 bits.
41*4724848cSchristos
42*4724848cSchristos=item EVP_rc2_40_cbc(),
43*4724848cSchristosEVP_rc2_64_cbc()
44*4724848cSchristos
45*4724848cSchristosRC2 algorithm in CBC mode with a default key length and effective key length of
46*4724848cSchristos40 and 64 bits.
47*4724848cSchristos
48*4724848cSchristosWARNING: these functions are obsolete. Their usage should be replaced with the
49*4724848cSchristosEVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length() and EVP_CIPHER_CTX_ctrl()
50*4724848cSchristosfunctions to set the key length and effective key length.
51*4724848cSchristos
52*4724848cSchristos=back
53*4724848cSchristos
54*4724848cSchristos=head1 RETURN VALUES
55*4724848cSchristos
56*4724848cSchristosThese functions return an B<EVP_CIPHER> structure that contains the
57*4724848cSchristosimplementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
58*4724848cSchristosdetails of the B<EVP_CIPHER> structure.
59*4724848cSchristos
60*4724848cSchristos=head1 SEE ALSO
61*4724848cSchristos
62*4724848cSchristosL<evp(7)>,
63*4724848cSchristosL<EVP_EncryptInit(3)>,
64*4724848cSchristosL<EVP_CIPHER_meth_new(3)>
65*4724848cSchristos
66*4724848cSchristos=head1 COPYRIGHT
67*4724848cSchristos
68*4724848cSchristosCopyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
69*4724848cSchristos
70*4724848cSchristosLicensed under the OpenSSL license (the "License").  You may not use
71*4724848cSchristosthis file except in compliance with the License.  You can obtain a copy
72*4724848cSchristosin the file LICENSE in the source distribution or at
73*4724848cSchristosL<https://www.openssl.org/source/license.html>.
74*4724848cSchristos
75*4724848cSchristos=cut
76*4724848cSchristos
77