mirror of
https://github.com/emmansun/gmsm.git
synced 2025-09-18 04:43:49 +08:00
Updated SM2 MFMM (2) (markdown)
parent
85a08d0872
commit
a3d2481bf1
@ -8,7 +8,7 @@ $$P = 2^{256}-(2^{32} \ast 2^{192} + 0 \ast 2^{128} + (2^{32} - 1) \ast 2^{64} +
|
||||
|
||||
|
||||
## 平方的模约减优化
|
||||
### 方案一
|
||||
### 方案一:(移位、加法、减法)
|
||||
假设:
|
||||
$T=t_7 \ast 2^{448} + t_6 \ast 2^{384} + t_5 \ast 2^{320} + t_4 \ast 2^{256} + t_3 \ast 2^{192} + t_2 \ast 2^{128} + t_1 \ast 2^{64} + t_0 $
|
||||
则共四次约减,第一次约减为:
|
||||
|
Loading…
x
Reference in New Issue
Block a user