diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-03-29 00:28:09 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-03-29 00:28:09 +0800 |
commit | b4bcc606576dab755441da1bc2fbe28041d54b06 (patch) | |
tree | ef133e658f2c87f8cc154a1a8935f2615a60b475 /kex.h | |
parent | 5139bd42f6700333ddfdcdb125e838d10eeaacf4 (diff) |
More changes for KEX and ECDH. Set up hash descriptors, make ECC code work,
ses.hash and ses.session_id are now buffers (doesn't compile)
--HG--
branch : ecc
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -27,6 +27,7 @@ #include "includes.h" #include "algo.h" +#include "signkey.h" void send_msg_kexinit(); void recv_msg_kexinit(); @@ -74,9 +75,9 @@ struct KEXState { }; #define DH_P_1_LEN 128 -extern const const unsigned char dh_p_1[DH_P_1_LEN]; +extern 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] = { +extern const unsigned char dh_p_14[DH_P_14_LEN]; struct kex_dh_param { mp_int pub; |