aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/comb4p/comb4p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/comb4p/comb4p.cpp')
-rw-r--r--src/lib/hash/comb4p/comb4p.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/hash/comb4p/comb4p.cpp b/src/lib/hash/comb4p/comb4p.cpp
index 015873473..4659ace77 100644
--- a/src/lib/hash/comb4p/comb4p.cpp
+++ b/src/lib/hash/comb4p/comb4p.cpp
@@ -33,19 +33,6 @@ void comb4p_round(secure_vector<byte>& out,
}
-Comb4P* Comb4P::make(const Spec& spec)
- {
- if(spec.arg_count() == 2)
- {
- std::unique_ptr<HashFunction> h1(HashFunction::create(spec.arg(0)));
- std::unique_ptr<HashFunction> h2(HashFunction::create(spec.arg(1)));
-
- if(h1 && h2)
- return new Comb4P(h1.release(), h2.release());
- }
- return nullptr;
- }
-
Comb4P::Comb4P(HashFunction* h1, HashFunction* h2) :
m_hash1(h1), m_hash2(h2)
{