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