1EVP_RC2_CBC(3ossl)                  OpenSSL                 EVP_RC2_CBC(3ossl)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

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

NOTES

40       Developers should be aware of the negative performance implications of
41       calling these functions multiple times and should consider using
42       EVP_CIPHER_fetch(3) instead.  See "Performance" in crypto(7) for
43       further information.
44

RETURN VALUES

46       These functions return an EVP_CIPHER structure that contains the
47       implementation of the symmetric cipher. See EVP_CIPHER_meth_new(3) for
48       details of the EVP_CIPHER structure.
49

SEE ALSO

51       evp(7), EVP_EncryptInit(3), EVP_CIPHER_meth_new(3)
52
54       Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
55
56       Licensed under the Apache License 2.0 (the "License").  You may not use
57       this file except in compliance with the License.  You can obtain a copy
58       in the file LICENSE in the source distribution or at
59       <https://www.openssl.org/source/license.html>.
60
61
62
633.1.1                             2023-08-31                EVP_RC2_CBC(3ossl)
Impressum