aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_kdf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_kdf.cpp')
-rw-r--r--src/tests/test_kdf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/test_kdf.cpp b/src/tests/test_kdf.cpp
index c11edd817..a03befb0d 100644
--- a/src/tests/test_kdf.cpp
+++ b/src/tests/test_kdf.cpp
@@ -39,8 +39,9 @@ class KDF_KAT_Tests : public Text_Based_Test
const std::vector<uint8_t> salt = get_opt_bin(vars, "Salt");
const std::vector<uint8_t> secret = get_req_bin(vars, "Secret");
const std::vector<uint8_t> expected = get_req_bin(vars, "Output");
+ const std::vector<uint8_t> label = get_opt_bin(vars, "Label");
- result.test_eq("derived key", kdf->derive_key(outlen, secret, salt), expected);
+ result.test_eq("derived key", kdf->derive_key(outlen, secret, salt, label), expected);
return result;
}