]> git.codecow.com Git - nano25519.git/commitdiff
Fix function name.
authorChris Duncan <chris@codecow.com>
Fri, 23 Oct 2026 18:36:00 +0000 (11:36 -0700)
committerChris Duncan <chris@codecow.com>
Fri, 23 Oct 2026 18:36:00 +0000 (11:36 -0700)
src/assembly/ed25519/fep.ts

index f38669925893efaea84e4fadab5d27b344fc3021..f0a5a419555e9ec337addcc11d25db282bb8a883 100644 (file)
@@ -971,7 +971,7 @@ export function fep_sq (h: FieldElementPair, f: FieldElementPair): void {
  * @param h_b FieldElementPair B power destination, doubled
  * @param f_b FieldElementPair B base source
  */
-export function fep_sq2_dual (h_a: FieldElementPair, f_a: FieldElementPair, h_b: FieldElementPair, f_b: FieldElementPair): void {
+export function fep_sq2 (h_a: FieldElementPair, f_a: FieldElementPair, h_b: FieldElementPair, f_b: FieldElementPair): void {
        // pack each f index in low lanes, high lanes are ignored
        const f_a_0123: v128 = v128.load(changetype<usize>(f_a), 0 << 4)
        const f_a_4567: v128 = v128.load(changetype<usize>(f_a), 1 << 4)