Mercurial > dropbear
comparison common-algo.c @ 1518:b222c027a733
group14-sha256 should be higher than group14-sha1
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 18 Feb 2018 22:47:51 +0800 |
parents | 533e070b3126 |
children | 049b28f4be4a |
comparison
equal
deleted
inserted
replaced
1517:7c7c5326ad73 | 1518:b222c027a733 |
---|---|
287 #endif | 287 #endif |
288 #if DROPBEAR_ECC_256 | 288 #if DROPBEAR_ECC_256 |
289 {"ecdh-sha2-nistp256", 0, &kex_ecdh_nistp256, 1, NULL}, | 289 {"ecdh-sha2-nistp256", 0, &kex_ecdh_nistp256, 1, NULL}, |
290 #endif | 290 #endif |
291 #endif | 291 #endif |
292 #if DROPBEAR_DH_GROUP14_SHA256 | |
293 {"diffie-hellman-group14-sha256", 0, &kex_dh_group14_sha256, 1, NULL}, | |
294 #endif | |
292 #if DROPBEAR_DH_GROUP14_SHA1 | 295 #if DROPBEAR_DH_GROUP14_SHA1 |
293 {"diffie-hellman-group14-sha1", 0, &kex_dh_group14_sha1, 1, NULL}, | 296 {"diffie-hellman-group14-sha1", 0, &kex_dh_group14_sha1, 1, NULL}, |
294 #endif | |
295 #if DROPBEAR_DH_GROUP14_SHA256 | |
296 {"diffie-hellman-group14-sha256", 0, &kex_dh_group14_sha256, 1, NULL}, | |
297 #endif | 297 #endif |
298 #if DROPBEAR_DH_GROUP1 | 298 #if DROPBEAR_DH_GROUP1 |
299 {"diffie-hellman-group1-sha1", 0, &kex_dh_group1, 1, NULL}, | 299 {"diffie-hellman-group1-sha1", 0, &kex_dh_group1, 1, NULL}, |
300 #endif | 300 #endif |
301 #if DROPBEAR_DH_GROUP16 | 301 #if DROPBEAR_DH_GROUP16 |