1 1.1 christos =pod 2 1.1 christos 3 1.1 christos =head1 NAME 4 1.1 christos 5 1.1 christos EVP_des_cbc, 6 1.1 christos EVP_des_cfb, 7 1.1 christos EVP_des_cfb1, 8 1.1 christos EVP_des_cfb8, 9 1.1 christos EVP_des_cfb64, 10 1.1 christos EVP_des_ecb, 11 1.1 christos EVP_des_ofb, 12 1.1 christos EVP_des_ede, 13 1.1 christos EVP_des_ede_cbc, 14 1.1 christos EVP_des_ede_cfb, 15 1.1 christos EVP_des_ede_cfb64, 16 1.1 christos EVP_des_ede_ecb, 17 1.1 christos EVP_des_ede_ofb, 18 1.1 christos EVP_des_ede3, 19 1.1 christos EVP_des_ede3_cbc, 20 1.1 christos EVP_des_ede3_cfb, 21 1.1 christos EVP_des_ede3_cfb1, 22 1.1 christos EVP_des_ede3_cfb8, 23 1.1 christos EVP_des_ede3_cfb64, 24 1.1 christos EVP_des_ede3_ecb, 25 1.1 christos EVP_des_ede3_ofb, 26 1.1 christos EVP_des_ede3_wrap 27 1.1 christos - EVP DES cipher 28 1.1 christos 29 1.1 christos =head1 SYNOPSIS 30 1.1 christos 31 1.1 christos =for openssl generic 32 1.1 christos 33 1.1 christos #include <openssl/evp.h> 34 1.1 christos 35 1.1 christos const EVP_CIPHER *EVP_ciphername(void) 36 1.1 christos 37 1.1 christos I<EVP_ciphername> is used a placeholder for any of the described cipher 38 1.1 christos functions, such as I<EVP_des_cbc>. 39 1.1 christos 40 1.1 christos =head1 DESCRIPTION 41 1.1 christos 42 1.1 christos The DES encryption algorithm for EVP. 43 1.1 christos 44 1.1 christos =over 4 45 1.1 christos 46 1.1 christos =item EVP_des_cbc(), 47 1.1 christos EVP_des_ecb(), 48 1.1 christos EVP_des_cfb(), 49 1.1 christos EVP_des_cfb1(), 50 1.1 christos EVP_des_cfb8(), 51 1.1 christos EVP_des_cfb64(), 52 1.1 christos EVP_des_ofb() 53 1.1 christos 54 1.1 christos DES in CBC, ECB, CFB with 64-bit shift, CFB with 1-bit shift, CFB with 8-bit 55 1.1 christos shift and OFB modes. 56 1.1 christos 57 1.1 christos None of these algorithms are provided by the OpenSSL default provider. 58 1.1 christos To use them it is necessary to load either the OpenSSL legacy provider or another 59 1.1 christos implementation. 60 1.1 christos 61 1.1 christos =item EVP_des_ede(), 62 1.1 christos EVP_des_ede_cbc(), 63 1.1 christos EVP_des_ede_cfb(), 64 1.1 christos EVP_des_ede_cfb64(), 65 1.1 christos EVP_des_ede_ecb(), 66 1.1 christos EVP_des_ede_ofb() 67 1.1 christos 68 1.1 christos Two key triple DES in ECB, CBC, CFB with 64-bit shift and OFB modes. 69 1.1 christos 70 1.1 christos =item EVP_des_ede3(), 71 1.1 christos EVP_des_ede3_cbc(), 72 1.1 christos EVP_des_ede3_cfb(), 73 1.1 christos EVP_des_ede3_cfb1(), 74 1.1 christos EVP_des_ede3_cfb8(), 75 1.1 christos EVP_des_ede3_cfb64(), 76 1.1 christos EVP_des_ede3_ecb(), 77 1.1 christos EVP_des_ede3_ofb() 78 1.1 christos 79 1.1 christos Three-key triple DES in ECB, CBC, CFB with 64-bit shift, CFB with 1-bit shift, 80 1.1 christos CFB with 8-bit shift and OFB modes. 81 1.1 christos 82 1.1 christos =item EVP_des_ede3_wrap() 83 1.1 christos 84 1.1 christos Triple-DES key wrap according to RFC 3217 Section 3. 85 1.1 christos 86 1.1 christos =back 87 1.1 christos 88 1.1.1.2 christos =head1 NOTES 89 1.1.1.2 christos 90 1.1.1.2 christos Developers should be aware of the negative performance implications of 91 1.1.1.2 christos calling these functions multiple times and should consider using 92 1.1.1.3 christos L<EVP_CIPHER_fetch(3)> with L<EVP_CIPHER-DES(7)> instead. 93 1.1.1.2 christos See L<crypto(7)/Performance> for further information. 94 1.1.1.2 christos 95 1.1 christos =head1 RETURN VALUES 96 1.1 christos 97 1.1 christos These functions return an B<EVP_CIPHER> structure that contains the 98 1.1 christos implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for 99 1.1 christos details of the B<EVP_CIPHER> structure. 100 1.1 christos 101 1.1 christos =head1 SEE ALSO 102 1.1 christos 103 1.1 christos L<evp(7)>, 104 1.1 christos L<EVP_EncryptInit(3)>, 105 1.1 christos L<EVP_CIPHER_meth_new(3)> 106 1.1 christos 107 1.1 christos =head1 COPYRIGHT 108 1.1 christos 109 1.1.1.2 christos Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved. 110 1.1 christos 111 1.1 christos Licensed under the Apache License 2.0 (the "License"). You may not use 112 1.1 christos this file except in compliance with the License. You can obtain a copy 113 1.1 christos in the file LICENSE in the source distribution or at 114 1.1 christos L<https://www.openssl.org/source/license.html>. 115 1.1 christos 116 1.1 christos =cut 117 1.1 christos 118