2 * Copyright 2004-2020 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
10 #include <openssl/opensslconf.h>
12 #include <openssl/evp.h>
15 * Define some deprecated functions, so older programs don't crash and burn
16 * too quickly. On Windows and VMS, these will never be used, since
17 * functions and variables in shared libraries are selected by entry point
18 * location, not by name.
23 const EVP_CIPHER *EVP_bf_cfb(void);
24 const EVP_CIPHER *EVP_bf_cfb(void)
26 return EVP_bf_cfb64();
30 #ifndef OPENSSL_NO_DES
32 const EVP_CIPHER *EVP_des_cfb(void);
33 const EVP_CIPHER *EVP_des_cfb(void)
35 return EVP_des_cfb64();
38 # undef EVP_des_ede3_cfb
39 const EVP_CIPHER *EVP_des_ede3_cfb(void);
40 const EVP_CIPHER *EVP_des_ede3_cfb(void)
42 return EVP_des_ede3_cfb64();
45 # undef EVP_des_ede_cfb
46 const EVP_CIPHER *EVP_des_ede_cfb(void);
47 const EVP_CIPHER *EVP_des_ede_cfb(void)
49 return EVP_des_ede_cfb64();
53 #ifndef OPENSSL_NO_IDEA
55 const EVP_CIPHER *EVP_idea_cfb(void);
56 const EVP_CIPHER *EVP_idea_cfb(void)
58 return EVP_idea_cfb64();
62 #ifndef OPENSSL_NO_RC2
64 const EVP_CIPHER *EVP_rc2_cfb(void);
65 const EVP_CIPHER *EVP_rc2_cfb(void)
67 return EVP_rc2_cfb64();
71 #ifndef OPENSSL_NO_CAST
73 const EVP_CIPHER *EVP_cast5_cfb(void);
74 const EVP_CIPHER *EVP_cast5_cfb(void)
76 return EVP_cast5_cfb64();
80 #ifndef OPENSSL_NO_RC5
81 # undef EVP_rc5_32_12_16_cfb
82 const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void);
83 const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void)
85 return EVP_rc5_32_12_16_cfb64();
89 #undef EVP_aes_128_cfb
90 const EVP_CIPHER *EVP_aes_128_cfb(void);
91 const EVP_CIPHER *EVP_aes_128_cfb(void)
93 return EVP_aes_128_cfb128();
96 #undef EVP_aes_192_cfb
97 const EVP_CIPHER *EVP_aes_192_cfb(void);
98 const EVP_CIPHER *EVP_aes_192_cfb(void)
100 return EVP_aes_192_cfb128();
103 #undef EVP_aes_256_cfb
104 const EVP_CIPHER *EVP_aes_256_cfb(void);
105 const EVP_CIPHER *EVP_aes_256_cfb(void)
107 return EVP_aes_256_cfb128();