comparison common-algo.c @ 229:1c03b27e1ceb

- "twofish-cbc" is an alias for "twofish256-cbc" - increase the maximum key length constant
author Matt Johnston <matt@ucc.asn.au>
date Tue, 30 Aug 2005 17:30:39 +0000
parents 5e4110bb753a
children 16f552859ee6
comparison
equal deleted inserted replaced
228:5e4110bb753a 229:1c03b27e1ceb
82 82
83 83
84 /* The following map ssh names to internal values */ 84 /* The following map ssh names to internal values */
85 85
86 algo_type sshciphers[] = { 86 algo_type sshciphers[] = {
87 #ifdef DROPBEAR_TWOFISH256_CBC
88 {"twofish256-cbc", 0, (void*)&dropbear_twofish256, 1},
89 {"twofish-cbc", 0, (void*)&dropbear_twofish256, 1},
90 #endif
91 #ifdef DROPBEAR_TWOFISH128_CBC
92 {"twofish128-cbc", 0, (void*)&dropbear_twofish128, 1},
93 #endif
87 #ifdef DROPBEAR_AES128_CBC 94 #ifdef DROPBEAR_AES128_CBC
88 {"aes128-cbc", 0, (void*)&dropbear_aes128, 1}, 95 {"aes128-cbc", 0, (void*)&dropbear_aes128, 1},
89 #endif 96 #endif
90 #ifdef DROPBEAR_3DES_CBC 97 #ifdef DROPBEAR_3DES_CBC
91 {"3des-cbc", 0, (void*)&dropbear_3des, 1}, 98 {"3des-cbc", 0, (void*)&dropbear_3des, 1},
93 #ifdef DROPBEAR_AES256_CBC 100 #ifdef DROPBEAR_AES256_CBC
94 {"aes256-cbc", 0, (void*)&dropbear_aes256, 1}, 101 {"aes256-cbc", 0, (void*)&dropbear_aes256, 1},
95 #endif 102 #endif
96 #ifdef DROPBEAR_BLOWFISH_CBC 103 #ifdef DROPBEAR_BLOWFISH_CBC
97 {"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1}, 104 {"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1},
98 #endif
99 #ifdef DROPBEAR_TWOFISH256_CBC
100 {"twofish256-cbc", 0, (void*)&dropbear_twofish256, 1},
101 #endif
102 #ifdef DROPBEAR_TWOFISH128_CBC
103 {"twofish128-cbc", 0, (void*)&dropbear_twofish128, 1},
104 #endif 105 #endif
105 {NULL, 0, NULL, 0} 106 {NULL, 0, NULL, 0}
106 }; 107 };
107 108
108 algo_type sshhashes[] = { 109 algo_type sshhashes[] = {