FFmulX() 개인적인 정적인 메소드

private static FFmulX ( uint x ) : uint
x uint
리턴 uint
예제 #1
0
        private static uint Inv_Mcol(uint x)
        {
            uint num  = AesLightEngine.FFmulX(x);
            uint num2 = AesLightEngine.FFmulX(num);
            uint num3 = AesLightEngine.FFmulX(num2);
            uint num4 = x ^ num3;

            return(num ^ num2 ^ num3 ^ AesLightEngine.Shift(num ^ num4, 8) ^ AesLightEngine.Shift(num2 ^ num4, 16) ^ AesLightEngine.Shift(num4, 24));
        }
예제 #2
0
        private static uint Mcol(uint x)
        {
            uint num = AesLightEngine.FFmulX(x);

            return(num ^ AesLightEngine.Shift(x ^ num, 8) ^ AesLightEngine.Shift(x, 16) ^ AesLightEngine.Shift(x, 24));
        }