EVP_des_cbc.pod 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. None of these algorithms are provided by the OpenSSL default provider.
  45. To use them it is necessary to load either the OpenSSL legacy provider or another
  46. implementation.
  47. =item EVP_des_ede(),
  48. EVP_des_ede_cbc(),
  49. EVP_des_ede_cfb(),
  50. EVP_des_ede_cfb64(),
  51. EVP_des_ede_ecb(),
  52. EVP_des_ede_ofb()
  53. Two key triple DES in ECB, CBC, CFB with 64-bit shift and OFB modes.
  54. =item EVP_des_ede3(),
  55. EVP_des_ede3_cbc(),
  56. EVP_des_ede3_cfb(),
  57. EVP_des_ede3_cfb1(),
  58. EVP_des_ede3_cfb8(),
  59. EVP_des_ede3_cfb64(),
  60. EVP_des_ede3_ecb(),
  61. EVP_des_ede3_ofb()
  62. Three-key triple DES in ECB, CBC, CFB with 64-bit shift, CFB with 1-bit shift,
  63. CFB with 8-bit shift and OFB modes.
  64. =item EVP_des_ede3_wrap()
  65. Triple-DES key wrap according to RFC 3217 Section 3.
  66. =back
  67. =head1 NOTES
  68. Developers should be aware of the negative performance implications of
  69. calling these functions multiple times and should consider using
  70. L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-DES(7)> instead.
  71. See L<crypto(7)/Performance> for further information.
  72. =head1 RETURN VALUES
  73. These functions return an B<EVP_CIPHER> structure that contains the
  74. implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
  75. details of the B<EVP_CIPHER> structure.
  76. =head1 SEE ALSO
  77. L<evp(7)>,
  78. L<EVP_EncryptInit(3)>,
  79. L<EVP_CIPHER_meth_new(3)>
  80. =head1 COPYRIGHT
  81. Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
  82. Licensed under the Apache License 2.0 (the "License"). You may not use
  83. this file except in compliance with the License. You can obtain a copy
  84. in the file LICENSE in the source distribution or at
  85. L<https://www.openssl.org/source/license.html>.
  86. =cut