16 #include <openssl/evp.h>
18 const EVP_CIPHER *EVP_rc2_cbc(void);
19 const EVP_CIPHER *EVP_rc2_cfb(void);
20 const EVP_CIPHER *EVP_rc2_cfb64(void);
21 const EVP_CIPHER *EVP_rc2_ecb(void);
22 const EVP_CIPHER *EVP_rc2_ofb(void);
23 const EVP_CIPHER *EVP_rc2_40_cbc(void);
24 const EVP_CIPHER *EVP_rc2_64_cbc(void);
28 The RC2 encryption algorithm for EVP.
38 RC2 encryption algorithm in CBC, CFB, ECB and OFB modes respectively. This is a
39 variable key length cipher with an additional parameter called "effective key
40 bits" or "effective key length". By default both are set to 128 bits.
42 =item EVP_rc2_40_cbc(),
45 RC2 algorithm in CBC mode with a default key length and effective key length of
48 WARNING: these functions are obsolete. Their usage should be replaced with the
49 EVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length() and EVP_CIPHER_CTX_ctrl()
50 functions to set the key length and effective key length.
56 These functions return an B<EVP_CIPHER> structure that contains the
57 implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
58 details of the B<EVP_CIPHER> structure.
63 L<EVP_EncryptInit(3)>,
64 L<EVP_CIPHER_meth_new(3)>
68 Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
70 Licensed under the Apache License 2.0 (the "License"). You may not use
71 this file except in compliance with the License. You can obtain a copy
72 in the file LICENSE in the source distribution or at
73 L<https://www.openssl.org/source/license.html>.