Fix negative short composition
Jordi Baylina jordi@baylina.cat
Mon, 27 Apr 2020 11:57:32 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
ports/c/builder.js
→
ports/c/builder.js
@@ -504,7 +504,7 @@ }
function addShortMontgomeryNegative(a) { - const b = a.minus(self.header.P); + const b = self.F.neg(a); return `${b.toString()}, 0x40000000, { ${getLongString(toMontgomery(a))} }`; }