From: Chris Duncan Date: Sun, 3 Aug 2025 11:26:09 +0000 (-0700) Subject: Revert fill change. X-Git-Tag: v0.10.5~46^2~28 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=da3f0af6d41f8fe7ac60d8effd953d6997754e17;p=libnemo.git Revert fill change. --- diff --git a/src/lib/nano-nacl.ts b/src/lib/nano-nacl.ts index cd3ac9c..ef9dc4d 100644 --- a/src/lib/nano-nacl.ts +++ b/src/lib/nano-nacl.ts @@ -142,6 +142,7 @@ export class NanoNaCl { let v, c const s = 1 << 16 const t = new Array(31) + t.fill(0) // init t values for (let i = 0; i < 16; i++) { @@ -181,6 +182,7 @@ export class NanoNaCl { let v, c const s = 1 << 16 const t = new Array(31) + t.fill(0) // init t values, same as Multiply except we can skip some iterations of // the inner loop since a[x]*a[y] + a[y]*a[x] = 2*a[x]*a[y]