aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/misty1
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/misty1')
-rw-r--r--src/lib/block/misty1/misty1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/block/misty1/misty1.cpp b/src/lib/block/misty1/misty1.cpp
index d6ac5f9a9..eaef86c8c 100644
--- a/src/lib/block/misty1/misty1.cpp
+++ b/src/lib/block/misty1/misty1.cpp
@@ -93,7 +93,7 @@ uint16_t FI(uint16_t input, uint16_t key7, uint16_t key9)
D9 = MISTY1_SBOX_S9[D9] ^ D7;
D7 = (MISTY1_SBOX_S7[D7] ^ key7 ^ D9) & 0x7F;
D9 = MISTY1_SBOX_S9[D9 ^ key9] ^ D7;
- return static_cast<uint16_t>((D7 << 9) | D9);
+ return static_cast<uint16_t>(D7 << 9) | D9;
}
}