aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/kdf/kdf2
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-10-16 12:30:56 +0200
committerRenĂ© Korthaus <[email protected]>2016-10-19 09:13:17 +0200
commitff51a82f49b05563d1a3dca02c8afd9312fe4fde (patch)
tree4b160d6ee8db20dbd6c0c2e9efe75c13e376eb1e /src/lib/kdf/kdf2
parenta99368c957ffd9631571e441f19de0dd32c0d37a (diff)
Improve kdf doxygen [ci skip]
Diffstat (limited to 'src/lib/kdf/kdf2')
-rw-r--r--src/lib/kdf/kdf2/kdf2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/kdf/kdf2/kdf2.h b/src/lib/kdf/kdf2/kdf2.h
index 600f7c91c..e76b4574c 100644
--- a/src/lib/kdf/kdf2/kdf2.h
+++ b/src/lib/kdf/kdf2/kdf2.h
@@ -28,6 +28,9 @@ class BOTAN_DLL KDF2 final : public KDF
const byte salt[], size_t salt_len,
const byte label[], size_t label_len) const override;
+ /**
+ * @param h underlying hash function
+ */
explicit KDF2(HashFunction* h) : m_hash(h) {}
private:
std::unique_ptr<HashFunction> m_hash;