… | |
… | |
196 | u8 features; |
196 | u8 features; |
197 | |
197 | |
198 | pkt_queue data_queue, vpn_queue; |
198 | pkt_queue data_queue, vpn_queue; |
199 | |
199 | |
200 | crypto_ctx *octx, *ictx; |
200 | crypto_ctx *octx, *ictx; |
201 | iv_gen oiv; // generator for random byte prefix |
|
|
202 | |
201 | |
203 | void generate_auth_data (); |
202 | void generate_auth_data (); |
204 | |
203 | |
205 | ev_tstamp auth_expire; // when the snd_* and *_ecdh values expire |
204 | ev_tstamp auth_expire; // when the snd_* and *_ecdh values expire |
206 | ev_tstamp hmac_error; // time of first hmac error in a series |
205 | ev_tstamp hmac_error; // time of first hmac error in a series |