summaryrefslogtreecommitdiffhomepage
path: root/dh_groups.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-01-15 00:19:11 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-01-15 00:19:11 +0800
commit21ed9480d7ca1e39c98e50c019ba40831ec9bcfb (patch)
tree71047f9b89560c488d4e2686d3558359d06ae648 /dh_groups.h
parent09e83ad74212a35e8ed05c4ea45af788debfde78 (diff)
add dh group15 and group16, disabled by default
Diffstat (limited to 'dh_groups.h')
-rw-r--r--dh_groups.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/dh_groups.h b/dh_groups.h
index b210def..7fadac2 100644
--- a/dh_groups.h
+++ b/dh_groups.h
@@ -1,10 +1,23 @@
#ifndef DROPBEAR_DH_GROUPS_H
#define DROPBEAR_DH_GROUPS_H
+#include "options.h"
#define DH_P_1_LEN 128
extern const unsigned char dh_p_1[DH_P_1_LEN];
#define DH_P_14_LEN 256
extern const unsigned char dh_p_14[DH_P_14_LEN];
+
+#ifdef DROPBEAR_DH_GROUP15
+#define DH_P_15_LEN 384
+extern const unsigned char dh_p_15[DH_P_15_LEN];
+#endif
+
+#ifdef DROPBEAR_DH_GROUP16
+#define DH_P_16_LEN 512
+extern const unsigned char dh_p_16[DH_P_16_LEN];
+#endif
+
+
extern const int DH_G_VAL;