Mercurial > dropbear
comparison kex.h @ 511:582cb38e4eb5 insecure-nocrypto
propagate from branch 'au.asn.ucc.matt.dropbear' (head cdcc3c729e29544e8b98a408e2dc60e4483dfd2a)
to branch 'au.asn.ucc.matt.dropbear.insecure-nocrypto' (head 0ca38a1cf349f7426ac9de34ebe4c3e3735effab)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 06 Nov 2008 13:16:55 +0000 |
parents | d58c478bd399 |
children | 895fbe068f2c 76097ec1a29a |
comparison
equal
deleted
inserted
replaced
361:461c4b1fb35f | 511:582cb38e4eb5 |
---|---|
35 void kexfirstinitialise(); | 35 void kexfirstinitialise(); |
36 void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv); | 36 void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv); |
37 void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them, | 37 void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them, |
38 sign_key *hostkey); | 38 sign_key *hostkey); |
39 | 39 |
40 #ifndef DISABLE_ZLIB | |
41 int is_compress_trans(); | |
42 int is_compress_recv(); | |
43 #endif | |
44 | |
40 void recv_msg_kexdh_init(); /* server */ | 45 void recv_msg_kexdh_init(); /* server */ |
41 | 46 |
42 void send_msg_kexdh_init(); /* client */ | 47 void send_msg_kexdh_init(); /* client */ |
43 void recv_msg_kexdh_reply(); /* client */ | 48 void recv_msg_kexdh_reply(); /* client */ |
44 | 49 |
51 unsigned recvnewkeys : 1; | 56 unsigned recvnewkeys : 1; |
52 | 57 |
53 unsigned donefirstkex : 1; /* Set to 1 after the first kex has completed, | 58 unsigned donefirstkex : 1; /* Set to 1 after the first kex has completed, |
54 ie the transport layer has been set up */ | 59 ie the transport layer has been set up */ |
55 | 60 |
56 long lastkextime; /* time of the last kex */ | 61 time_t lastkextime; /* time of the last kex */ |
57 unsigned int datatrans; /* data transmitted since last kex */ | 62 unsigned int datatrans; /* data transmitted since last kex */ |
58 unsigned int datarecv; /* data received since last kex */ | 63 unsigned int datarecv; /* data received since last kex */ |
59 | 64 |
60 }; | 65 }; |
61 | 66 |