Encryption with RC6-w/r/b
Input: Plaintext stored in four w-bit input registers A,B,C,D; Number r of rounds
w-bit round keys S[0,…,2r+3]
Output: Ciphertext stored in A,B,C,D
Procedure: B=B+S[0] D=D+S[1]
t=(B ? (2B + 1 )) <<< lg w
u=(D ? (2D + 1)) <<< lg w
A=((A ? t) <<< u ) + S[2i]
C=((C ? u) <<< t) + S[2i+1]