diff 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
line wrap: on
line diff
--- a/common-algo.c	Wed Jun 03 22:15:12 2015 +0800
+++ b/common-algo.c	Wed Jun 03 22:59:59 2015 +0800
@@ -144,12 +144,15 @@
 #ifdef DROPBEAR_AES256
 	{"aes256-ctr", 0, &dropbear_aes256, 1, &dropbear_mode_ctr},
 #endif
+#ifdef DROPBEAR_TWOFISH_CTR
+/* twofish ctr is conditional as it hasn't been tested for interoperability, see options.h */
 #ifdef DROPBEAR_TWOFISH256
 	{"twofish256-ctr", 0, &dropbear_twofish256, 1, &dropbear_mode_ctr},
 #endif
 #ifdef DROPBEAR_TWOFISH128
 	{"twofish128-ctr", 0, &dropbear_twofish128, 1, &dropbear_mode_ctr},
 #endif
+#endif /* DROPBEAR_TWOFISH_CTR */
 #endif /* DROPBEAR_ENABLE_CTR_MODE */
 
 #ifdef DROPBEAR_ENABLE_CBC_MODE