]>
Commit | Line | Data |
---|---|---|
0f113f3e | 1 | /* |
62867571 | 2 | * Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved. |
1c7a0e28 | 3 | * |
4a8b0c55 | 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
62867571 RS |
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 | |
1c7a0e28 RL |
8 | */ |
9 | ||
98186eb4 | 10 | #include <openssl/opensslconf.h> |
fcd2d5a6 | 11 | #if OPENSSL_API_0_9_8 |
effaf4de | 12 | NON_EMPTY_TRANSLATION_UNIT |
7771b6c5 GT |
13 | #else |
14 | ||
0f113f3e | 15 | # include <openssl/evp.h> |
1c7a0e28 | 16 | |
0f113f3e MC |
17 | /* |
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. | |
22 | */ | |
1c7a0e28 | 23 | |
0f113f3e MC |
24 | # ifndef OPENSSL_NO_BF |
25 | # undef EVP_bf_cfb | |
b5855b2f | 26 | const EVP_CIPHER *EVP_bf_cfb(void); |
0f113f3e MC |
27 | const EVP_CIPHER *EVP_bf_cfb(void) |
28 | { | |
29 | return EVP_bf_cfb64(); | |
30 | } | |
31 | # endif | |
1c7a0e28 | 32 | |
0f113f3e MC |
33 | # ifndef OPENSSL_NO_DES |
34 | # undef EVP_des_cfb | |
b5855b2f | 35 | const EVP_CIPHER *EVP_des_cfb(void); |
0f113f3e MC |
36 | const EVP_CIPHER *EVP_des_cfb(void) |
37 | { | |
38 | return EVP_des_cfb64(); | |
39 | } | |
40 | ||
41 | # undef EVP_des_ede3_cfb | |
b5855b2f | 42 | const EVP_CIPHER *EVP_des_ede3_cfb(void); |
0f113f3e MC |
43 | const EVP_CIPHER *EVP_des_ede3_cfb(void) |
44 | { | |
45 | return EVP_des_ede3_cfb64(); | |
46 | } | |
47 | ||
48 | # undef EVP_des_ede_cfb | |
b5855b2f | 49 | const EVP_CIPHER *EVP_des_ede_cfb(void); |
0f113f3e MC |
50 | const EVP_CIPHER *EVP_des_ede_cfb(void) |
51 | { | |
52 | return EVP_des_ede_cfb64(); | |
53 | } | |
54 | # endif | |
1c7a0e28 | 55 | |
0f113f3e MC |
56 | # ifndef OPENSSL_NO_IDEA |
57 | # undef EVP_idea_cfb | |
b5855b2f | 58 | const EVP_CIPHER *EVP_idea_cfb(void); |
0f113f3e MC |
59 | const EVP_CIPHER *EVP_idea_cfb(void) |
60 | { | |
61 | return EVP_idea_cfb64(); | |
62 | } | |
63 | # endif | |
1c7a0e28 | 64 | |
0f113f3e MC |
65 | # ifndef OPENSSL_NO_RC2 |
66 | # undef EVP_rc2_cfb | |
b5855b2f | 67 | const EVP_CIPHER *EVP_rc2_cfb(void); |
0f113f3e MC |
68 | const EVP_CIPHER *EVP_rc2_cfb(void) |
69 | { | |
70 | return EVP_rc2_cfb64(); | |
71 | } | |
72 | # endif | |
1c7a0e28 | 73 | |
0f113f3e MC |
74 | # ifndef OPENSSL_NO_CAST |
75 | # undef EVP_cast5_cfb | |
b5855b2f | 76 | const EVP_CIPHER *EVP_cast5_cfb(void); |
0f113f3e MC |
77 | const EVP_CIPHER *EVP_cast5_cfb(void) |
78 | { | |
79 | return EVP_cast5_cfb64(); | |
80 | } | |
81 | # endif | |
1c7a0e28 | 82 | |
0f113f3e MC |
83 | # ifndef OPENSSL_NO_RC5 |
84 | # undef EVP_rc5_32_12_16_cfb | |
b5855b2f | 85 | const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void); |
0f113f3e MC |
86 | const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void) |
87 | { | |
88 | return EVP_rc5_32_12_16_cfb64(); | |
89 | } | |
90 | # endif | |
1c7a0e28 | 91 | |
5158c763 | 92 | # undef EVP_aes_128_cfb |
b5855b2f | 93 | const EVP_CIPHER *EVP_aes_128_cfb(void); |
0f113f3e MC |
94 | const EVP_CIPHER *EVP_aes_128_cfb(void) |
95 | { | |
96 | return EVP_aes_128_cfb128(); | |
97 | } | |
98 | ||
5158c763 | 99 | # undef EVP_aes_192_cfb |
b5855b2f | 100 | const EVP_CIPHER *EVP_aes_192_cfb(void); |
0f113f3e MC |
101 | const EVP_CIPHER *EVP_aes_192_cfb(void) |
102 | { | |
103 | return EVP_aes_192_cfb128(); | |
104 | } | |
105 | ||
5158c763 | 106 | # undef EVP_aes_256_cfb |
b5855b2f | 107 | const EVP_CIPHER *EVP_aes_256_cfb(void); |
0f113f3e MC |
108 | const EVP_CIPHER *EVP_aes_256_cfb(void) |
109 | { | |
110 | return EVP_aes_256_cfb128(); | |
111 | } | |
7771b6c5 GT |
112 | |
113 | #endif |