summaryrefslogtreecommitdiff
path: root/keyDerivation.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-07 14:51:53 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-07 14:51:53 +0000
commitebc305b6a49d24f8bcf05ed10efac42c4398bd5b (patch)
treed7e22e6353c568da249c5b511dea31536a6bebd8 /keyDerivation.h
parentsplit parameters to global params and connection params (moved to connection ... (diff)
serialisation of buffer und connection param
Diffstat (limited to 'keyDerivation.h')
-rw-r--r--keyDerivation.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/keyDerivation.h b/keyDerivation.h
index a1a2987..a9939a3 100644
--- a/keyDerivation.h
+++ b/keyDerivation.h
@@ -33,8 +33,7 @@
#include "datatypes.h"
#include "buffer.h"
-//#include <boost/archive/text_oarchive.hpp>
-//#include <boost/archive/text_iarchive.hpp>
+
extern "C" {
@@ -60,11 +59,7 @@ public:
void clear();
private:
template<class Archive>
- void serialize(Archive & ar, const unsigned int version)
- {
- ar & ld_kdr_;
- ar & salt_;
- }
+ void serialize(Archive & ar, const unsigned int version);
protected:
int8_t ld_kdr_; // ld(key_derivation_rate)