From e5dccf1ab4913dba3b4c588a57a117b81a0dd509 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 26 Oct 2026 11:59:44 -0700 Subject: [PATCH] Deprecate unused functions. --- src/assembly/ed25519/fep.ts | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/assembly/ed25519/fep.ts b/src/assembly/ed25519/fep.ts index 9e3c40e..1171fbc 100644 --- a/src/assembly/ed25519/fep.ts +++ b/src/assembly/ed25519/fep.ts @@ -54,35 +54,6 @@ export function fep_unpack (f_a: FieldElement, f_b: FieldElement, f: FieldElemen } } -/** - * Unpacks the first lane of a FieldElementPair into a single FieldElement. - */ -export function fep_unpack_lane (f_a: FieldElement, f: FieldElementPair): void { - for (let i = 0, j = 0; i < 10; i++, j += 2) { - f_a[i] = f[j] - } -} - -/** - * Turns `[a0, b0, a1, b1, ...]` into `[a0, a1, ..., b0, b1, ...]` - */ -export function fep_unweave (h: FieldElementPair, f: FieldElementPair): void { - for (let i = 0, j = 0; i < 10; i++, j += 2) { - h[i] = f[j] - h[i + 10] = f[j + 1] - } -} - -/** - * Turns `[a0, a1, ..., b0, b1, ...]` into `[a0, b0, a1, b1, ...]` - */ -export function fep_weave (h: FieldElementPair, f: FieldElementPair): void { - for (let i = 0, j = 0; i < 10; i++, j += 2) { - h[j] = f[i] - h[j + 1] = f[i + 10] - } -} - /** * Add two FieldElement pairs and store the sum. * -- 2.52.0