fix compile on Linux
parent
7adbf89681
commit
797192ea60
4
misc.cpp
4
misc.cpp
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 ***************
|
||||
|
|
|
|||
Loading…
Reference in New Issue