comparison common-algo.c @ 1087:1e486f368ec3

Disable twofish-ctr by default, add config option
author Matt Johnston <matt@ucc.asn.au>
date Wed, 03 Jun 2015 22:59:59 +0800
parents d3925ed45a85
children bb3a03feb31f aaf576b27a10
comparison
equal deleted inserted replaced
1086:50f8a24953e6 1087:1e486f368ec3
142 {"aes128-ctr", 0, &dropbear_aes128, 1, &dropbear_mode_ctr}, 142 {"aes128-ctr", 0, &dropbear_aes128, 1, &dropbear_mode_ctr},
143 #endif 143 #endif
144 #ifdef DROPBEAR_AES256 144 #ifdef DROPBEAR_AES256
145 {"aes256-ctr", 0, &dropbear_aes256, 1, &dropbear_mode_ctr}, 145 {"aes256-ctr", 0, &dropbear_aes256, 1, &dropbear_mode_ctr},
146 #endif 146 #endif
147 #ifdef DROPBEAR_TWOFISH_CTR
148 /* twofish ctr is conditional as it hasn't been tested for interoperability, see options.h */
147 #ifdef DROPBEAR_TWOFISH256 149 #ifdef DROPBEAR_TWOFISH256
148 {"twofish256-ctr", 0, &dropbear_twofish256, 1, &dropbear_mode_ctr}, 150 {"twofish256-ctr", 0, &dropbear_twofish256, 1, &dropbear_mode_ctr},
149 #endif 151 #endif
150 #ifdef DROPBEAR_TWOFISH128 152 #ifdef DROPBEAR_TWOFISH128
151 {"twofish128-ctr", 0, &dropbear_twofish128, 1, &dropbear_mode_ctr}, 153 {"twofish128-ctr", 0, &dropbear_twofish128, 1, &dropbear_mode_ctr},
152 #endif 154 #endif
155 #endif /* DROPBEAR_TWOFISH_CTR */
153 #endif /* DROPBEAR_ENABLE_CTR_MODE */ 156 #endif /* DROPBEAR_ENABLE_CTR_MODE */
154 157
155 #ifdef DROPBEAR_ENABLE_CBC_MODE 158 #ifdef DROPBEAR_ENABLE_CBC_MODE
156 #ifdef DROPBEAR_AES128 159 #ifdef DROPBEAR_AES128
157 {"aes128-cbc", 0, &dropbear_aes128, 1, &dropbear_mode_cbc}, 160 {"aes128-cbc", 0, &dropbear_aes128, 1, &dropbear_mode_cbc},