summaryrefslogtreecommitdiff
path: root/src/keyDerivation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyDerivation.h')
-rw-r--r--src/keyDerivation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keyDerivation.h b/src/keyDerivation.h
index 9e8c7b5..6dd8080 100644
--- a/src/keyDerivation.h
+++ b/src/keyDerivation.h
@@ -60,7 +60,7 @@ public:
void setLogKDRate(const u_int8_t ld_rate);
virtual void init(Buffer key, Buffer salt) = 0;
- virtual void generate(satp_prf_label label, seq_nr_t seq_nr, Buffer& key) = 0;
+ virtual bool generate(satp_prf_label label, seq_nr_t seq_nr, Buffer& key) = 0;
virtual std::string printType() { return "KeyDerivation"; };
@@ -97,7 +97,7 @@ public:
~NullKeyDerivation() {};
void init(Buffer key, Buffer salt) {};
- void generate(satp_prf_label label, seq_nr_t seq_nr, Buffer& key);
+ bool generate(satp_prf_label label, seq_nr_t seq_nr, Buffer& key);
std::string printType() { return "NullKeyDerivation"; };
@@ -123,7 +123,7 @@ public:
~AesIcmKeyDerivation();
void init(Buffer key, Buffer salt);
- void generate(satp_prf_label label, seq_nr_t seq_nr, Buffer& key);
+ bool generate(satp_prf_label label, seq_nr_t seq_nr, Buffer& key);
std::string printType() { return "AesIcmKeyDerivation"; };