EVP_des_cbc.pod 2.0 KB

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