summaryrefslogtreecommitdiff
path: root/keyDerivation.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-11 12:31:46 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-11 12:31:46 +0000
commit62c5dcfa2dd117fd7b388d13ab8f33c5867a9636 (patch)
treeae84f36ab1a51a83c799cb062621e7f403e7051e /keyDerivation.h
parentfixes in mpi class, keyderivation iv generation (diff)
fixed many sync things
fixed warning (multiple key)
Diffstat (limited to 'keyDerivation.h')
-rw-r--r--keyDerivation.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/keyDerivation.h b/keyDerivation.h
index f7a4068..8bce85c 100644
--- a/keyDerivation.h
+++ b/keyDerivation.h
@@ -58,9 +58,15 @@ public:
void setLogKDRate(const u_int8_t ld_rate);
void generate(satp_prf_label label, seq_nr_t seq_nr, Buffer& key, u_int32_t length);
void clear();
+
private:
+ friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int version);
+ void serialize(Archive & ar, const unsigned int version)
+ {
+ ar & ld_kdr_;
+ //ar & salt_;
+ }
protected:
int8_t ld_kdr_; // ld(key_derivation_rate)