aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac/cmac/cmac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/mac/cmac/cmac.cpp')
-rw-r--r--src/lib/mac/cmac/cmac.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/mac/cmac/cmac.cpp b/src/lib/mac/cmac/cmac.cpp
index 38752471d..1ab462056 100644
--- a/src/lib/mac/cmac/cmac.cpp
+++ b/src/lib/mac/cmac/cmac.cpp
@@ -5,23 +5,13 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#include <botan/cmac.h>
+#include <botan/internal/cmac.h>
#include <botan/exceptn.h>
#include <botan/internal/poly_dbl.h>
namespace Botan {
/*
-* Perform CMAC's multiplication in GF(2^n)
-*/
-secure_vector<uint8_t> CMAC::poly_double(const secure_vector<uint8_t>& in)
- {
- secure_vector<uint8_t> out(in.size());
- poly_double_n(out.data(), in.data(), out.size());
- return out;
- }
-
-/*
* Update an CMAC Calculation
*/
void CMAC::add_data(const uint8_t input[], size_t length)