aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 19:42:16 +0000
committerlloyd <[email protected]>2008-11-08 19:42:16 +0000
commit8dba7b5264403e781bbb86ff61850e4377dca7b9 (patch)
tree5e784f8e4bbf0ed423e850600adaef3eda4cd07d /src/mac
parent8f86d41613db588e4912fd23a61f7c6b3947e32a (diff)
Split base.h into block_cipher.h and stream_cipher.h
It turned out many files were including base.h merely to get other includes (like types.h, secmem.h, and exceptn.h). Those have been changed to directly include the files containing the declarations that code needs.
Diffstat (limited to 'src/mac')
-rw-r--r--src/mac/cbc_mac/cbc_mac.h1
-rw-r--r--src/mac/cmac/cmac.h1
-rw-r--r--src/mac/mac.h2
-rw-r--r--src/mac/x919_mac/x919_mac.h1
4 files changed, 4 insertions, 1 deletions
diff --git a/src/mac/cbc_mac/cbc_mac.h b/src/mac/cbc_mac/cbc_mac.h
index 2b30fedd2..7e93097d5 100644
--- a/src/mac/cbc_mac/cbc_mac.h
+++ b/src/mac/cbc_mac/cbc_mac.h
@@ -7,6 +7,7 @@
#define BOTAN_CBC_MAC_H__
#include <botan/mac.h>
+#include <botan/block_cipher.h>
namespace Botan {
diff --git a/src/mac/cmac/cmac.h b/src/mac/cmac/cmac.h
index 556d9dd9e..66eb46a69 100644
--- a/src/mac/cmac/cmac.h
+++ b/src/mac/cmac/cmac.h
@@ -7,6 +7,7 @@
#define BOTAN_CMAC_H__
#include <botan/mac.h>
+#include <botan/block_cipher.h>
namespace Botan {
diff --git a/src/mac/mac.h b/src/mac/mac.h
index 99184fd3f..ff5939f6e 100644
--- a/src/mac/mac.h
+++ b/src/mac/mac.h
@@ -7,7 +7,7 @@
#define BOTAN_MESSAGE_AUTH_CODE_BASE_H__
#include <botan/buf_comp.h>
-#include <botan/base.h>
+#include <botan/sym_algo.h>
#include <string>
namespace Botan {
diff --git a/src/mac/x919_mac/x919_mac.h b/src/mac/x919_mac/x919_mac.h
index 85b8254a5..46196f8f4 100644
--- a/src/mac/x919_mac/x919_mac.h
+++ b/src/mac/x919_mac/x919_mac.h
@@ -7,6 +7,7 @@
#define BOTAN_ANSI_X919_MAC_H__
#include <botan/mac.h>
+#include <botan/block_cipher.h>
namespace Botan {