comparison session.h @ 753:d63ef1e211ea

Take transmit and receive keys into use separately
author Matt Johnston <matt@ucc.asn.au>
date Thu, 04 Apr 2013 00:18:50 +0800
parents 077bbe1eb220
children 2f1c199b6e4b
comparison
equal deleted inserted replaced
752:24172f555f9c 753:d63ef1e211ea
76 #ifdef DROPBEAR_ENABLE_CTR_MODE 76 #ifdef DROPBEAR_ENABLE_CTR_MODE
77 symmetric_CTR ctr; 77 symmetric_CTR ctr;
78 #endif 78 #endif
79 } cipher_state; 79 } cipher_state;
80 unsigned char mackey[MAX_MAC_LEN]; 80 unsigned char mackey[MAX_MAC_LEN];
81 int valid;
81 }; 82 };
82 83
83 struct key_context { 84 struct key_context {
84 85
85 struct key_context_directional recv; 86 struct key_context_directional recv;