comparison common-algo.c @ 235:c3dbd3e1a8ce

Change the preferred algorithm order
author Matt Johnston <matt@ucc.asn.au>
date Fri, 02 Sep 2005 07:43:42 +0000
parents b3cca2d9ee3c
children 961f6a74c5f4
comparison
equal deleted inserted replaced
234:b3cca2d9ee3c 235:c3dbd3e1a8ce
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_AES128_CBC
88 {"aes128-cbc", 0, (void*)&dropbear_aes128, 1},
89 #endif
90 #ifdef DROPBEAR_3DES_CBC
91 {"3des-cbc", 0, (void*)&dropbear_3des, 1},
92 #endif
93 #ifdef DROPBEAR_AES256_CBC
94 {"aes256-cbc", 0, (void*)&dropbear_aes256, 1},
95 #endif
87 #ifdef DROPBEAR_TWOFISH256_CBC 96 #ifdef DROPBEAR_TWOFISH256_CBC
88 {"twofish256-cbc", 0, (void*)&dropbear_twofish256, 1}, 97 {"twofish256-cbc", 0, (void*)&dropbear_twofish256, 1},
89 {"twofish-cbc", 0, (void*)&dropbear_twofish256, 1}, 98 {"twofish-cbc", 0, (void*)&dropbear_twofish256, 1},
90 #endif 99 #endif
91 #ifdef DROPBEAR_TWOFISH128_CBC 100 #ifdef DROPBEAR_TWOFISH128_CBC
92 {"twofish128-cbc", 0, (void*)&dropbear_twofish128, 1}, 101 {"twofish128-cbc", 0, (void*)&dropbear_twofish128, 1},
93 #endif
94 #ifdef DROPBEAR_AES128_CBC
95 {"aes128-cbc", 0, (void*)&dropbear_aes128, 1},
96 #endif
97 #ifdef DROPBEAR_3DES_CBC
98 {"3des-cbc", 0, (void*)&dropbear_3des, 1},
99 #endif
100 #ifdef DROPBEAR_AES256_CBC
101 {"aes256-cbc", 0, (void*)&dropbear_aes256, 1},
102 #endif 102 #endif
103 #ifdef DROPBEAR_BLOWFISH_CBC 103 #ifdef DROPBEAR_BLOWFISH_CBC
104 {"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1}, 104 {"blowfish-cbc", 0, (void*)&dropbear_blowfish, 1},
105 #endif 105 #endif
106 {NULL, 0, NULL, 0} 106 {NULL, 0, NULL, 0}