diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-02-26 22:19:01 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-02-26 22:19:01 +0800 |
commit | 246f24eda8bba15b04c7c7325af5092091c1751e (patch) | |
tree | f9118f765c02e46c3dc28c316aae8f959ec314be | |
parent | 4aa72b96c1a26ddc05fc22f56c50c9145d36020c (diff) |
Change default ecdsa size to 256
-rw-r--r-- | ecdsa.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -7,13 +7,14 @@ #if DROPBEAR_ECDSA -/* Prefer the larger size - it's fast anyway */ -#if DROPBEAR_ECC_521 -#define ECDSA_DEFAULT_SIZE 521 +/* prefer 256 or 384 since those are SHOULD for + draft-ietf-curdle-ssh-kex-sha2.txt */ +#if DROPBEAR_ECC_256 +#define ECDSA_DEFAULT_SIZE 256 #elif DROPBEAR_ECC_384 #define ECDSA_DEFAULT_SIZE 384 -#elif DROPBEAR_ECC_256 -#define ECDSA_DEFAULT_SIZE 256 +#elif DROPBEAR_ECC_521 +#define ECDSA_DEFAULT_SIZE 521 #else #define ECDSA_DEFAULT_SIZE 0 #endif |