summaryrefslogtreecommitdiff
path: root/keyDerivation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keyDerivation.cpp')
-rw-r--r--keyDerivation.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyDerivation.cpp b/keyDerivation.cpp
index c9db305..afe20f6 100644
--- a/keyDerivation.cpp
+++ b/keyDerivation.cpp
@@ -149,3 +149,8 @@ void KeyDerivation::clear()
Lock lock(mutex_);
gcry_cipher_close( cipher_ );
}
+
+u_int32_t KeyDerivation::bufferGetLength() const
+{
+ return salt_.getLength();
+}