summaryrefslogtreecommitdiff
path: root/include/aes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aes.h')
-rw-r--r--include/aes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/aes.h b/include/aes.h
index 4897e6faa05..ee0e6c275f1 100644
--- a/include/aes.h
+++ b/include/aes.h
@@ -8,6 +8,13 @@
#ifndef _AES_REF_H_
#define _AES_REF_H_
+#ifdef USE_HOSTCC
+/* Define compat stuff for use in fw_* tools. */
+typedef unsigned char u8;
+typedef unsigned int u32;
+#define debug(...) do {} while (0)
+#endif
+
/*
* AES encryption library, with small code size, supporting only 128-bit AES
*