1EVP_RC4(3ossl) OpenSSL EVP_RC4(3ossl)
2
3
4
6 EVP_rc4, EVP_rc4_40, EVP_rc4_hmac_md5 - EVP RC4 stream cipher
7
9 #include <openssl/evp.h>
10
11 const EVP_CIPHER *EVP_rc4(void);
12 const EVP_CIPHER *EVP_rc4_40(void);
13 const EVP_CIPHER *EVP_rc4_hmac_md5(void);
14
16 The RC4 stream cipher for EVP.
17
18 EVP_rc4()
19 RC4 stream cipher. This is a variable key length cipher with a
20 default key length of 128 bits.
21
22 EVP_rc4_40()
23 RC4 stream cipher with 40 bit key length.
24
25 WARNING: this function is obsolete. Its usage should be replaced
26 with the EVP_rc4() and the EVP_CIPHER_CTX_set_key_length()
27 functions.
28
29 EVP_rc4_hmac_md5()
30 Authenticated encryption with the RC4 stream cipher with MD5 as
31 HMAC.
32
33 WARNING: this is not intended for usage outside of TLS and requires
34 calling of some undocumented ctrl functions. These ciphers do not
35 conform to the EVP AEAD interface.
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-2020 The OpenSSL Project Authors. All Rights Reserved.
47
48 Licensed under the Apache License 2.0 (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
553.0.5 2022-07-05 EVP_RC4(3ossl)