1EVP_RC2_CBC(3) OpenSSL EVP_RC2_CBC(3)
2
3
4
6 EVP_rc2_cbc, EVP_rc2_cfb, EVP_rc2_ecb, EVP_rc2_ofb, EVP_rc2_40_cbc,
7 EVP_rc2_64_cbc - EVP RC2 cipher
8
10 #include <openssl/evp.h>
11
12 const EVP_CIPHER *EVP_rc2_cbc(void)
13 const EVP_CIPHER *EVP_rc2_cfb(void)
14 const EVP_CIPHER *EVP_rc2_ecb(void)
15 const EVP_CIPHER *EVP_rc2_ofb(void)
16 const EVP_CIPHER *EVP_rc2_40_cbc(void)
17 const EVP_CIPHER *EVP_rc2_64_cbc(void)
18
20 The RC2 encryption algorithm for EVP.
21
22 EVP_rc2_cbc(), EVP_rc2_cfb(), EVP_rc2_ecb(), EVP_rc2_ofb()
23 RC2 encryption algorithm in CBC, CFB, ECB and OFB modes
24 respectively. This is a variable key length cipher with an
25 additional parameter called "effective key bits" or "effective key
26 length". By default both are set to 128 bits.
27
28 EVP_rc2_40_cbc(), EVP_rc2_64_cbc()
29 RC2 algorithm in CBC mode with a default key length and effective
30 key length of 40 and 64 bits.
31
32 WARNING: these functions are obsolete. Their usage should be
33 replaced with the EVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length()
34 and EVP_CIPHER_CTX_ctrl() functions to set the key length and
35 effective key length.
36
38 These functions return an EVP_CIPHER structure that contains the
39 implementation of the symmetric cipher. See EVP_CIPHER_meth_new(3) for
40 details of the EVP_CIPHER structure.
41
43 evp(7), EVP_EncryptInit(3), EVP_CIPHER_meth_new(3)
44
46 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
47
48 Licensed under the OpenSSL license (the "License"). You may not use
49 this file except in compliance with the License. You can obtain a copy
50 in the file LICENSE in the source distribution or at
51 <https://www.openssl.org/source/license.html>.
52
53
54
551.1.1 2018-09-11 EVP_RC2_CBC(3)