summaryrefslogtreecommitdiff
path: root/keyDerivation.h
diff options
context:
space:
mode:
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_;