Updated SM4 with GFNI (markdown)

Sun Yimin 2024-10-09 08:08:30 +08:00
parent 2336973797
commit 5225fd7ea8

@ -7,5 +7,14 @@
- [SM4 GFNI](https://github.com/intel/ipp-crypto/blob/36e76e2388f3dd10cc440e213dfcf6ef59a0dfb8/sources/ippcp/pcpsms4_gfni.h#L4) - [SM4 GFNI](https://github.com/intel/ipp-crypto/blob/36e76e2388f3dd10cc440e213dfcf6ef59a0dfb8/sources/ippcp/pcpsms4_gfni.h#L4)
- [gf2p8affineqb: int8 shifting](https://wunkolo.github.io/post/2020/11/gf2p8affineqb-int8-shifting/) - [gf2p8affineqb: int8 shifting](https://wunkolo.github.io/post/2020/11/gf2p8affineqb-int8-shifting/)
# SM4 SBOX实现对比
## AESNI
1. 多条指令实现的仿射
2. AESENCLAST
3. 多条指令实现的仿射
## GFNI
1. Affine Transformation (单指令)
2. Affine Transformation Inverse (单指令)
# 生成映射 # 生成映射
[AES SM4 GFNI](https://gist.github.com/emmansun/cb9f14beafa9f75954f3e1883b62a2d3) [AES SM4 GFNI](https://gist.github.com/emmansun/cb9f14beafa9f75954f3e1883b62a2d3)