1EVP_RC5_32_12_16_CBC(3) OpenSSL EVP_RC5_32_12_16_CBC(3)
2
3
4
6 EVP_rc5_32_12_16_cbc, EVP_rc5_32_12_16_cfb, EVP_rc5_32_12_16_cfb64,
7 EVP_rc5_32_12_16_ecb, EVP_rc5_32_12_16_ofb - EVP RC5 cipher
8
10 #include <openssl/evp.h>
11
12 const EVP_CIPHER *EVP_rc5_32_12_16_cbc(void)
13 const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void)
14 const EVP_CIPHER *EVP_rc5_32_12_16_cfb64(void)
15 const EVP_CIPHER *EVP_rc5_32_12_16_ecb(void)
16 const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void)
17
19 The RC5 encryption algorithm for EVP.
20
21 EVP_rc5_32_12_16_cbc(), EVP_rc5_32_12_16_cfb(),
22 EVP_rc5_32_12_16_cfb64(), EVP_rc5_32_12_16_ecb(),
23 EVP_rc5_32_12_16_ofb()
24 RC5 encryption algorithm in CBC, CFB, ECB and OFB modes
25 respectively. This is a variable key length cipher with an
26 additional "number of rounds" parameter. By default the key length
27 is set to 128 bits and 12 rounds. Alternative key lengths can be
28 set using EVP_CIPHER_CTX_set_key_length(3). The maximum key length
29 is 2040 bits.
30
31 The following rc5 specific ctrls are supported (see
32 EVP_CIPHER_CTX_ctrl(3)).
33
34 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_SET_RC5_ROUNDS, rounds, NULL)
35 Sets the number of rounds to rounds. This must be one of
36 RC5_8_ROUNDS, RC5_12_ROUNDS or RC5_16_ROUNDS.
37
38 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GET_RC5_ROUNDS, 0, &rounds)
39 Stores the number of rounds currently configured in *rounds
40 where *rounds is an int.
41
43 These functions return an EVP_CIPHER structure that contains the
44 implementation of the symmetric cipher. See EVP_CIPHER_meth_new(3) for
45 details of the EVP_CIPHER structure.
46
48 evp(7), EVP_EncryptInit(3), EVP_CIPHER_meth_new(3)
49
51 Copyright 2017-2019 The OpenSSL Project Authors. All Rights Reserved.
52
53 Licensed under the OpenSSL license (the "License"). You may not use
54 this file except in compliance with the License. You can obtain a copy
55 in the file LICENSE in the source distribution or at
56 <https://www.openssl.org/source/license.html>.
57
58
59
601.1.1q 2023-07-20 EVP_RC5_32_12_16_CBC(3)