comparison common-algo.c @ 1019:6c42bab6e081

merge
author Matt Johnston <matt@ucc.asn.au>
date Fri, 13 Feb 2015 23:15:12 +0800
parents ffd2359564b0 a37f8730eb0f
children d3925ed45a85
comparison
equal deleted inserted replaced
1018:cb148f8d3d22 1019:6c42bab6e081
181 #endif 181 #endif
182 {NULL, 0, NULL, 0, NULL} 182 {NULL, 0, NULL, 0, NULL}
183 }; 183 };
184 184
185 algo_type sshhashes[] = { 185 algo_type sshhashes[] = {
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
186 #ifdef DROPBEAR_SHA2_256_HMAC 192 #ifdef DROPBEAR_SHA2_256_HMAC
187 {"hmac-sha2-256", 0, &dropbear_sha2_256, 1, NULL}, 193 {"hmac-sha2-256", 0, &dropbear_sha2_256, 1, NULL},
188 #endif 194 #endif
189 #ifdef DROPBEAR_SHA2_512_HMAC 195 #ifdef DROPBEAR_SHA2_512_HMAC
190 {"hmac-sha2-512", 0, &dropbear_sha2_512, 1, NULL}, 196 {"hmac-sha2-512", 0, &dropbear_sha2_512, 1, NULL},
191 #endif
192 #ifdef DROPBEAR_SHA1_96_HMAC
193 {"hmac-sha1-96", 0, &dropbear_sha1_96, 1, NULL},
194 #endif
195 #ifdef DROPBEAR_SHA1_HMAC
196 {"hmac-sha1", 0, &dropbear_sha1, 1, NULL},
197 #endif 197 #endif
198 #ifdef DROPBEAR_MD5_HMAC 198 #ifdef DROPBEAR_MD5_HMAC
199 {"hmac-md5", 0, (void*)&dropbear_md5, 1, NULL}, 199 {"hmac-md5", 0, (void*)&dropbear_md5, 1, NULL},
200 #endif 200 #endif
201 #ifdef DROPBEAR_NONE_INTEGRITY 201 #ifdef DROPBEAR_NONE_INTEGRITY