2 * Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the OpenSSL license (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>
11 #if OPENSSL_API_COMPAT >= 0x00908000L
12 NON_EMPTY_TRANSLATION_UNIT
15 # include <openssl/evp.h>
18 * Define some deprecated functions, so older programs don't crash and burn
19 * too quickly. On Windows and VMS, these will never be used, since
20 * functions and variables in shared libraries are selected by entry point
21 * location, not by name.
24 # ifndef OPENSSL_NO_BF
26 const EVP_CIPHER *EVP_bf_cfb(void);
27 const EVP_CIPHER *EVP_bf_cfb(void)
29 return EVP_bf_cfb64();
33 # ifndef OPENSSL_NO_DES
35 const EVP_CIPHER *EVP_des_cfb(void);
36 const EVP_CIPHER *EVP_des_cfb(void)
38 return EVP_des_cfb64();
41 # undef EVP_des_ede3_cfb
42 const EVP_CIPHER *EVP_des_ede3_cfb(void);
43 const EVP_CIPHER *EVP_des_ede3_cfb(void)
45 return EVP_des_ede3_cfb64();
48 # undef EVP_des_ede_cfb
49 const EVP_CIPHER *EVP_des_ede_cfb(void);
50 const EVP_CIPHER *EVP_des_ede_cfb(void)
52 return EVP_des_ede_cfb64();
56 # ifndef OPENSSL_NO_IDEA
58 const EVP_CIPHER *EVP_idea_cfb(void);
59 const EVP_CIPHER *EVP_idea_cfb(void)
61 return EVP_idea_cfb64();
65 # ifndef OPENSSL_NO_RC2
67 const EVP_CIPHER *EVP_rc2_cfb(void);
68 const EVP_CIPHER *EVP_rc2_cfb(void)
70 return EVP_rc2_cfb64();
74 # ifndef OPENSSL_NO_CAST
76 const EVP_CIPHER *EVP_cast5_cfb(void);
77 const EVP_CIPHER *EVP_cast5_cfb(void)
79 return EVP_cast5_cfb64();
83 # ifndef OPENSSL_NO_RC5
84 # undef EVP_rc5_32_12_16_cfb
85 const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void);
86 const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void)
88 return EVP_rc5_32_12_16_cfb64();
92 # undef EVP_aes_128_cfb
93 const EVP_CIPHER *EVP_aes_128_cfb(void);
94 const EVP_CIPHER *EVP_aes_128_cfb(void)
96 return EVP_aes_128_cfb128();
99 # undef EVP_aes_192_cfb
100 const EVP_CIPHER *EVP_aes_192_cfb(void);
101 const EVP_CIPHER *EVP_aes_192_cfb(void)
103 return EVP_aes_192_cfb128();
106 # undef EVP_aes_256_cfb
107 const EVP_CIPHER *EVP_aes_256_cfb(void);
108 const EVP_CIPHER *EVP_aes_256_cfb(void)
110 return EVP_aes_256_cfb128();