Schnorr singles, batches and X25519 — R11, 2026-10-26

The single-signature P/R-hinted verifier now uses fresh public Jacobian equations and a smaller immutable generator-table prefix. Fixed32 challenge hashing and public SIMD point inlining also reduce batch work. X-only field inlining and a guarded PerFour inverse reduce agreement costs. SDK, compiler, pricing, standard signatures, complete checks and accepted-input policies remain unchanged.

Actual IC instructions

Whole calls include SDK, decoding/replies and actual page fees. Body and page views overlap; do not add them. FULL includes incoming payloads. STAGED excludes fixture transport/setup but includes the named fresh key/context preparation. No prior-call key or result cache contributes.

Operation Records/call Before whole Selected whole Reduction Selected body Page fees
Individual P/R-hinted Schnorr, 100 distinct separate updates (FULL) 1 2,488,943.12 2,147,804.29 13.71% 1,778,317.29 480,000
Individual P/R-hinted Schnorr, one fixture (FULL) 1 2,526,014 2,161,754 14.42% 1,792,267 480,000
Individual P/R-hinted Schnorr, one N100 call (FULL) 100 200,069,455 165,961,312 17.05% 161,744,487 960,000
Aggregate Schnorr W7 + P/R hints (FULL) 100 58,204,653 57,140,008 1.83% 52,922,521 1,040,000
Aggregate Schnorr W8 + P/R hints (FULL) 100 59,316,529 58,081,105 2.08% 53,863,549 1,040,000
Aggregate Schnorr W8 + P/R hints (FULL) 500 220,587,949 218,016,599 1.17% 200,066,790 2,160,000
X25519 independent Global (STAGED) 100 68,061,599 64,098,112 5.82% 63,671,972 480,000
X25519 one-local Global (STAGED) 100 68,060,982 64,097,495 5.82% 63,671,461 480,000
X25519 independent PerFour (STAGED) 100 74,936,123 68,448,986 8.66% 68,022,846 400,000
X25519 one-local PerFour (STAGED) 100 74,935,506 68,448,369 8.66% 68,022,335 400,000
HPKE sender setup (STAGED) 100 141,504,766 137,541,279 2.80% 133,867,324 1,120,000
HPKE receiver setup (STAGED) 100 137,161,196 133,197,709 2.89% 129,527,754 1,120,000

The first row averages 100 actual separate updates with different signatures. Each has one exact individual equation and no aggregate attempt. Both runs use the same requests, with a traced preliminary noop update excluded from statistics. The one-fixture N1 row instead repeats one signature three times. N100 independent singles perform 100 individual equations in one call. These are separate scopes.

N100 primary rows use three physical calls; N500 is one capacity sample. HPKE compares first calls: its later samples include retirement of prior owned outputs. HPKE sender setup: selected first → median3 is 137,541,279 → 137,570,598. HPKE receiver setup: selected first → median3 is 133,197,709 → 133,227,028.

ECDSA inverse-hint SIMD/scalar controls, strict Ed25519 and BLAKE3 reproduce their matched baseline instruction counts.

Selection and rejected work

G8 wins the actual unbatched target. G12 measured 2,262,104 whole instructions for the one-signature fixture versus G8’s 2,161,754: fewer additions did not repay 160,000 extra page instructions. G12 was cheaper for N100 independent singles (158,643,077 versus 165,961,312), retained as a window diagnostic. Aggregate W7 remains the preferred N100 bulk path; W8 is selected explicitly at N500.

Schnorr validates P/R coordinates and canonical scalars before the fresh key table and exact full-coordinate equation. Arbitrary-length messages retain standard tagged hashing; the fixed32 path uses the exact tagged midstate and padding.

The initial X inlining build created an unwiped 320-byte secret return temporary. An output parameter alone left a 160-byte temporary. Both were rejected. Explicit vector writes remove these copies. Final compiled review finds zero ladder calls or bulk copies, unchanged local/caller secret-buffer wipes, and a 144-byte extra frame region containing public peer-decode data. This is targeted changed-buffer review, not a general compiler-spill or constant-time proof.

Qualification

The 323-test workspace passed (one existing ignored); the final copy-only X fix also passed its 38 affected native tests and source proofs. The final audit checks 647 complete traces, 324 timed core calls and 13,695 logical operations, plus 136 interoperability fixture calls. This comparison campaign includes 100 baseline single-call samples; selected Wasm accounts for 224 timed core calls and 13,595 operations. All 15 owned servers closed. The matrix checks exported Schnorr/ECDSA/Ed25519 signatures in both directions against Noble/OpenSSL, mixed-party X25519 with swapped parties, optimized incoming pipelines, bad hints/signatures and zero shared outputs. It reuses the exact 500-record random laboratory corpus at N1/3/5/100/500. Interop fixture instruction totals include signing/checking and are separate from the primitive costs above. Existing aggregate-coefficient review remains a separate contract; this round does not establish batching soundness.

Selected Wasm: b451c7c3eaf1b8520cead143bbce9a68f99b37da771ecae5dddcd6108acb7eb3. Matched baseline: ebf6d34aa79eca8f9b0de9f2c12d6f90939033c70efe5a2b8a1104372eb0848b. SDK: 33f54b62b46a6693ff6e193a752e052eaa124884. Experiment, source/codegen review and compact evidence, JSON comparison, all costs and interop runner retain the exact scopes. Documentation/host navigation was updated after frozen artifact publication; Final compiled-input verification pins 347 Rust/Cargo and 453 total compiled inputs. The frozen handoff pins exact raw evidence and server closure.