EVP_rc4.pod 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. =pod
  2. =head1 NAME
  3. EVP_rc4,
  4. EVP_rc4_40,
  5. EVP_rc4_hmac_md5
  6. - EVP RC4 stream cipher
  7. =head1 SYNOPSIS
  8. #include <openssl/evp.h>
  9. const EVP_CIPHER *EVP_rc4(void);
  10. const EVP_CIPHER *EVP_rc4_40(void);
  11. const EVP_CIPHER *EVP_rc4_hmac_md5(void);
  12. =head1 DESCRIPTION
  13. The RC4 stream cipher for EVP.
  14. =over 4
  15. =item EVP_rc4()
  16. RC4 stream cipher. This is a variable key length cipher with a default key
  17. length of 128 bits.
  18. =item EVP_rc4_40()
  19. RC4 stream cipher with 40 bit key length.
  20. WARNING: this function is obsolete. Its usage should be replaced with the
  21. EVP_rc4() and the EVP_CIPHER_CTX_set_key_length() functions.
  22. =item EVP_rc4_hmac_md5()
  23. Authenticated encryption with the RC4 stream cipher with MD5 as HMAC.
  24. WARNING: this is not intended for usage outside of TLS and requires calling of
  25. some undocumented ctrl functions. These ciphers do not conform to the EVP AEAD
  26. interface.
  27. =back
  28. =head1 RETURN VALUES
  29. These functions return an B<EVP_CIPHER> structure that contains the
  30. implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
  31. details of the B<EVP_CIPHER> structure.
  32. =head1 SEE ALSO
  33. L<evp(7)>,
  34. L<EVP_EncryptInit(3)>,
  35. L<EVP_CIPHER_meth_new(3)>
  36. =head1 COPYRIGHT
  37. Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
  38. Licensed under the Apache License 2.0 (the "License"). You may not use
  39. this file except in compliance with the License. You can obtain a copy
  40. in the file LICENSE in the source distribution or at
  41. L<https://www.openssl.org/source/license.html>.
  42. =cut