15 #include <openssl/evp.h>
17 const EVP_CIPHER *EVP_rc2_cbc(void)
18 const EVP_CIPHER *EVP_rc2_cfb(void)
19 const EVP_CIPHER *EVP_rc2_ecb(void)
20 const EVP_CIPHER *EVP_rc2_ofb(void)
21 const EVP_CIPHER *EVP_rc2_40_cbc(void)
22 const EVP_CIPHER *EVP_rc2_64_cbc(void)
26 The RC2 encryption algorithm for EVP.
35 RC2 encryption algorithm in CBC, CFB, ECB and OFB modes respectively. This is a
36 variable key length cipher with an additional parameter called "effective key
37 bits" or "effective key length". By default both are set to 128 bits.
39 =item EVP_rc2_40_cbc(),
42 RC2 algorithm in CBC mode with a default key length and effective key length of
45 WARNING: these functions are obsolete. Their usage should be replaced with the
46 EVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length() and EVP_CIPHER_CTX_ctrl()
47 functions to set the key length and effective key length.
53 These functions return an B<EVP_CIPHER> structure that contains the
54 implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
55 details of the B<EVP_CIPHER> structure.
60 L<EVP_EncryptInit(3)>,
61 L<EVP_CIPHER_meth_new(3)>
65 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
67 Licensed under the OpenSSL license (the "License"). You may not use
68 this file except in compliance with the License. You can obtain a copy
69 in the file LICENSE in the source distribution or at
70 L<https://www.openssl.org/source/license.html>.