EVP_rc2_cbc.pod 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. =pod
  2. =head1 NAME
  3. EVP_rc2_cbc,
  4. EVP_rc2_cfb,
  5. EVP_rc2_ecb,
  6. EVP_rc2_ofb,
  7. EVP_rc2_40_cbc,
  8. EVP_rc2_64_cbc
  9. - EVP RC2 cipher
  10. =head1 SYNOPSIS
  11. #include <openssl/evp.h>
  12. const EVP_CIPHER *EVP_rc2_cbc(void)
  13. const EVP_CIPHER *EVP_rc2_cfb(void)
  14. const EVP_CIPHER *EVP_rc2_ecb(void)
  15. const EVP_CIPHER *EVP_rc2_ofb(void)
  16. const EVP_CIPHER *EVP_rc2_40_cbc(void)
  17. const EVP_CIPHER *EVP_rc2_64_cbc(void)
  18. =head1 DESCRIPTION
  19. The RC2 encryption algorithm for EVP.
  20. =over 4
  21. =item EVP_rc2_cbc(),
  22. EVP_rc2_cfb(),
  23. EVP_rc2_ecb(),
  24. EVP_rc2_ofb()
  25. RC2 encryption algorithm in CBC, CFB, ECB and OFB modes respectively. This is a
  26. variable key length cipher with an additional parameter called "effective key
  27. bits" or "effective key length". By default both are set to 128 bits.
  28. =item EVP_rc2_40_cbc(),
  29. EVP_rc2_64_cbc()
  30. RC2 algorithm in CBC mode with a default key length and effective key length of
  31. 40 and 64 bits.
  32. WARNING: these functions are obsolete. Their usage should be replaced with the
  33. EVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length() and EVP_CIPHER_CTX_ctrl()
  34. functions to set the key length and effective key length.
  35. =back
  36. =head1 RETURN VALUES
  37. These functions return an B<EVP_CIPHER> structure that contains the
  38. implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
  39. details of the B<EVP_CIPHER> structure.
  40. =head1 SEE ALSO
  41. L<evp(7)>,
  42. L<EVP_EncryptInit(3)>,
  43. L<EVP_CIPHER_meth_new(3)>
  44. =head1 COPYRIGHT
  45. Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
  46. Licensed under the OpenSSL license (the "License"). You may not use
  47. this file except in compliance with the License. You can obtain a copy
  48. in the file LICENSE in the source distribution or at
  49. L<https://www.openssl.org/source/license.html>.
  50. =cut