summaryrefslogtreecommitdiff
path: root/vmac.cpp
diff options
context:
space:
mode:
authorMarco Deckel <marco.deckel@gmail.com>2015-12-14 15:49:49 +0100
committerMarco Deckel <marco.deckel@gmail.com>2015-12-14 16:11:17 +0100
commitf6499edf3a56e74372bb83923c9c2c1d5667fb95 (patch)
tree4fcfe2dc6a3e28b8ba86c2bd84be7689a3eeeae3 /vmac.cpp
parentd9502a6ea93d7d5a5de6a0c8c28d807efeb1559b (diff)
downloadcryptopp-git-f6499edf3a56e74372bb83923c9c2c1d5667fb95.tar.gz
Microsoft ARM support
* Adjusted config to compile for Microsoft ARM (e.g. Windows Universal apps)
Diffstat (limited to 'vmac.cpp')
-rw-r--r--vmac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmac.cpp b/vmac.cpp
index 45c3d851..936fe8d1 100644
--- a/vmac.cpp
+++ b/vmac.cpp
@@ -467,7 +467,7 @@ VMAC_Base::VHASH_Update_SSE2(const word64 *data, size_t blocksRemainingInWord64,
#define AccumulateNH(a, b, c) a += word128(b)*(c)
#define Multiply128(r, i1, i2) r = word128(word64(i1)) * word64(i2)
#else
- #if _MSC_VER >= 1400 && !defined(__INTEL_COMPILER)
+ #if _MSC_VER >= 1400 && !defined(__INTEL_COMPILER) && !defined(_M_ARM)
#define MUL32(a, b) __emulu(word32(a), word32(b))
#else
#define MUL32(a, b) ((word64)((word32)(a)) * (word32)(b))