comparison packet.h @ 534:0431915df79f

- Get rid of decryptreadbuf, just decrypt in-place with readbuf - Share make_mac function for both packet creation and validation - Split recv/trans parts of key_context into their own structures
author Matt Johnston <matt@ucc.asn.au>
date Sun, 01 Mar 2009 16:15:57 +0000
parents 164b7c2cd5df
children daf21fd50abf deed0571cacc
comparison
equal deleted inserted replaced
533:805ae74ec024 534:0431915df79f
42 } packettype; 42 } packettype;
43 43
44 #define PACKET_PADDING_OFF 4 44 #define PACKET_PADDING_OFF 4
45 #define PACKET_PAYLOAD_OFF 5 45 #define PACKET_PAYLOAD_OFF 5
46 46
47 #define INIT_READBUF 200 47 #define INIT_READBUF 128
48 48
49 #endif /* _PACKET_H_ */ 49 #endif /* _PACKET_H_ */