| info.txt |
|
89 |
- |
| twofish.cpp |
MDS matrix multiplication (Twofish paper Section 4.2)
MDS = [01, EF, 5B, 5B]
[5B, EF, EF, 01]
[EF, 5B, 01, EF]
[EF, 01, EF, 5B]
The MDS coefficients are 01, 5B, and EF. These were chosen so that
5B = 1 + 1/x^2
EF = 1 + 1/x + 1/x^2
in GF(2^8) mod x^8+x^6+x^5+x^3+1, where 1/x is computed by shifting
right and conditionally XORing with 0xB4 (which is itself just the
irreducible polynomial 0x169 shifted right by 1).
This property of the MDS constants is described (briefly) in Section 7.3
of the Twofish paper.
|
13997 |
- |
| twofish.h |
Twofish, an AES finalist
|
1363 |
- |
| twofish_avx512 |
|
|
- |