fix compile on Linux
parent
7adbf89681
commit
797192ea60
4
misc.cpp
4
misc.cpp
|
|
@ -8,6 +8,10 @@
|
||||||
#include "words.h"
|
#include "words.h"
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
|
#if defined(CRYPTOPP_MEMALIGN_AVAILABLE) || defined(CRYPTOPP_MM_MALLOC_AVAILABLE) || defined(QNX)
|
||||||
|
#include <malloc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
void xorbuf(byte *buf, const byte *mask, size_t count)
|
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"
|
#include "cpu.h"
|
||||||
|
|
||||||
#if CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE
|
#if CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE
|
||||||
|
#include <smmintrin.h>
|
||||||
#include <wmmintrin.h>
|
#include <wmmintrin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,6 @@
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#if defined(CRYPTOPP_MEMALIGN_AVAILABLE) || defined(CRYPTOPP_MM_MALLOC_AVAILABLE) || defined(QNX)
|
|
||||||
#include <malloc.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
NAMESPACE_BEGIN(CryptoPP)
|
NAMESPACE_BEGIN(CryptoPP)
|
||||||
|
|
||||||
// ************** secure memory allocation ***************
|
// ************** secure memory allocation ***************
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue