comparison common-algo.c @ 755:b07eb3dc23ec ecc

refactor kexdh code a bit, start working on ecdh etc
author Matt Johnston <matt@ucc.asn.au>
date Tue, 26 Mar 2013 01:35:22 +0800
parents cd3d3c63d189
children bf9dc2d9c2b1
comparison
equal deleted inserted replaced
725:49f68a7b7a55 755:b07eb3dc23ec
211 #endif 211 #endif
212 {NULL, 0, NULL, 0, NULL} 212 {NULL, 0, NULL, 0, NULL}
213 }; 213 };
214 214
215 algo_type sshkex[] = { 215 algo_type sshkex[] = {
216 // {"ecdh-sha2-secp256r1", DROPBEAR_KEX_ECDH_SECP256R1, NULL, 1, NULL},
216 {"diffie-hellman-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1, NULL}, 217 {"diffie-hellman-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1, NULL},
217 {"diffie-hellman-group14-sha1", DROPBEAR_KEX_DH_GROUP14, NULL, 1, NULL}, 218 {"diffie-hellman-group14-sha1", DROPBEAR_KEX_DH_GROUP14, NULL, 1, NULL},
218 {NULL, 0, NULL, 0, NULL} 219 {NULL, 0, NULL, 0, NULL}
219 }; 220 };
220 221