8 - EVP RC4 stream cipher
12 #include <openssl/evp.h>
14 const EVP_CIPHER *EVP_rc4(void);
15 const EVP_CIPHER *EVP_rc4_40(void);
16 const EVP_CIPHER *EVP_rc4_hmac_md5(void);
20 The RC4 stream cipher for EVP.
26 RC4 stream cipher. This is a variable key length cipher with a default key
31 RC4 stream cipher with 40 bit key length.
33 WARNING: this function is obsolete. Its usage should be replaced with the
34 EVP_rc4() and the EVP_CIPHER_CTX_set_key_length() functions.
36 =item EVP_rc4_hmac_md5()
38 Authenticated encryption with the RC4 stream cipher with MD5 as HMAC.
40 WARNING: this is not intended for usage outside of TLS and requires calling of
41 some undocumented ctrl functions. These ciphers do not conform to the EVP AEAD
48 Developers should be aware of the negative performance implications of
49 calling these functions multiple times and should consider using
50 L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-RC4(7)> instead.
51 See L<crypto(7)/Performance> for further information.
55 These functions return an B<EVP_CIPHER> structure that contains the
56 implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
57 details of the B<EVP_CIPHER> structure.
62 L<EVP_EncryptInit(3)>,
63 L<EVP_CIPHER_meth_new(3)>
67 Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
69 Licensed under the Apache License 2.0 (the "License"). You may not use
70 this file except in compliance with the License. You can obtain a copy
71 in the file LICENSE in the source distribution or at
72 L<https://www.openssl.org/source/license.html>.