mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-10 19:16:18 +08:00
Updated SM4 with AESENCLAST (markdown)
parent
88c6ed8177
commit
cb38028d95
@ -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] \}$
|
||||
|
Loading…
x
Reference in New Issue
Block a user