diff --git a/SM4-with-AESENCLAST.md b/SM4-with-AESENCLAST.md index f37e1c1..739767e 100644 --- a/SM4-with-AESENCLAST.md +++ b/SM4-with-AESENCLAST.md @@ -175,6 +175,7 @@ func sm4_box_aesenclast_intel(rk uint32, t0, t1, t2, t3, a1l, a1h, a2l, a2h __m1 return x } ``` +其实x = mm_shuffle_epi8(x, intelmaskSrows)在mm_aesenclast_si128之前调用,结果也是一样的。 ## How to calculate lookup table from M, C? $\{ M\times i + C \mid i \in [0,255] \}$