From d27f071b2daa5b7bd5d97d6f296eed1d1158d155 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 3 Jun 2015 22:59:59 +0800 Subject: Disable twofish-ctr by default, add config option --- common-algo.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common-algo.c') diff --git a/common-algo.c b/common-algo.c index a3e9d78..b1d4966 100644 --- a/common-algo.c +++ b/common-algo.c @@ -144,12 +144,15 @@ algo_type sshciphers[] = { #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 -- cgit v1.2.1