Mix Column
+-------------+
| 02 03 01 01 |
| 01 02 03 01 |
| 01 01 02 03 |
| 03 01 01 02 |
+-------------+Fixed matrice User data Result
+-------------+ +-------------+ +-------------+
| 02 03 01 01 | | 00 01 02 03 | | r1 r2 r3 r4 |
| 01 02 03 01 | | 11 12 13 10 | | ... |
| 01 01 02 03 | * | 22 23 20 21 | = | ? |
| 03 01 01 02 | | 33 30 31 32 | | |
+-------------+ +-------------+ +-------------+
Each row of the result are made by the result of the operation of the fixed matrice row times each column :
r1 = ( 02 * 00 ) β ( 03 * 11 ) β ( 01 * 22 ) β ( 01 * 33 )
r2 = ( 02 * 01 ) β ( 03 * 12 ) β ( 01 * 23 ) β ( 01 * 30 )
r3 = ( 02 * 02 ) β ( 03 * 13 ) β ( 01 * 20 ) β ( 01 * 31 )
etc. Python implementation
Optimized
Last updated