EVP_des.pod 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. =pod
  2. =head1 NAME
  3. EVP_des_cbc,
  4. EVP_des_cfb,
  5. EVP_des_cfb1,
  6. EVP_des_cfb8,
  7. EVP_des_ecb,
  8. EVP_des_ede,
  9. EVP_des_ede_cfb,
  10. EVP_des_ede_ofb,
  11. EVP_des_ofb,
  12. EVP_des_ede3,
  13. EVP_des_ede3_cbc,
  14. EVP_des_ede3_cfb,
  15. EVP_des_ede3_cfb1,
  16. EVP_des_ede3_cfb8,
  17. EVP_des_ede3_ofb,
  18. EVP_des_ede3_wrap,
  19. EVP_des_ede_cbc
  20. - EVP DES cipher
  21. =head1 SYNOPSIS
  22. =for comment generic
  23. #include <openssl/evp.h>
  24. const EVP_CIPHER *EVP_ciphername(void)
  25. I<EVP_ciphername> is used a placeholder for any of the described cipher
  26. functions, such as I<EVP_des_cbc>.
  27. =head1 DESCRIPTION
  28. The DES encryption algorithm for EVP.
  29. =over 4
  30. =item EVP_des_cbc(),
  31. EVP_des_ecb(),
  32. EVP_des_cfb(),
  33. EVP_des_cfb1(),
  34. EVP_des_cfb8(),
  35. EVP_des_ofb()
  36. DES in CBC, ECB, CFB with 128-bit shift, CFB with 1-bit shift, CFB with 8-bit
  37. shift and OFB modes respectively.
  38. =item EVP_des_ede(),
  39. EVP_des_ede_cbc(),
  40. EVP_des_ede_ofb(),
  41. EVP_des_ede_cfb()
  42. Two key triple DES in ECB, CBC, CFB and OFB modes respectively.
  43. =item EVP_des_ede3(),
  44. EVP_des_ede3_cbc(),
  45. EVP_des_ede3_cfb(),
  46. EVP_des_ede3_cfb1(),
  47. EVP_des_ede3_cfb8(),
  48. EVP_des_ede3_ofb()
  49. Three-key triple DES in ECB, CBC, CFB with 128-bit shift, CFB with 1-bit shift,
  50. CFB with 8-bit shift and OFB modes respectively.
  51. =item EVP_des_ede3_wrap()
  52. Triple-DES key wrap according to RFC 3217 Section 3.
  53. =back
  54. =head1 RETURN VALUES
  55. These functions return an B<EVP_CIPHER> structure that contains the
  56. implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
  57. details of the B<EVP_CIPHER> structure.
  58. =head1 SEE ALSO
  59. L<evp(7)>,
  60. L<EVP_EncryptInit(3)>,
  61. L<EVP_CIPHER_meth_new(3)>
  62. =head1 COPYRIGHT
  63. Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
  64. Licensed under the OpenSSL license (the "License"). You may not use
  65. this file except in compliance with the License. You can obtain a copy
  66. in the file LICENSE in the source distribution or at
  67. L<https://www.openssl.org/source/license.html>.
  68. =cut