Skip to content

Commit 8cc45e0

Browse files
committed
Use correct right shift operator in AES macro
1 parent b784951 commit 8cc45e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/FCryptoAESMacros.uci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
a = (`x); \
33
b = (`y); \
44
(`x) = (a & `cl) | ((b & `cl) << (`s)); \
5-
(`y) = ((a & `ch) >> (`s)) | (b & `ch); \
5+
(`y) = ((a & `ch) >>> (`s)) | (b & `ch); \
66

77
`define SWAP2(x, y) `SWAPN(0x55555555, 0xAAAAAAAA, 1, `x, `y)
88
`define SWAP4(x, y) `SWAPN(0x33333333, 0xCCCCCCCC, 2, `x, `y)

0 commit comments

Comments
 (0)