From: Chris Duncan Date: Fri, 2 Oct 2026 10:48:08 +0000 (-0700) Subject: Doc formatting. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=ea7af09ca145d8c57ec23d8f77ccbdb88ed162a3;p=nano25519.git Doc formatting. --- diff --git a/src/assembly/ed25519/ge.ts b/src/assembly/ed25519/ge.ts index 402213b..6143eca 100644 --- a/src/assembly/ed25519/ge.ts +++ b/src/assembly/ed25519/ge.ts @@ -377,12 +377,15 @@ const ge_double_scalarmult_vartime_u: ge_p3 = new ge_p3() const ge_double_scalarmult_vartime_A2: ge_p3 = new ge_p3() const ge_double_scalarmult_vartime_fe_scratch: FieldElement = fe() /** - * r = a * A + b * B - * where a = a[0]+256*a[1]+...+256^31 a[31]. - * and b = b[0]+256*b[1]+...+256^31 b[31]. - * B is the Ed25519 base point (x,4/5) with x positive. + * `r = a[A] + b[B]` * - * Only used for signatures verification. + * where `a = a[0]+256*a[1]+...+256^31 a[31]` + * + * and `b = b[0]+256*b[1]+...+256^31 b[31]` + * + * `B` is the Ed25519 base point `(x, 4/5)` with `x` positive. + * + * Variable-time; only used for signature verification. */ export function ge_double_scalarmult_vartime_to_p3 (r: ge_p3, a: StaticArray, A: ge_p3, b: StaticArray): void { const Bi = base2