Mercurial > dropbear
comparison common-algo.c @ 1713:c2c0f43ff827
Remove blowfish
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 10 Jun 2020 23:42:42 +0800 |
parents | 41bf8f216644 |
children | 7c0fcd19e492 |
comparison
equal
deleted
inserted
replaced
1712:d885a77b98e0 | 1713:c2c0f43ff827 |
---|---|
62 #endif | 62 #endif |
63 #if DROPBEAR_AES128 | 63 #if DROPBEAR_AES128 |
64 static const struct dropbear_cipher dropbear_aes128 = | 64 static const struct dropbear_cipher dropbear_aes128 = |
65 {&aes_desc, 16, 16}; | 65 {&aes_desc, 16, 16}; |
66 #endif | 66 #endif |
67 #if DROPBEAR_BLOWFISH | |
68 static const struct dropbear_cipher dropbear_blowfish = | |
69 {&blowfish_desc, 16, 8}; | |
70 #endif | |
71 #if DROPBEAR_TWOFISH256 | 67 #if DROPBEAR_TWOFISH256 |
72 static const struct dropbear_cipher dropbear_twofish256 = | 68 static const struct dropbear_cipher dropbear_twofish256 = |
73 {&twofish_desc, 32, 16}; | 69 {&twofish_desc, 32, 16}; |
74 #endif | 70 #endif |
75 #if DROPBEAR_TWOFISH128 | 71 #if DROPBEAR_TWOFISH128 |
195 {"3des-cbc", 0, &dropbear_3des, 1, &dropbear_mode_cbc}, | 191 {"3des-cbc", 0, &dropbear_3des, 1, &dropbear_mode_cbc}, |
196 #endif | 192 #endif |
197 #endif /* DROPBEAR_3DES */ | 193 #endif /* DROPBEAR_3DES */ |
198 | 194 |
199 #if DROPBEAR_ENABLE_CBC_MODE | 195 #if DROPBEAR_ENABLE_CBC_MODE |
200 #if DROPBEAR_BLOWFISH | |
201 {"blowfish-cbc", 0, &dropbear_blowfish, 1, &dropbear_mode_cbc}, | |
202 #endif | |
203 #endif /* DROPBEAR_ENABLE_CBC_MODE */ | 196 #endif /* DROPBEAR_ENABLE_CBC_MODE */ |
204 {NULL, 0, NULL, 0, NULL} | 197 {NULL, 0, NULL, 0, NULL} |
205 }; | 198 }; |
206 | 199 |
207 algo_type sshhashes[] = { | 200 algo_type sshhashes[] = { |