From 558808900bffc3c48da5e6d79ba602e88e619154 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 11 Oct 2016 13:00:57 -0400 Subject: Remove Algo_Registry I repent my use of global constructors. I repent my use of global locks. Hopefully I will never touch this code again. :) --- src/lib/hash/blake2/blake2b.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/lib/hash/blake2/blake2b.cpp') diff --git a/src/lib/hash/blake2/blake2b.cpp b/src/lib/hash/blake2/blake2b.cpp index 10ccbf5c0..928f344d7 100644 --- a/src/lib/hash/blake2/blake2b.cpp +++ b/src/lib/hash/blake2/blake2b.cpp @@ -39,11 +39,6 @@ const u64bit blake2b_sigma[12][16] = { }; } -Blake2b* Blake2b::make(const Spec& spec) - { - return new Blake2b(spec.arg_as_integer(0, 512)); - } - Blake2b::Blake2b(size_t output_bits) : m_output_bits(output_bits), m_buffer(BLAKE2B_BLOCKBYTES), -- cgit v1.2.3