summaryrefslogtreecommitdiffhomepage
path: root/options.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-05-02 17:03:55 +0200
committerMatt Johnston <matt@ucc.asn.au>2016-05-02 17:03:55 +0200
commit4664ce2c35e69ff79949eff178be1720bf288ddc (patch)
tree37b3d50c12081779bf821e95852d9c63955fcf90 /options.h
parent81743004297b665b8885e0bfb8c13821d673493e (diff)
move group14 and group16 to options.h, group14-sha256 on by default
Diffstat (limited to 'options.h')
-rw-r--r--options.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/options.h b/options.h
index 0c51bb1..89b68be 100644
--- a/options.h
+++ b/options.h
@@ -168,10 +168,20 @@ If you test it please contact the Dropbear author */
* ECDSA above */
#define DROPBEAR_ECDH
-/* Group14 (2048 bit) is recommended. Group1 is less secure (1024 bit) though
- is the only option for interoperability with some older SSH programs */
+/* Key exchange algorithm.
+ * group1 - 1024 bit, sha1
+ * group14 - 2048 bit, sha1
+ * group14_256 - 2048 bit, sha2-256
+ * group16 - 4096 bit, sha2-512
+ *
+ * group14 is supported by most implementations.
+ * group16 provides a greater strength but is slower and increases binary size
+ * group1 is necessary if compatibility with Dropbear versions < 0.53 is required
+ */
#define DROPBEAR_DH_GROUP1 1
#define DROPBEAR_DH_GROUP14 1
+#define DROPBEAR_DH_GROUP14_256 1
+#define DROPBEAR_DH_GROUP16 0
/* Control the memory/performance/compression tradeoff for zlib.
* Set windowBits=8 for least memory usage, see your system's