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 | 92d78720daabce7e98b73975043179a4ac539755 (patch) | |
tree | f7451c741bb905a8ba0b54f9d2a8606dfeef7d51 /kex.h | |
parent | 2e09a5d54328e3573aa62d747dd89e094f382992 (diff) | |
download | dropbear-92d78720daabce7e98b73975043179a4ac539755.tar.gz |
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)
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; |