From c2bd79131ad036910c1d3d0a3a5a9527e12831c0 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Mon, 29 Sep 2008 14:30:47 +0000 Subject: [PATCH] - Get rid of blowfish and twofish CTR since they weren't likely to be that useful --HG-- extra : convert_revision : e16bd265bb6e8093b3488993dffc86662a2a7a62 --- common-algo.c | 9 --------- options.h | 3 ++- 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.