aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/kdf/kdf.cpp
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-11-15 09:33:26 +0100
committerRenĂ© Korthaus <[email protected]>2016-11-15 09:33:26 +0100
commitb3ee964237bccf71bf0e75d725ae3118c8f91bf3 (patch)
tree3a2df22564ce58c53516d3c4178050aed825d478 /src/lib/kdf/kdf.cpp
parentda497797cc7de2b64b63006a0108f785e4a360c1 (diff)
Add test vectors for HKDF-Expand and HKDF-Extract
Diffstat (limited to 'src/lib/kdf/kdf.cpp')
-rw-r--r--src/lib/kdf/kdf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/kdf/kdf.cpp b/src/lib/kdf/kdf.cpp
index 501f81717..e48a3463c 100644
--- a/src/lib/kdf/kdf.cpp
+++ b/src/lib/kdf/kdf.cpp
@@ -78,7 +78,7 @@ std::unique_ptr<KDF> KDF::create(const std::string& algo_spec,
}
}
- if(req.algo_name() == "HKDF_Extract" && req.arg_count() == 1)
+ if(req.algo_name() == "HKDF-Extract" && req.arg_count() == 1)
{
if(provider.empty() || provider == "base")
{
@@ -86,7 +86,7 @@ std::unique_ptr<KDF> KDF::create(const std::string& algo_spec,
}
}
- if(req.algo_name() == "HKDF_Expand" && req.arg_count() == 1)
+ if(req.algo_name() == "HKDF-Expand" && req.arg_count() == 1)
{
if(provider.empty() || provider == "base")
{