mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-11 03:26:17 +08:00
Updated SM4 with AESENCLAST (markdown)
parent
ddf84187f2
commit
1188f05c4f
@ -179,7 +179,7 @@ func sm4_box_aesenclast_intel(rk uint32, t0, t1, t2, t3, a1l, a1h, a2l, a2h __m1
|
|||||||
|
|
||||||
类似于:
|
类似于:
|
||||||
```
|
```
|
||||||
{(M1, C1, M2, C2) | SM4-S(x) = A2(AES-S(A1(x)), A1(x) = M1*x + C1, A2(x) = M2*(x+0x63) + C2 = M2*x + M2*0x63 + C2}
|
{(M1, C1, M2, C2) | SM4-S(x) = A2(AES-S(A1(x)), A1(x) = M1*x + C1, A2(x) = M2*(x+0x63) + C2}
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to calculate lookup table from M, C?
|
## How to calculate lookup table from M, C?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user