1e71b7053SJung-uk Kim=pod 2e71b7053SJung-uk Kim 3e71b7053SJung-uk Kim=head1 NAME 4e71b7053SJung-uk Kim 5e71b7053SJung-uk KimEVP_rc4, 6e71b7053SJung-uk KimEVP_rc4_40, 7e71b7053SJung-uk KimEVP_rc4_hmac_md5 8e71b7053SJung-uk Kim- EVP RC4 stream cipher 9e71b7053SJung-uk Kim 10e71b7053SJung-uk Kim=head1 SYNOPSIS 11e71b7053SJung-uk Kim 12e71b7053SJung-uk Kim #include <openssl/evp.h> 13e71b7053SJung-uk Kim 14b077aed3SPierre Pronchery const EVP_CIPHER *EVP_rc4(void); 15b077aed3SPierre Pronchery const EVP_CIPHER *EVP_rc4_40(void); 16b077aed3SPierre Pronchery const EVP_CIPHER *EVP_rc4_hmac_md5(void); 17e71b7053SJung-uk Kim 18e71b7053SJung-uk Kim=head1 DESCRIPTION 19e71b7053SJung-uk Kim 20e71b7053SJung-uk KimThe RC4 stream cipher for EVP. 21e71b7053SJung-uk Kim 22e71b7053SJung-uk Kim=over 4 23e71b7053SJung-uk Kim 24e71b7053SJung-uk Kim=item EVP_rc4() 25e71b7053SJung-uk Kim 26e71b7053SJung-uk KimRC4 stream cipher. This is a variable key length cipher with a default key 27e71b7053SJung-uk Kimlength of 128 bits. 28e71b7053SJung-uk Kim 29e71b7053SJung-uk Kim=item EVP_rc4_40() 30e71b7053SJung-uk Kim 31e71b7053SJung-uk KimRC4 stream cipher with 40 bit key length. 32e71b7053SJung-uk Kim 33e71b7053SJung-uk KimWARNING: this function is obsolete. Its usage should be replaced with the 34e71b7053SJung-uk KimEVP_rc4() and the EVP_CIPHER_CTX_set_key_length() functions. 35e71b7053SJung-uk Kim 36e71b7053SJung-uk Kim=item EVP_rc4_hmac_md5() 37e71b7053SJung-uk Kim 38e71b7053SJung-uk KimAuthenticated encryption with the RC4 stream cipher with MD5 as HMAC. 39e71b7053SJung-uk Kim 40e71b7053SJung-uk KimWARNING: this is not intended for usage outside of TLS and requires calling of 41e71b7053SJung-uk Kimsome undocumented ctrl functions. These ciphers do not conform to the EVP AEAD 42e71b7053SJung-uk Kiminterface. 43e71b7053SJung-uk Kim 44e71b7053SJung-uk Kim=back 45e71b7053SJung-uk Kim 46b077aed3SPierre Pronchery=head1 NOTES 47b077aed3SPierre Pronchery 48b077aed3SPierre ProncheryDevelopers should be aware of the negative performance implications of 49b077aed3SPierre Proncherycalling these functions multiple times and should consider using 50*ad991e4cSEd MasteL<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-RC4(7)> instead. 51b077aed3SPierre ProncherySee L<crypto(7)/Performance> for further information. 52b077aed3SPierre Pronchery 53e71b7053SJung-uk Kim=head1 RETURN VALUES 54e71b7053SJung-uk Kim 55e71b7053SJung-uk KimThese functions return an B<EVP_CIPHER> structure that contains the 56e71b7053SJung-uk Kimimplementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for 57e71b7053SJung-uk Kimdetails of the B<EVP_CIPHER> structure. 58e71b7053SJung-uk Kim 59e71b7053SJung-uk Kim=head1 SEE ALSO 60e71b7053SJung-uk Kim 61e71b7053SJung-uk KimL<evp(7)>, 62e71b7053SJung-uk KimL<EVP_EncryptInit(3)>, 63e71b7053SJung-uk KimL<EVP_CIPHER_meth_new(3)> 64e71b7053SJung-uk Kim 65e71b7053SJung-uk Kim=head1 COPYRIGHT 66e71b7053SJung-uk Kim 67b077aed3SPierre ProncheryCopyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved. 68e71b7053SJung-uk Kim 69b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License"). You may not use 70e71b7053SJung-uk Kimthis file except in compliance with the License. You can obtain a copy 71e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at 72e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>. 73e71b7053SJung-uk Kim 74e71b7053SJung-uk Kim=cut 75