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