diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-11-16 23:07:30 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-11-16 23:07:30 -0500 |
commit | 7f7131dc5568e07a28f7c5d422c7b3a63b38a224 (patch) | |
tree | 43f82a2e4099a3a35f4e682ba97b266d4de70480 /gcm.cpp | |
parent | a5bf9626817e96f8c8611b40fb4699202d98638b (diff) | |
download | cryptopp-git-7f7131dc5568e07a28f7c5d422c7b3a63b38a224.tar.gz |
Fix GCM_Xor16_SSE2 for 32-bit MSVC compiles
Diffstat (limited to 'gcm.cpp')
-rw-r--r-- | gcm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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
|