Fix GCM_Xor16_SSE2 for 32-bit MSVC compiles
parent
a5bf962681
commit
7f7131dc55
2
gcm.cpp
2
gcm.cpp
|
|
@ -84,7 +84,7 @@ extern void GCM_Xor16_SSE2(byte *a, const byte *b, const byte *c);
|
|||
# else
|
||||
static inline void GCM_Xor16_SSE2(byte *a, const byte *b, const byte *c)
|
||||
{
|
||||
# if CRYPTOPP_SSE2_ASM_AVAILABLE
|
||||
# if CRYPTOPP_SSE2_ASM_AVAILABLE && defined(__GNUC__)
|
||||
asm ("movdqa %1, %%xmm0; pxor %2, %%xmm0; movdqa %%xmm0, %0;"
|
||||
: "=m" (a[0]) : "rm"(b[0]), "rm"(c[0]));
|
||||
# else // CRYPTOPP_SSE2_INTRIN_AVAILABLE
|
||||
|
|
|
|||
Loading…
Reference in New Issue