summaryrefslogtreecommitdiffhomepage
path: root/dh_groups.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-01-14 21:54:58 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-01-14 21:54:58 +0800
commit09e83ad74212a35e8ed05c4ea45af788debfde78 (patch)
tree8f1003124d1f68301e724ef21b36fc9eca221aaf /dh_groups.h
parent5f8fcef688a6719ae54bda58d83b68e481edbf5e (diff)
Move dh group constants to a separate file
Diffstat (limited to 'dh_groups.h')
-rw-r--r--dh_groups.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/dh_groups.h b/dh_groups.h
new file mode 100644
index 0000000..b210def
--- /dev/null
+++ b/dh_groups.h
@@ -0,0 +1,11 @@
+#ifndef DROPBEAR_DH_GROUPS_H
+#define DROPBEAR_DH_GROUPS_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];
+extern const int DH_G_VAL;
+
+
+#endif