mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-10 23:23:32 +00:00
Fix missing CryptoPP::rdtable::Te symbol for Microsoft SSE2 non-AESNI X64 platforms when CRYPTOPP_NO_UNALIGNED_DATA_ACCESS defined
This commit is contained in:
parent
e26b9eb251
commit
c8de423ab5
12
rijndael.cpp
12
rijndael.cpp
@ -85,9 +85,15 @@ using namespace rdtable;
|
|||||||
static word64 Te[256];
|
static word64 Te[256];
|
||||||
# endif
|
# endif
|
||||||
static word64 Td[256];
|
static word64 Td[256];
|
||||||
#else
|
#else // Not CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS
|
||||||
static word32 Te[256*4], Td[256*4];
|
# if defined(CRYPTOPP_X64_MASM_AVAILABLE)
|
||||||
#endif
|
// Unused; avoids linker error on Microsoft X64 non-AESNI platforms
|
||||||
|
namespace rdtable {CRYPTOPP_ALIGN_DATA(16) word64 Te[256+2];}
|
||||||
|
# endif
|
||||||
|
static CRYPTOPP_ALIGN_DATA(16) word32 Te[256*4];
|
||||||
|
static CRYPTOPP_ALIGN_DATA(16) word32 Td[256*4];
|
||||||
|
#endif // CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS
|
||||||
|
|
||||||
static volatile bool s_TeFilled = false, s_TdFilled = false;
|
static volatile bool s_TeFilled = false, s_TdFilled = false;
|
||||||
|
|
||||||
// ************************* Portable Code ************************************
|
// ************************* Portable Code ************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user