FFmulX() private static method

private static FFmulX ( uint x ) : uint
x uint
return uint
Beispiel #1
0
        // Token: 0x06000122 RID: 290 RVA: 0x0000936C File Offset: 0x0000756C
        private static uint Inv_Mcol(uint x)
        {
            uint num  = x ^ AesEngine.Shift(x, 8);
            uint num2 = x ^ AesEngine.FFmulX(num);

            num ^= AesEngine.FFmulX2(num2);
            return(num2 ^ (num ^ AesEngine.Shift(num, 16)));
        }
Beispiel #2
0
        private static uint Inv_Mcol(uint x)
        {
            uint num  = AesEngine.FFmulX(x);
            uint num2 = AesEngine.FFmulX(num);
            uint num3 = AesEngine.FFmulX(num2);
            uint num4 = x ^ num3;

            return(num ^ num2 ^ num3 ^ AesEngine.Shift(num ^ num4, 8) ^ AesEngine.Shift(num2 ^ num4, 16) ^ AesEngine.Shift(num4, 24));
        }