From e3927a7832713212efa908583573a7d009098e2b Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Sun, 26 Nov 2023 06:03:11 +0000 Subject: [PATCH] Adjust comments a bit in micro --- src/_micro.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_micro.ts b/src/_micro.ts index 02cc9b1..e70fad9 100644 --- a/src/_micro.ts +++ b/src/_micro.ts @@ -71,7 +71,7 @@ function salsaCore( const y = new Uint32Array([ s[0], k[0], k[1], k[2], // "expa" Key Key Key k[3], s[1], n[0], n[1], // Key "nd 3" Nonce Nonce - cnt, 0 , s[2], k[4], // Pos. Pos. "2-by" Key + cnt, 0 , s[2], k[4], // Pos. Pos. "2-by" Key k[5], k[6], k[7], s[3], // Key Key Key "te k" ]); const x = y.slice(); @@ -108,7 +108,7 @@ function chachaCore( s[0], s[1], s[2], s[3], // "expa" "nd 3" "2-by" "te k" k[0], k[1], k[2], k[3], // Key Key Key Key k[4], k[5], k[6], k[7], // Key Key Key Key - cnt, n[0], n[1], n[2], // Counter Counter Nonce Nonce + cnt, n[0], n[1], n[2], // Counter Counter Nonce Nonce ]); const x = y.slice(); chachaRound(x, rounds);