aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/kdf/hkdf/hkdf.cpp
diff options
context:
space:
mode:
authorKai Michaelis <[email protected]>2016-04-28 15:52:41 +0200
committerKai Michaelis <[email protected]>2016-05-19 15:48:09 +0200
commit55cd86e31f94ed330c0c7a53a577750a92a2b533 (patch)
treec761b939e585471ca7d340271697edafa0fc1a11 /src/lib/kdf/hkdf/hkdf.cpp
parent8578e0fc758b81d176d0c5092417f4cc77676895 (diff)
add label parameter to KDF::derive_key
Diffstat (limited to 'src/lib/kdf/hkdf/hkdf.cpp')
-rw-r--r--src/lib/kdf/hkdf/hkdf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/kdf/hkdf/hkdf.cpp b/src/lib/kdf/hkdf/hkdf.cpp
index 6f83853f9..b7e6db020 100644
--- a/src/lib/kdf/hkdf/hkdf.cpp
+++ b/src/lib/kdf/hkdf/hkdf.cpp
@@ -22,7 +22,8 @@ HKDF* HKDF::make(const Spec& spec)
size_t HKDF::kdf(byte out[], size_t out_len,
const byte secret[], size_t secret_len,
- const byte salt[], size_t salt_len) const
+ const byte salt[], size_t salt_len,
+ const byte[], size_t) const
{
m_prf->set_key(secret, secret_len);