diff options
Diffstat (limited to 'src/lib/hash/hash.cpp')
-rw-r--r-- | src/lib/hash/hash.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/hash/hash.cpp b/src/lib/hash/hash.cpp index 186811b64..112554127 100644 --- a/src/lib/hash/hash.cpp +++ b/src/lib/hash/hash.cpp @@ -251,18 +251,10 @@ std::unique_ptr<HashFunction> HashFunction::create(const std::string& algo_spec, { return std::unique_ptr<HashFunction>(new SHAKE_128(req.arg_as_integer(0, 128))); } - if(req.algo_name() == "SHAKE-128(256)") - { - return std::unique_ptr<HashFunction>(new SHAKE_128(req.arg_as_integer(0, 256))); - } if(req.algo_name() == "SHAKE-256") { return std::unique_ptr<HashFunction>(new SHAKE_256(req.arg_as_integer(0, 256))); } - if(req.algo_name() == "SHAKE-256(512)") - { - return std::unique_ptr<HashFunction>(new SHAKE_256(req.arg_as_integer(0, 512))); - } #endif #if defined(BOTAN_HAS_WHIRLPOOL) |