summaryrefslogtreecommitdiff
path: root/keyDerivation.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 /keyDerivation.h
parentremoved doxygen folders from svn (diff)
* added AuthTag class
* bugfixes in keyderivation, aesicmcypher * removed authtag functins temorarly from anytun.cpp
Diffstat (limited to 'keyDerivation.h')
-rw-r--r--keyDerivation.h3
1 files changed, 2 insertions, 1 deletions
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_;
};