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 --- keyDerivation.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'keyDerivation.h') diff --git a/keyDerivation.h b/keyDerivation.h index 7f7fdc2..aae6c3e 100644 --- a/keyDerivation.h +++ b/keyDerivation.h @@ -56,7 +56,7 @@ namespace boost { class KeyDerivation { public: - KeyDerivation() : ld_kdr_(-1), cipher_(NULL) {}; + KeyDerivation() : ld_kdr_(-1), cipher_(NULL), initialized_(false) {}; virtual ~KeyDerivation() {}; void init(Buffer key, Buffer salt); @@ -73,6 +73,7 @@ protected: static const char* MIN_GCRYPT_VERSION; gcry_cipher_hd_t cipher_; + bool initialized_; }; -- cgit v1.2.3