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

Comparing gvpe/src/connection.h (file contents):
Revision 1.41 by root, Thu Jan 29 00:21:39 2015 UTC vs.
Revision 1.42 by root, Thu Jun 30 10:57:43 2016 UTC

94 94
95struct hmac_packet : net_packet 95struct hmac_packet : net_packet
96{ 96{
97 u8 hmac[HMACLENGTH]; // each and every packet has a hmac field, but that is not (yet) checked everywhere 97 u8 hmac[HMACLENGTH]; // each and every packet has a hmac field, but that is not (yet) checked everywhere
98 98
99 void hmac_set (crypto_ctx * ctx); 99 void hmac_set (crypto_ctx *ctx);
100 bool hmac_chk (crypto_ctx * ctx); 100 bool hmac_chk (crypto_ctx *ctx);
101 101
102private: 102private:
103 void hmac_gen (crypto_ctx * ctx, u8 *hmac_digest); 103 void hmac_gen (crypto_ctx *ctx, u8 *hmac_digest);
104}; 104};
105 105
106struct vpn_packet : hmac_packet 106struct vpn_packet : hmac_packet
107{ 107{
108 enum ptype 108 enum ptype

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines