aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac/mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/mac/mac.cpp')
-rw-r--r--src/lib/mac/mac.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/lib/mac/mac.cpp b/src/lib/mac/mac.cpp
index 4c3fc5230..e7f7be88e 100644
--- a/src/lib/mac/mac.cpp
+++ b/src/lib/mac/mac.cpp
@@ -10,10 +10,6 @@
#include <botan/scan_name.h>
#include <botan/mem_ops.h>
-#if defined(BOTAN_HAS_CBC_MAC)
- #include <botan/cbc_mac.h>
-#endif
-
#if defined(BOTAN_HAS_CMAC)
#include <botan/cmac.h>
#endif
@@ -103,17 +99,6 @@ MessageAuthenticationCode::create(const std::string& algo_spec,
#endif
-#if defined(BOTAN_HAS_CBC_MAC)
- if(req.algo_name() == "CBC-MAC" && req.arg_count() == 1)
- {
- if(provider.empty() || provider == "base")
- {
- if(auto bc = BlockCipher::create(req.arg(0)))
- return std::unique_ptr<MessageAuthenticationCode>(new CBC_MAC(bc.release()));
- }
- }
-#endif
-
#if defined(BOTAN_HAS_ANSI_X919_MAC)
if(req.algo_name() == "X9.19-MAC")
{