aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/kdf/kdf2/kdf2.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/kdf2/kdf2.cpp
parent8578e0fc758b81d176d0c5092417f4cc77676895 (diff)
add label parameter to KDF::derive_key
Diffstat (limited to 'src/lib/kdf/kdf2/kdf2.cpp')
-rw-r--r--src/lib/kdf/kdf2/kdf2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/kdf/kdf2/kdf2.cpp b/src/lib/kdf/kdf2/kdf2.cpp
index df2b7a91c..32bf678f7 100644
--- a/src/lib/kdf/kdf2/kdf2.cpp
+++ b/src/lib/kdf/kdf2/kdf2.cpp
@@ -11,7 +11,8 @@ namespace Botan {
size_t KDF2::kdf(byte key[], size_t key_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
{
u32bit counter = 1;
secure_vector<byte> h;