changeset 503:0cdbc95bb3d2

- Get rid of blowfish and twofish CTR since they weren't likely to be that useful
author Matt Johnston <matt@ucc.asn.au>
date Mon, 29 Sep 2008 14:30:47 +0000
parents 43bbe17d6ba0
children 950c38b854a1
files common-algo.c options.h
diffstat 2 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/common-algo.c	Mon Sep 29 13:53:31 2008 +0000
+++ b/common-algo.c	Mon Sep 29 14:30:47 2008 +0000
@@ -128,15 +128,6 @@
 #ifdef DROPBEAR_AES256
 	{"aes256-ctr", 0, &dropbear_aes256, 1, &dropbear_mode_ctr},
 #endif
-#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
-#ifdef DROPBEAR_BLOWFISH
-	{"blowfish-ctr", 0, &dropbear_blowfish, 1, &dropbear_mode_ctr},
-#endif
 #endif /* DROPBEAR_ENABLE_CTR_MODE */
 
 /* CBC modes are always enabled */
--- a/options.h	Mon Sep 29 13:53:31 2008 +0000
+++ b/options.h	Mon Sep 29 14:30:47 2008 +0000
@@ -86,7 +86,8 @@
 #define DROPBEAR_TWOFISH128
 
 /* Enable "Counter Mode" for ciphers. This is more secure than normal
- * CBC mode against certain attacks. TODO how much size does it add? */
+ * CBC mode against certain attacks. This adds around 1kB to binary 
+ * size and is recommended for most cases */
 #define DROPBEAR_ENABLE_CTR_MODE
 
 /* Message Integrity - at least one required.