aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-09-22 10:54:17 -0400
committerJack Lloyd <[email protected]>2015-09-22 10:54:17 -0400
commit38a50cbabe70ae2d8f67f27a8092509b886b85e6 (patch)
treebb3f43ba1dd0007d96c4974a087af9ef71e0d6e2 /src/lib/modes
parenta2267040583137c2192d593fcd4cb09b388a3bd6 (diff)
Cleanup includes
Diffstat (limited to 'src/lib/modes')
-rw-r--r--src/lib/modes/aead/aead.cpp3
-rw-r--r--src/lib/modes/cipher_mode.cpp1
-rw-r--r--src/lib/modes/mode_utils.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/modes/aead/aead.cpp b/src/lib/modes/aead/aead.cpp
index 61918c310..3d04887d0 100644
--- a/src/lib/modes/aead/aead.cpp
+++ b/src/lib/modes/aead/aead.cpp
@@ -4,8 +4,9 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#include <botan/internal/mode_utils.h>
#include <botan/aead.h>
+#include <botan/internal/mode_utils.h>
+#include <botan/internal/algo_registry.h>
#if defined(BOTAN_HAS_AEAD_CCM)
#include <botan/ccm.h>
diff --git a/src/lib/modes/cipher_mode.cpp b/src/lib/modes/cipher_mode.cpp
index 27ee26327..acd5e23e2 100644
--- a/src/lib/modes/cipher_mode.cpp
+++ b/src/lib/modes/cipher_mode.cpp
@@ -8,6 +8,7 @@
#include <botan/cipher_mode.h>
#include <botan/stream_mode.h>
#include <botan/internal/mode_utils.h>
+#include <botan/internal/algo_registry.h>
#include <sstream>
#if defined(BOTAN_HAS_MODE_ECB)
diff --git a/src/lib/modes/mode_utils.h b/src/lib/modes/mode_utils.h
index a61c22a4f..44524c4f6 100644
--- a/src/lib/modes/mode_utils.h
+++ b/src/lib/modes/mode_utils.h
@@ -9,7 +9,6 @@
#define BOTAN_MODE_UTILS_H__
#include <botan/cipher_mode.h>
-#include <botan/internal/algo_registry.h>
#include <botan/block_cipher.h>
#include <botan/loadstor.h>
#include <botan/internal/rounding.h>