EVP_rc5_32_12_16_cbc.pod 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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_cfb64,
  6. EVP_rc5_32_12_16_ecb,
  7. EVP_rc5_32_12_16_ofb
  8. - EVP RC5 cipher
  9. =head1 SYNOPSIS
  10. #include <openssl/evp.h>
  11. const EVP_CIPHER *EVP_rc5_32_12_16_cbc(void)
  12. const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void)
  13. const EVP_CIPHER *EVP_rc5_32_12_16_cfb64(void)
  14. const EVP_CIPHER *EVP_rc5_32_12_16_ecb(void)
  15. const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void)
  16. =head1 DESCRIPTION
  17. The RC5 encryption algorithm for EVP.
  18. =over 4
  19. =item EVP_rc5_32_12_16_cbc(),
  20. EVP_rc5_32_12_16_cfb(),
  21. EVP_rc5_32_12_16_cfb64(),
  22. EVP_rc5_32_12_16_ecb(),
  23. EVP_rc5_32_12_16_ofb()
  24. RC5 encryption algorithm in CBC, CFB, ECB and OFB modes respectively. This is a
  25. variable key length cipher with an additional "number of rounds" parameter. By
  26. default the key length is set to 128 bits and 12 rounds.
  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 BUGS
  33. Currently the number of rounds in RC5 can only be set to 8, 12 or 16.
  34. This is a limitation of the current RC5 code rather than the EVP interface.
  35. =head1 SEE ALSO
  36. L<evp(7)>,
  37. L<EVP_EncryptInit(3)>,
  38. L<EVP_CIPHER_meth_new(3)>
  39. =head1 COPYRIGHT
  40. Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
  41. Licensed under the Apache License 2.0 (the "License"). You may not use
  42. this file except in compliance with the License. You can obtain a copy
  43. in the file LICENSE in the source distribution or at
  44. L<https://www.openssl.org/source/license.html>.
  45. =cut