aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/base.cpp')
-rw-r--r--src/core/base.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/core/base.cpp b/src/core/base.cpp
index 0682affe9..ff7fa5d4e 100644
--- a/src/core/base.cpp
+++ b/src/core/base.cpp
@@ -4,6 +4,7 @@
*************************************************/
#include <botan/base.h>
+#include <botan/mac.h>
#include <botan/version.h>
namespace Botan {
@@ -76,18 +77,6 @@ BufferedComputation::BufferedComputation(u32bit olen) : OUTPUT_LENGTH(olen)
}
/*************************************************
-* MessageAuthenticationCode Constructor *
-*************************************************/
-MessageAuthenticationCode::MessageAuthenticationCode(u32bit mlen,
- u32bit key_min,
- u32bit key_max,
- u32bit key_mod) :
- BufferedComputation(mlen),
- SymmetricAlgorithm(key_min, key_max, key_mod)
- {
- }
-
-/*************************************************
* Default MAC verification operation *
*************************************************/
bool MessageAuthenticationCode::verify_mac(const byte mac[], u32bit length)