ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/iv_gen.h
(Generate patch)

Comparing gvpe/src/iv_gen.h (file contents):
Revision 1.1 by root, Thu Jul 18 13:35:16 2013 UTC vs.
Revision 1.2 by root, Thu Jan 29 00:21:39 2015 UTC

34 34
35#include "global.h" 35#include "global.h"
36 36
37#include <openssl/aes.h> 37#include <openssl/aes.h>
38 38
39#if 0
39// only good for up to 2**31 sequence numbers 40// only good for up to 2**31 sequence numbers
40struct iv_gen 41struct iv_gen
41{ 42{
42 AES_KEY ctx; 43 AES_KEY ctx;
43 u32 count; // low 32 bit of counter value 44 u32 count; // low 32 bit of counter value
44 45
45 void reset (); 46 void reset ();
46 void get (void *buf, int len); 47 void get (void *buf, int len);
47}; 48};
49#endif
48 50
49#endif 51#endif
50 52

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines