| sm4_hwaes.cpp |
The SM4 sbox is, like the AES sbox, based on inversion in GF(2^8) plus an
affine transformation.
See
- <https://eprint.iacr.org/2022/1154> sections 3.1 and 3.3
- <https://github.com/mjosaarinen/sm4ni>
- <https://jukivili.kapsi.fi/web/mastersthesis/thesis_final_sRGB_PDFA2b.pdf>
describes a similar approach for implementing Camellia in section 4.4
|
8830 |
- |