Skip to content

Commit 376ca36

Browse files
committed
Fix typo in explanation
1 parent 1e5d50f commit 376ca36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/safegcd_implementation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def update_de(d, e, t, M, Mi):
681681
cd, ce = (u*d + v*e) % 2**N, (q*d + r*e) % 2**N
682682
md -= (Mi*cd + md) % 2**N
683683
me -= (Mi*ce + me) % 2**N
684-
cd, ce = u*d + v*e + Mi*md, q*d + r*e + Mi*me
684+
cd, ce = u*d + v*e + M*md, q*d + r*e + M*me
685685
return cd >> N, ce >> N
686686
```
687687

0 commit comments

Comments
 (0)