comparison common-algo.c @ 1017:a37f8730eb0f

Keep sha1 default
author Matt Johnston <matt@ucc.asn.au>
date Wed, 28 Jan 2015 22:14:07 +0800
parents 47643024fc90
children 6c42bab6e081
comparison
equal deleted inserted replaced
998:3a32727986ee 1017:a37f8730eb0f
175 #endif 175 #endif
176 {NULL, 0, NULL, 0, NULL} 176 {NULL, 0, NULL, 0, NULL}
177 }; 177 };
178 178
179 algo_type sshhashes[] = { 179 algo_type sshhashes[] = {
180 #ifdef DROPBEAR_SHA1_96_HMAC
181 {"hmac-sha1-96", 0, &dropbear_sha1_96, 1, NULL},
182 #endif
183 #ifdef DROPBEAR_SHA1_HMAC
184 {"hmac-sha1", 0, &dropbear_sha1, 1, NULL},
185 #endif
180 #ifdef DROPBEAR_SHA2_256_HMAC 186 #ifdef DROPBEAR_SHA2_256_HMAC
181 {"hmac-sha2-256", 0, &dropbear_sha2_256, 1, NULL}, 187 {"hmac-sha2-256", 0, &dropbear_sha2_256, 1, NULL},
182 #endif 188 #endif
183 #ifdef DROPBEAR_SHA2_512_HMAC 189 #ifdef DROPBEAR_SHA2_512_HMAC
184 {"hmac-sha2-512", 0, &dropbear_sha2_512, 1, NULL}, 190 {"hmac-sha2-512", 0, &dropbear_sha2_512, 1, NULL},
185 #endif
186 #ifdef DROPBEAR_SHA1_96_HMAC
187 {"hmac-sha1-96", 0, &dropbear_sha1_96, 1, NULL},
188 #endif
189 #ifdef DROPBEAR_SHA1_HMAC
190 {"hmac-sha1", 0, &dropbear_sha1, 1, NULL},
191 #endif 191 #endif
192 #ifdef DROPBEAR_MD5_HMAC 192 #ifdef DROPBEAR_MD5_HMAC
193 {"hmac-md5", 0, (void*)&dropbear_md5, 1, NULL}, 193 {"hmac-md5", 0, (void*)&dropbear_md5, 1, NULL},
194 #endif 194 #endif
195 #ifdef DROPBEAR_NONE_INTEGRITY 195 #ifdef DROPBEAR_NONE_INTEGRITY