aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/kdf/kdf.cpp
diff options
context:
space:
mode:
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")
{