Mercurial > dropbear
comparison common-algo.c @ 1527:049b28f4be4a
add curve25519-sha256 without @libssh.org
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 20 Feb 2018 19:35:26 +0800 |
parents | b222c027a733 |
children | d32bcb5c557d |
comparison
equal
deleted
inserted
replaced
1526:36ab6b091ad3 | 1527:049b28f4be4a |
---|---|
274 static const struct dropbear_kex kex_curve25519 = {DROPBEAR_KEX_CURVE25519, NULL, 0, NULL, &sha256_desc }; | 274 static const struct dropbear_kex kex_curve25519 = {DROPBEAR_KEX_CURVE25519, NULL, 0, NULL, &sha256_desc }; |
275 #endif | 275 #endif |
276 | 276 |
277 algo_type sshkex[] = { | 277 algo_type sshkex[] = { |
278 #if DROPBEAR_CURVE25519 | 278 #if DROPBEAR_CURVE25519 |
279 {"curve25519-sha256", 0, &kex_curve25519, 1, NULL}, | |
279 {"[email protected]", 0, &kex_curve25519, 1, NULL}, | 280 {"[email protected]", 0, &kex_curve25519, 1, NULL}, |
280 #endif | 281 #endif |
281 #if DROPBEAR_ECDH | 282 #if DROPBEAR_ECDH |
282 #if DROPBEAR_ECC_521 | 283 #if DROPBEAR_ECC_521 |
283 {"ecdh-sha2-nistp521", 0, &kex_ecdh_nistp521, 1, NULL}, | 284 {"ecdh-sha2-nistp521", 0, &kex_ecdh_nistp521, 1, NULL}, |