| seed_avx512_gfni.cpp |
SEED's two sboxes are both based on inversions in GF(2^8) modulo the polynomial
x^8+x^6+x^5+x+1 (0x163), followed by different affine transforms.
GFNI uses AES's field (modulo 0x11B) so the pre-inversion matrix is a field isomorphism
that maps the inputs into the AES field. The post-inversion matrices then apply map
back to SEED's field and apply the appropriate linear transform.
|
11599 |
- |