1EVP_RC5_32_12_16_CBC(3ossl) OpenSSL EVP_RC5_32_12_16_CBC(3ossl)
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 Developers should be aware of the negative performance implications of
44 calling these functions multiple times and should consider using
45 EVP_CIPHER_fetch(3) instead. See "Performance" in crypto(7) for
46 further information.
47
49 These functions return an EVP_CIPHER structure that contains the
50 implementation of the symmetric cipher. See EVP_CIPHER_meth_new(3) for
51 details of the EVP_CIPHER structure.
52
54 evp(7), EVP_EncryptInit(3), EVP_CIPHER_meth_new(3)
55
57 Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
58
59 Licensed under the Apache License 2.0 (the "License"). You may not use
60 this file except in compliance with the License. You can obtain a copy
61 in the file LICENSE in the source distribution or at
62 <https://www.openssl.org/source/license.html>.
63
64
65
663.0.9 2023-07-27 EVP_RC5_32_12_16_CBC(3ossl)