diff --git a/SM4-with-GFNI.md b/SM4-with-GFNI.md index bb913fa..10c2abe 100644 --- a/SM4-with-GFNI.md +++ b/SM4-with-GFNI.md @@ -7,5 +7,14 @@ - [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/) +# SM4 SBOX实现对比 +## AESNI +1. 多条指令实现的仿射 +2. AESENCLAST +3. 多条指令实现的仿射 +## GFNI +1. Affine Transformation (单指令) +2. Affine Transformation Inverse (单指令) + # 生成映射 [AES SM4 GFNI](https://gist.github.com/emmansun/cb9f14beafa9f75954f3e1883b62a2d3)