SIMD128 batches measured on 2026-10-26

The qualified N=100 winners reduce same-artifact whole-message cost by 24.641% for strict Ed25519, 20.815% for hinted BIP340 aggregate verification, and 15.633% for checked-hint ECDSA. These are separate contracts. All primary table values have three identical valid samples; the compact summary retains per-pattern samples, work counts, source/host pins and trace-set hashes. All measurements carries the wider matrix.

Variant, 100 operations Boundary Whole / 100 Raw body / 100 Included page fees Whole / record
Ed strict scalar STAGED 213,068,438 212,650,791 560,000 2,130,684.38
Ed strict SIMD4 STAGED 167,970,186 167,552,539 560,000 1,679,701.86
Ed strict dense SIMD4 STAGED 160,567,266 160,149,619 2,080,000 1,605,672.66
Schnorr scalar GLV W7 FULL 98,758,429 94,540,942 880,000 987,584.29
Schnorr SIMD GLV W7 FULL 81,516,637 77,299,150 1,040,000 815,166.37
Schnorr SIMD GLV W8 FULL 78,202,308 73,984,752 1,040,000 782,023.08
ECDSA scalar G12 FULL 143,930,513 139,360,905 2,400,000 1,439,305.13
ECDSA fixed SIMD4 G12 FULL 176,712,225 172,142,617 3,040,000 1,767,122.25
ECDSA dense SIMD4 G12 FULL 121,429,442 116,859,834 3,040,000 1,214,294.42
BLAKE3 contextual generic STAGED 731,899 311,206 560,000 7,318.99
BLAKE3 contextual direct parts STAGED 686,419 265,726 560,000 6,864.19

FULL means all keys, signatures, 32-byte digests/messages and optional hints arrive in the same Wire update. No earlier public-key/point preparation or successful-result cache contributes. STAGED fixtures arrive through a separate setup update; their input transport and fixture generation are excluded. Ed25519 messages are 256 bytes. Contextual BLAKE3 processes secret32 + ID32 → output32, in distinct-secret and shared-master populations.

Raw body includes validation, call-local descriptors, tables/workspaces, constructor/destruction and driver checksum/scratch writes. Staged final output checking follows the clock but remains in whole endpoint cost. FULL additionally includes actual Wire decoding, lifecycle and reply work. Whole cost is authoritative: no empty-loop or page-fee subtraction. Fresh-message does not guarantee cold allocator/input pages. The 80,000 first-access plus 80,000 first-dirty charges refer to aligned 64 KiB regions; 4 KiB allocation accounting is separate. Physical/DTS attempts remain distinct in raw receipts; these audited primary calls have no discarded attempts.

