Updated SM2 WWMM (2) (markdown)

Sun Yimin 2024-03-01 09:02:18 +08:00
parent 11e7541842
commit 265eae11e8

@ -106,7 +106,7 @@ $t_0=t_0 - a_1$
MOVQ acc0, DX \
SHLQ $32, AX \ // AX = L(acc0 * 2^32), low part
SHRQ $32, DX \ // DX = H(acc0 * 2^32), high part
\// calculate the negative part: [1, -0x100000000, 0, -0x100000000] * acc0
\// calculate the negative part: [1, -0x100000000, 0, -0x100000000] * acc0 + [0, acc3, acc2, acc1]
SUBQ AX, acc1 \
SBBQ DX, acc2 \
SBBQ AX, acc3 \