summaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2007-12-08 17:57:31 +0000
committerErwin Nindl <nine@wirdorange.org>2007-12-08 17:57:31 +0000
commit62d31032352f8d857f31d89872fd42b98501e1c3 (patch)
tree8caaa3f1ff16281e45ff0d3c9357708b5efbe74c /buffer.h
parentremoved doxygen folders from svn (diff)
* added AuthTag class
* bugfixes in keyderivation, aesicmcypher * removed authtag functins temorarly from anytun.cpp
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/buffer.h b/buffer.h
index 85f539b..a9601fe 100644
--- a/buffer.h
+++ b/buffer.h
@@ -51,8 +51,7 @@ public:
virtual ~Buffer();
Buffer(const Buffer &src);
void operator=(const Buffer &src);
- void operator=(const seq_nr_t &src);
- void operator=(const sender_id_t &src);
+ bool operator==(const Buffer &cmp) const;
// math operations to calculate IVs and keys
virtual Buffer operator^(const Buffer &xor_by) const;
@@ -71,8 +70,8 @@ public:
protected:
friend class TunDevice;
friend class UDPPacketSource;
-// friend class AesIcmCypher;
-// friend class KeyDerivation; //
+ friend class AesIcmCypher;
+ friend class KeyDerivation; //
u_int8_t *buf_;
u_int32_t length_;