summaryrefslogtreecommitdiff
path: root/test/aes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/aes.cc')
-rw-r--r--test/aes.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/aes.cc b/test/aes.cc
index d08679d489..98d79b4b03 100644
--- a/test/aes.cc
+++ b/test/aes.cc
@@ -19,8 +19,6 @@
#include "test_util.h"
extern "C" {
-#include "aes-gcm.h"
-#include "aes.h"
#include "builtin/assert.h"
#include "console.h"
#include "timer.h"
@@ -28,6 +26,13 @@ extern "C" {
#include "watchdog.h"
}
+#include "aes_gcm_helpers.h"
+#include "openssl/aes.h"
+
+/* These must be included after the "openssl/aes.h" */
+#include "crypto/fipsmodule/aes/internal.h"
+#include "crypto/fipsmodule/modes/internal.h"
+
/* Temporary buffer, to avoid using too much stack space. */
static uint8_t tmp[512];