Qualification and limits

  • Strict Ed25519: ed25519.verify.strict-fresh.simd128-dense preserves independent strict single verification, including the original mixed-order acceptance policy. It is not prime-subgroup aggregate verification. All key/R/S checks and temporary work occur in the call. Invalid/mixed false-equation whole costs are 160,665,722 / 160,499,695. Actual scalar+dense tails cover N=1/2/3/4/5/99/101, valid and mixed; dense can lose at tiny N. Both SIMD paths pad partial groups and return actual rows; there is no production scalar fallback. Native-only malformed/torsion/Wycheproof tests are not IC-executed by these fixture routes.
  • BIP340: fresh-schnorr/simd-jacobian-glv-w8, 100 distinct signers, public-X32/signature64/message32 with checked public-Y32 + nonce-Y32 hints. P+R request size is 19,503 bytes. All hint canonicality, parity, on-curve checks, transcript and fresh MSM allocation are included. Workspace is 87,026 bytes. Valid costs for no/P/P+R hints are 108,561,679 / 93,388,560 / 78,202,308. Accepted aggregates use the existing full-field transcript-weighted policy, not 100 independent point equations. Invalid/mixed P+R costs are 274,115,631 / 273,951,697, including all 100 fallback single checks and 0/50 true verdicts. Actual N=1/3/5/7/31/33/99 tails plus bad/odd/noncanonical P/R hints and invalid-S diagnostics pass. N=1 mixed contains no invalid odd-index row. Independent audits also pass 20 malformed/off-curve public/nonce X and canonical-zero-S diagnostic calls, preserving 99 good rows while rechecking all 100. Across the four audited Schnorr runs, 271 successful updates include controls, 16,159 visited records and 10,682 exact fallback checks. The matched profile has zero unexplained ledger and zero observer delta; its dynamic stack details are truncated, so no complete dynamic stack bound is claimed.
  • ECDSA: fresh-ecdsa/packed-simd4-dense-g12, 100 distinct incoming SEC1-65 keys/digest32/signature64/checked inverse32; low-S and every inverse relation remain checked. All 100 public tables, one tile, 263,056-byte workspace and cleanup are in the body; zero within-call key reuse and no fallback in valid/changed-digest rows. Both SEC1 encodings × three candidates × valid/invalid/mixed × three samples pass. Fixed SIMD4 regresses; it is not selected. Actual N=500 tests use a separately pinned corpus, build 500 tables across five 100-row tiles, and pass all three patterns; SEC1-65 dense whole/body/page cost is 590,950,109 / 570,692,214 / 3,680,000 versus matched scalar 706,377,842 / 686,119,947 / 3,040,000. Bad-hint diagnostics honestly report zero tables before failed admission. The completed actual tail and malformed-recovery gates now pass: N=1/2/3/5/8/32/99/101/128, both SEC1 encodings, all three patterns, plus identity SEC1, zero-r, missing/nonzero-wrong hints, high-S ordering, healthy-before/after recovery and late N500 errors at rows 137/270. All 235 actual updates across five sessions pass. Diagnostics retain full fallback cost: SEC1-65 bad row137 at N500 costs 2,176,615,205 whole / 2,156,356,851 body / 3,680,000 page instructions with 599 completed tables and 499 good outputs. Tail/fallback diagnostics have one sample each; the N100/500 regular patterns retain three identical samples.
  • Contextual BLAKE3: both populations have the same 686,419 whole / 265,726 body / 560,000 page cost. Public context construction and drop occur inside the call; no secret-derived state is cached. Borrowed direct parts cost 6.21% less whole than the same-artifact generic concatenation path (731,899 / 311,206 / 560,000). The caller-context API is measured using the benchmark purpose string; this is not a tariff for arbitrary context lengths. The earlier 522,918 fixed-purpose result uses a public precomputed context and a different artifact, so remains a distinct contract.

Installed SIMD and identity

The new EC paths use explicit 128-bit Wasm SIMD; a global +simd128 flag alone is not evidence. Installed/raw field-function bodies hash-match. Ed field multiplication/squaring contain 200/110 unsigned widening extmuls and two bounded carry i64x2.mul operations each. Individual Ed public/math wrapper frames are fixed 6,336/16,608 bytes and dense 1,712/4,656 bytes. Schnorr weighted MSM/mixed-add/full-add/double frames are 4,048/2,544/2,576/1,120 bytes. These are individual frame observations, not cumulative call-depth bounds. Hash-pinned proof receipts are listed in the summary.

Canonical artifact: bench/artifacts/r4-ec-simd-firstwave-r2-20261025, Wasm 5d408bc0280fe4bba1ae9b3b0052b31a42b46c1855369cd45a089a301a91dfa4; raw Wasm 37a4320744353578ed184d09de1ca679aebdde247956134b1b9dedefea53927e. Build 9e0481d2930381d9888da50e76264aa315b3ad21 9e0481d2930381d9888da50e76264aa315b3ad21, 33f54b62b46a6693ff6e193a752e052eaa124884 33f54b62b46a6693ff6e193a752e052eaa124884; source archive 9b472bb573c9ccca4b4a78daec08d416c928cdeb67535a7bd135cbe0f09e7b1f. Every canonical output (17) and archived source file (10286) was rehashed. The manifest records unchanged sources during build and exact wasm64 nightly/compiler/features. The summary retains those hashes, selected compiled-source hashes and each host-script identity instead of assuming current working-tree bytes equal the measured ones.

PocketIC 16.1.0 binary 6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6 is shared across these runs; each session's exact catalog hash and clean shutdown receipt is retained. Incoming corpus SHA256s: Schnorr 7ea88074ad0d67ec08049d27323a629f208d46a8b4514637eb2d15b1bafe2e42; ECDSA N100 1c45787181aafb28e97643aef43160037bc791e8f124416e754ad11661d1f177, N500 58a576a3f306bfec415961981d52bd07c46b35eed74ed24ce8b5fe88f65c8ac4. Staged recipe pins identify source+parameters rather than claiming an exported raw-input hash. No large traces are copied into this report.

Later X25519 and baseline SABER qualification uses separate artifacts and is recorded in the PQC/X follow-up. ML-KEM Q15 is qualified there under explicit first-call/median3 retained-output lifetime scopes. Those later measurements do not change this report’s same-artifact EC comparisons.