summaryrefslogtreecommitdiff
path: root/keyDerivation.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 09:09:48 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 09:09:48 +0000
commit2c55bc987c93a1857e3cdaf8c8f1cea60483ab1e (patch)
tree4fe9123029c7ec61a18102873d5b753fbd4700e3 /keyDerivation.h
parentsome cleanups (diff)
added syncbuffer
Diffstat (limited to 'keyDerivation.h')
-rw-r--r--keyDerivation.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/keyDerivation.h b/keyDerivation.h
index aae6c3e..d155934 100644
--- a/keyDerivation.h
+++ b/keyDerivation.h
@@ -33,7 +33,10 @@
#include "datatypes.h"
#include "buffer.h"
+#include "syncBuffer.h"
+#include <boost/archive/text_oarchive.hpp>
+#include <boost/archive/text_iarchive.hpp>
extern "C" {
@@ -47,11 +50,6 @@ typedef enum {
label_satp_salt = 0x02,
} satp_prf_label;
-namespace boost {
- namespace serialization {
- class access;
- }
-}
class KeyDerivation
{
@@ -69,7 +67,7 @@ private:
protected:
int8_t ld_kdr_; // ld(key_derivation_rate)
- Buffer salt_;
+ SyncBuffer salt_;
static const char* MIN_GCRYPT_VERSION;
gcry_cipher_hd_t cipher_;