summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tweakey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tweakey.c b/src/tweakey.c
index e6f3c36..9f67ed6 100644
--- a/src/tweakey.c
+++ b/src/tweakey.c
@@ -144,7 +144,7 @@ static void _multiply_M3(const uint8_t X[LANE_BYTES], uint8_t Y[LANE_BYTES])
Y[5] = M_2[X[4]] ^ M_1[X[3]] ^ X[2];
Y[4] = X[6]<<2 ^ X[3]>>6 ^ X[2]>>3 ^ X[1];
Y[3] = X[5]<<2 ^ X[0];
- Y[2] = X[7] ^ X[5]<<6 ^ X[4]<<2;
+ Y[2] = X[7] ^ X[5]<<5 ^ X[4]<<2;
Y[1] = X[6];
Y[0] = X[5];
}