diff options
Diffstat (limited to 'src/lib/kdf')
-rw-r--r-- | src/lib/kdf/kdf.cpp | 4 |
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") { |