summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-29 14:30:47 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-29 14:30:47 +0000
commit28a71489f128448170e06561ac361fe8efe0afcf (patch)
tree53231b263ce042e56f0baf69725ebac3e13a7b4e
parentb9741f14bb7d8020fe38d58d8c3c8babcd48bcc2 (diff)
downloaddropbear-28a71489f128448170e06561ac361fe8efe0afcf.tar.gz
- Get rid of blowfish and twofish CTR since they weren't likely
to be that useful
-rw-r--r--common-algo.c9
-rw-r--r--options.h3
2 files changed, 2 insertions, 10 deletions
diff --git a/common-algo.c b/common-algo.c
index 280f7c1..8863367 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -128,15 +128,6 @@ algo_type sshciphers[] = {
#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 */
diff --git a/options.h b/options.h
index 924a858..6e94876 100644
--- a/options.h
+++ b/options.h
@@ -86,7 +86,8 @@ etc) slower (perhaps by 50%). Recommended for most small systems. */
#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.