summaryrefslogtreecommitdiffhomepage
path: root/kex.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-27 00:38:03 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-27 00:38:03 +0800
commit74cad1612f577fd067ca900ab06517c2a260bbe8 (patch)
tree84cfefd539adb70d1a3eefb1517a0f4bc7aec006 /kex.h
parent73e22c115c7aa5604c6a2135a5d2c1bc38161cb1 (diff)
more bits on ecc branch
--HG-- branch : ecc
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kex.h b/kex.h
index f9d70b8..57019ff 100644
--- a/kex.h
+++ b/kex.h
@@ -73,6 +73,11 @@ struct KEXState {
};
+#define DH_P_1_LEN 128
+extern const const unsigned char dh_p_1[DH_P_1_LEN];
+#define DH_P_14_LEN 256
+const unsigned char dh_p_14[DH_P_14_LEN] = {
+
struct kex_dh_param {
mp_int pub;
mp_int priv;