From: Chris Duncan Date: Thu, 14 Aug 2025 13:23:48 +0000 (-0700) Subject: Use blocks consistently. X-Git-Tag: v0.10.5~41^2~100 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=7c557251ac38c1fc48e2b45258831595a07065e2;p=libnemo.git Use blocks consistently. --- diff --git a/src/lib/crypto/nano-nacl.ts b/src/lib/crypto/nano-nacl.ts index 78ea046..c2c4d1d 100644 --- a/src/lib/crypto/nano-nacl.ts +++ b/src/lib/crypto/nano-nacl.ts @@ -325,7 +325,9 @@ export class NanoNaCl { static reduce (r: Uint8Array): void { const x = new BigInt64Array(64) - for (let i = 0; i < 64; i++) x[i] = BigInt(r[i]) + for (let i = 0; i < 64; i++) { + x[i] = BigInt(r[i]) + } r.fill(0) this.modL(r, x) }