]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - crypto/aes_ti.c
powerpc: Fix emulation of mcrf in emulate_step()
[karo-tx-linux.git] / crypto / aes_ti.c
index 92644fd1ac19c0fe5012e1c50c73a2e9f034327a..03023b2290e8ec6e790679a30ddf4763e0476923 100644 (file)
@@ -114,7 +114,7 @@ static u32 mix_columns(u32 x)
         * | 0x2 0x3 0x1 0x1 |   | x[0] |
         * | 0x1 0x2 0x3 0x1 |   | x[1] |
         * | 0x1 0x1 0x2 0x3 | x | x[2] |
-        * | 0x3 0x1 0x1 0x3 |   | x[3] |
+        * | 0x3 0x1 0x1 0x2 |   | x[3] |
         */
        u32 y = mul_by_x(x) ^ ror32(x, 16);