From: Chris Duncan Date: Wed, 4 Nov 2026 14:18:51 +0000 (-0800) Subject: Fix import path in test. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=6dd2fdd0deaa1e056b419837a7f95490b947f78d;p=nano25519.git Fix import path in test. --- diff --git a/test/arithmetic.mjs b/test/arithmetic.mjs index bd2a726..c7e2979 100644 --- a/test/arithmetic.mjs +++ b/test/arithmetic.mjs @@ -165,8 +165,8 @@ export function verify_signature_ (): i32 { return verify_signature(U8W) ? 1 : 0 ` /** Seeded controls: each `from` must occur once inside its `fn`. */ -const NO_IDENTITY = [{ file: 'src/assembly/ed25519/ge/ge.ts', fn: 'ge_double_scalarmult_vartime_to_p3', from: '\n\tp3_0(r)', to: '' }] -const STALE_T = [{ file: 'src/assembly/ed25519/ge/ge.ts', fn: 'ge_double_scalarmult_vartime_to_p3', from: 'p1p1_to_p3(r, t)', to: 'p1p1_to_p3(r, t)\n\t\t\tfe_mul(r.T, r.X, r.Y)' }] +const NO_IDENTITY = [{ file: 'src/assembly/ed25519/ge/double_scalarmult.ts', fn: 'ge_double_scalarmult_vartime_to_p3', from: '\n\tp3_0(r)', to: '' }] +const STALE_T = [{ file: 'src/assembly/ed25519/ge/double_scalarmult.ts', fn: 'ge_double_scalarmult_vartime_to_p3', from: 'p1p1_to_p3(r, t)', to: 'p1p1_to_p3(r, t)\n\t\t\tfe_mul(r.T, r.X, r.Y)' }] const NO_PRECONDITIONS = [ { file: 'src/assembly/crypto_verify.ts', fn: 'verify_pubkey', from: 'if (ge_is_canonical(pub) != 0) {', to: 'if (false) {' }, { file: 'src/assembly/crypto_verify.ts', fn: 'verify_signature', from: 'if (ge_is_canonical(sig) != 0) {', to: 'if (false) {' },