From 62d31032352f8d857f31d89872fd42b98501e1c3 Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Sat, 8 Dec 2007 17:57:31 +0000 Subject: * added AuthTag class * bugfixes in keyderivation, aesicmcypher * removed authtag functins temorarly from anytun.cpp --- buffer.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'buffer.h') 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_; -- cgit v1.2.3