From: Chris Duncan Date: Wed, 8 Jan 2025 20:20:58 +0000 (-0800) Subject: Expand documentation of implementation details. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=b2898081b8279e0906739b02938b9a42da56027d;p=libnemo.git Expand documentation of implementation details. --- diff --git a/src/lib/nano-pow/shaders/gpu-compute.ts b/src/lib/nano-pow/shaders/gpu-compute.ts index 0fcf82e..ffe8183 100644 --- a/src/lib/nano-pow/shaders/gpu-compute.ts +++ b/src/lib/nano-pow/shaders/gpu-compute.ts @@ -194,7 +194,10 @@ fn main( var v31: u32 = 0x5BE0CD19u; /** - * Twelve rounds of G mixing as part of BLAKE2b compression step + * Twelve rounds of G mixing as part of BLAKE2b compression step. + * Each sigma r index correlates with the reference implementation, but each + * sigma i index, and each v index, is doubled due to using two u32 array + * elements to represent one uint64_t. */ var o0: u32; var o1: u32;