Database Reference
In-Depth Information
A
B
C
D
+
+
S[0]
S[1]
<<<
f
<<<
f
lg w
lg w
<<<
<<<
+
S[2i+1]
+
S[2i]
+
+
S[2r+2]
S[2r+3]
A
B
C
D
Figure 4.7
Encryption with RC6
w/r/b
algorithm.
A = ((A
⊕
t) <<< u) + S [2i];
C = ((C
⊕
u) <<< t) + S [2i + 1];
(A, B, C, D) = (B, C, D, A);}
End
A = A + S [2r + 2];
C = C + S [2r + 3];
4.5.7.2 RC6 Decryption Algorithm
Input: Four
w
-bit ciphertext values
are stored in registers
A, B, C,
and
D.
Number of rounds
r
w
-bit round keys
S
[0, …, 2
r
+ 3]
Search WWH ::
Custom Search