aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/aes
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-10-18 06:02:09 -0400
committerJack Lloyd <[email protected]>2019-10-18 06:02:09 -0400
commit09b09d22cf7574108e834bb3e8715a38e4bad60c (patch)
tree537fd274a9743a7beb78cb66cd23fc24e86830a9 /src/lib/block/aes
parentca73e7a93e1b703252b70b4fe31c8c62f9cd6209 (diff)
Fix some MSVC warnings
Diffstat (limited to 'src/lib/block/aes')
-rw-r--r--src/lib/block/aes/aes_vperm/aes_vperm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/block/aes/aes_vperm/aes_vperm.cpp b/src/lib/block/aes/aes_vperm/aes_vperm.cpp
index 7e7b36116..1703bd856 100644
--- a/src/lib/block/aes/aes_vperm/aes_vperm.cpp
+++ b/src/lib/block/aes/aes_vperm/aes_vperm.cpp
@@ -505,7 +505,7 @@ SIMD_4x32 aes_schedule_192_smear(SIMD_4x32 x, SIMD_4x32 y)
const SIMD_4x32 shuffle2000 =
SIMD_4x32(0x03020100, 0x03020100, 0x03020100, 0x0B0A0908);
- const SIMD_4x32 zero_top_half(0, 0, ~0, ~0);
+ const SIMD_4x32 zero_top_half(0, 0, 0xFFFFFFFF, 0xFFFFFFFF);
y &= zero_top_half;
return y ^ shuffle(x, shuffle3332) ^ shuffle(y, shuffle2000);
}