aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/kdf/hkdf
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/hkdf
parenta99368c957ffd9631571e441f19de0dd32c0d37a (diff)
Improve kdf doxygen [ci skip]
Diffstat (limited to 'src/lib/kdf/hkdf')
-rw-r--r--src/lib/kdf/hkdf/hkdf.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/kdf/hkdf/hkdf.h b/src/lib/kdf/hkdf/hkdf.h
index 1dba82ee2..a66d68da4 100644
--- a/src/lib/kdf/hkdf/hkdf.h
+++ b/src/lib/kdf/hkdf/hkdf.h
@@ -15,12 +15,16 @@
namespace Botan {
/**
-* HKDF, see @rfc 5869 for details
-* This is only the expansion portion of HKDF
+* HKDF, see RFC 5869 for details.
+* This is only the expansion portion of HKDF.
+* An appropriate extraction function should be used before.
*/
class BOTAN_DLL HKDF final : public KDF
{
public:
+ /**
+ * @param prf underlying MAC algorithm
+ */
explicit HKDF(MessageAuthenticationCode* prf) : m_prf(prf) {}
static HKDF* make(const Spec& spec);