]> git.codecow.com Git - nano25519.git/commitdiff
Fix doc comments.
authorChris Duncan <chris@codecow.com>
Mon, 2 Nov 2026 22:41:32 +0000 (14:41 -0800)
committerChris Duncan <chris@codecow.com>
Mon, 2 Nov 2026 22:41:32 +0000 (14:41 -0800)
src/assembly/ed25519/fe.ts
src/assembly/ed25519/ge.ts

index 7b2029e3cc8877c467336b8c5e0768d41f0054b6..ab380953b0b5486040ebdbf8088d5ccd8045f02d 100644 (file)
@@ -1359,7 +1359,7 @@ export function fe_sq (f: FieldElement, a: FieldElement): void {
 }
 
 /**
- * f = a²ⁿ`
+ * `f = a^(2ⁿ)`
  *
  * Can overlap `f` with `a`.
  *
index 2eed48752c3b5b917eeaf5d031d8396d963410f7..e5ce3cf9aa2d3ea1d92eb413a4333afab7930d35 100644 (file)
@@ -339,7 +339,7 @@ const ge_double_scalarmult_vartime_u: p3 = new p3()
  * and `b = b[0]+256*b[1]+...+256^31 b[31]`
  *
  * `Ai` is a precomputed table of odd limb multiples of public key `A` and must
- * be instantiated by calling `ge_p3_cache_odd_multiples()`.
+ * be instantiated by calling `ge_cache_odd_multiples()`.
  *
  * `B` is the Ed25519 base point `(x, 4/5)` with `x` positive.
  *