From: Chris Duncan Date: Mon, 9 Nov 2026 08:12:33 +0000 (-0800) Subject: Adjust doc comment for accuracy. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=6bc68b9788769b6897994a284a819d8b8c30c8dd;p=nano25519.git Adjust doc comment for accuracy. --- diff --git a/src/assembly/ed25519/ge/double_scalarmult.ts b/src/assembly/ed25519/ge/double_scalarmult.ts index f3857d9..a361f8f 100644 --- a/src/assembly/ed25519/ge/double_scalarmult.ts +++ b/src/assembly/ed25519/ge/double_scalarmult.ts @@ -26,7 +26,7 @@ const t: p1p1 = new p1p1() const u: p3 = new p3() /** - * `r = a[A] + b[B]` + * `r = enc(a[A] + b[B])` * * where `a = a[0]+256*a[1]+...+256^31 a[31]` * @@ -37,6 +37,8 @@ const u: p3 = new p3() * * `B` is the Ed25519 base point `(x, 4/5)` with `x` positive. * + * `enc()` is the point-to-byte encoding algorithm + * * Variable-time; only used for signature verification. */ export function ge_double_scalarmult_vartime_to_bytes (r: StaticArray, a: StaticArray, Ai: StaticArray, b: StaticArray): void {