diff options
-rw-r--r-- | misc.cpp | 4 | ||||
-rw-r--r-- | rijndael.cpp | 1 | ||||
-rw-r--r-- | secblock.h | 4 |
3 files changed, 5 insertions, 4 deletions
@@ -8,6 +8,10 @@ #include "words.h" #include <new> +#if defined(CRYPTOPP_MEMALIGN_AVAILABLE) || defined(CRYPTOPP_MM_MALLOC_AVAILABLE) || defined(QNX) +#include <malloc.h> +#endif + NAMESPACE_BEGIN(CryptoPP) void xorbuf(byte *buf, const byte *mask, size_t count) diff --git a/rijndael.cpp b/rijndael.cpp index fbc7dcc..9a77902 100644 --- a/rijndael.cpp +++ b/rijndael.cpp @@ -74,6 +74,7 @@ being unloaded from L1 cache, until that round is finished. #include "cpu.h" #if CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE +#include <smmintrin.h> #include <wmmintrin.h> #endif @@ -7,10 +7,6 @@ #include "misc.h" #include <assert.h> -#if defined(CRYPTOPP_MEMALIGN_AVAILABLE) || defined(CRYPTOPP_MM_MALLOC_AVAILABLE) || defined(QNX) - #include <malloc.h> -#endif - NAMESPACE_BEGIN(CryptoPP) // ************** secure memory allocation *************** |