Browse Source

Fix negative short composition

master
Jordi Baylina 4 years ago
parent
commit
99afb4312e
No known key found for this signature in database GPG Key ID: 7480C80C1BE43112
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ports/c/builder.js

+ 1
- 1
ports/c/builder.js

@ -504,7 +504,7 @@ class BuilderC {
function addShortMontgomeryNegative(a) { function addShortMontgomeryNegative(a) {
const b = a.minus(self.header.P);
const b = self.F.neg(a);
return `${b.toString()}, 0x40000000, { ${getLongString(toMontgomery(a))} }`; return `${b.toString()}, 0x40000000, { ${getLongString(toMontgomery(a))} }`;
} }

Loading…
Cancel
Save