mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Change default ecdsa size to 256
This commit is contained in:
parent
4aa72b96c1
commit
246f24eda8
11
ecdsa.h
11
ecdsa.h
@ -7,13 +7,14 @@
|
|||||||
|
|
||||||
#if DROPBEAR_ECDSA
|
#if DROPBEAR_ECDSA
|
||||||
|
|
||||||
/* Prefer the larger size - it's fast anyway */
|
/* prefer 256 or 384 since those are SHOULD for
|
||||||
#if DROPBEAR_ECC_521
|
draft-ietf-curdle-ssh-kex-sha2.txt */
|
||||||
#define ECDSA_DEFAULT_SIZE 521
|
#if DROPBEAR_ECC_256
|
||||||
|
#define ECDSA_DEFAULT_SIZE 256
|
||||||
#elif DROPBEAR_ECC_384
|
#elif DROPBEAR_ECC_384
|
||||||
#define ECDSA_DEFAULT_SIZE 384
|
#define ECDSA_DEFAULT_SIZE 384
|
||||||
#elif DROPBEAR_ECC_256
|
#elif DROPBEAR_ECC_521
|
||||||
#define ECDSA_DEFAULT_SIZE 256
|
#define ECDSA_DEFAULT_SIZE 521
|
||||||
#else
|
#else
|
||||||
#define ECDSA_DEFAULT_SIZE 0
|
#define ECDSA_DEFAULT_SIZE 0
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user