comparison session.h @ 761:ac2158e3e403 ecc

ecc kind of works, needs fixing/testing
author Matt Johnston <matt@ucc.asn.au>
date Sun, 07 Apr 2013 01:36:42 +0800
parents 76fba0856749
children 7dcb46da72d9
comparison
equal deleted inserted replaced
760:f336d232fc63 761:ac2158e3e403
155 struct key_context *keys; 155 struct key_context *keys;
156 struct key_context *newkeys; 156 struct key_context *newkeys;
157 buffer *session_id; /* this is the hash from the first kex */ 157 buffer *session_id; /* this is the hash from the first kex */
158 /* The below are used temporarily during kex, are freed after use */ 158 /* The below are used temporarily during kex, are freed after use */
159 mp_int * dh_K; /* SSH_MSG_KEXDH_REPLY and sending SSH_MSH_NEWKEYS */ 159 mp_int * dh_K; /* SSH_MSG_KEXDH_REPLY and sending SSH_MSH_NEWKEYS */
160 buffer *hash/* the session hash */ 160 buffer *hash; /* the session hash */
161 buffer* kexhashbuf; /* session hash buffer calculated from various packets*/ 161 buffer* kexhashbuf; /* session hash buffer calculated from various packets*/
162 buffer* transkexinit; /* the kexinit packet we send should be kept so we 162 buffer* transkexinit; /* the kexinit packet we send should be kept so we
163 can add it to the hash when generating keys */ 163 can add it to the hash when generating keys */
164 164
165 /* Enables/disables compression */ 165 /* Enables/disables compression */