# HG changeset patch # User Matt Johnston # Date 1222698647 0 # Node ID 0cdbc95bb3d22ef08d0bb555b000eee90e3558a5 # Parent 43bbe17d6ba042900c4f2ff59a4fbf6523ef28bf - Get rid of blowfish and twofish CTR since they weren't likely to be that useful diff -r 43bbe17d6ba0 -r 0cdbc95bb3d2 common-algo.c --- 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 */ diff -r 43bbe17d6ba0 -r 0cdbc95bb3d2 options.h --- 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.