EVP_rc5_32_12_16_cbc.pod 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. =pod
  2. =head1 NAME
  3. EVP_rc5_32_12_16_cbc,
  4. EVP_rc5_32_12_16_cfb,
  5. EVP_rc5_32_12_16_ecb,
  6. EVP_rc5_32_12_16_ofb
  7. - EVP RC5 cipher
  8. =head1 SYNOPSIS
  9. #include <openssl/evp.h>
  10. const EVP_CIPHER *EVP_rc5_32_12_16_cbc(void)
  11. const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void)
  12. const EVP_CIPHER *EVP_rc5_32_12_16_ecb(void)
  13. const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void)
  14. =head1 DESCRIPTION
  15. The RC5 encryption algorithm for EVP.
  16. =over 4
  17. =item EVP_rc5_32_12_16_cbc(),
  18. EVP_rc5_32_12_16_cfb(),
  19. EVP_rc5_32_12_16_ecb(),
  20. EVP_rc5_32_12_16_ofb()
  21. RC5 encryption algorithm in CBC, CFB, ECB and OFB modes respectively. This is a
  22. variable key length cipher with an additional "number of rounds" parameter. By
  23. default the key length is set to 128 bits and 12 rounds.
  24. =back
  25. =head1 RETURN VALUES
  26. These functions return an B<EVP_CIPHER> structure that contains the
  27. implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
  28. details of the B<EVP_CIPHER> structure.
  29. =head1 BUGS
  30. Currently the number of rounds in RC5 can only be set to 8, 12 or 16.
  31. This is a limitation of the current RC5 code rather than the EVP interface.
  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 The OpenSSL Project Authors. All Rights Reserved.
  38. Licensed under the OpenSSL license (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