Independent BIP340 verification — R13, 2026-10-26
The selected verifier shares one public radix32 scalar decomposition across single and bulk paths, keeps sixteen accumulators in transposed SIMD blocks, and imports bounded internal table limbs without repeated normalization. Single calls use a G10 generator prefix that fits the same charged region as G8. Every signature keeps its exact independent verdict and full input/hint validation. No previous-call signer or result cache contributes.
Actual IC instructions
FULL includes incoming Wire requests, fresh preparation, verification, replies and actual page fees. Body and page views overlap with whole instructions. Inputs are distinct signers and 32-byte messages with checked P/R Y hints.
| Operation | Records/call | Before whole | Selected whole | Reduction | Selected body | Page fees |
|---|---|---|---|---|---|---|
| Separate updates, 100 distinct signatures: mean/call | 1 | 2,022,248.14 | 1,954,577.69 | 3.35% | 1,585,090.69 | 480,000 |
| Single-signature fixture | 1 | 2,039,363 | 1,970,786 | 3.36% | 1,601,299 | 480,000 |
| Independent equations, one call | 100 | 111,775,874 | 100,700,230 | 9.91% | 96,483,265 | 1,280,000 |
| Independent equations, one call | 500 | 547,276,863 | 494,684,171 | 9.61% | 476,734,814 | 1,760,000 |
The first row averages 100 actual separate updates, after an unmeasured traced noop containing no crypto preparation. Selected costs range from 1,907,055 to 1,996,498. Fixture N1 and N100 each have three identical selected calls. N500 is one actual capacity call per artifact, using the same 500-record corpus whose first 100 records match N100. No cost is extrapolated.
Changes and attribution
G10 reads a 43,008-byte immutable generator prefix inside one 64 KiB region. Its isolated fixture screen saves 49,396 instructions with unchanged page fees; G12 remains the bulk window. The radix32 GLV helper returns exact signed 128-bit magnitudes directly, avoiding generic scalar products and rebuilding full scalar objects. The former duplicate batch implementation was removed. Secret arithmetic and signing paths are unchanged.
The dense scheduler retains four transposed SIMD accumulator blocks. Byte swizzles move complete u32 limbs between distinct queued records; the existing collision and bit barriers preserve each equation's order. Exhaustive native checks cover 47,297 ordered destination plans and 625 selectors. The emitted kernel removes the previous large point-copy sites while retaining full XY matching, identity masks and partial-prefix behavior.
The intermediate combined build saves 8,434,262 whole instructions at N100. Complete function ledgers account for 6,623,736 in layout/conversion codegen and 1,810,526 in scalar preparation. Other physical-function totals, field M/S counts and API/page costs match individually. Function self totals already include dynamic bulk charges; do not add those charges again. This attributes the actual compiled builds, rather than predicting source-level savings in isolation.
The final table-import change saves another 2,641,382 at N100. Each typed public
key is normalized once before table construction, including lazy negated inputs.
Only private finite G/Q entries take the bounded-limb import. A multiplication
result can retain a noncanonical residue: limb 2 is bounded by 0x4001000, so this
is not a claim that all entries are canonical bytes. Interval proofs and 2,057
independent raw-limb cases validate the SIMD bounds. Generic affine conversion
and the final nonce conversion/comparison remain intact.
Explicit dense workspace is 44,192 bytes, alignment 16 on Wasm64, corroborated by DWARF and the emitted report. Quad remains 10,592 bytes; scalar reports zero explicit bulk scratch. These sizes exclude compiler frames, descriptors and borrowed input/output. Native layout differs. Independent calls retain N checks and zero aggregate attempts; controls perform no checks.
Qualification and tradeoffs
The selected native workspace passes 337 tests with one existing ignored test. All sixteen final IC jobs pass, including the 136-call bidirectional reference matrix and matched N1/N100 profiles. The comparison campaign audits 527 complete traces and 298 timed core calls; the selected Wasm accounts for 198 timed calls. All eighteen audited servers closed, including the reused baseline sampler. The final audit records separate-call samples, invalid/malformed/tail cases, bidirectional reference checks, complete profiles, dependent controls and server closure. Source/bounds/emitted reviews retain full XY checking and unchanged scalar/SIMD field kernels; all eight reviewed X25519 bodies match the combined build exactly. This scoped review is not a general cryptographic or constant-time audit.
Aggregate W7 N100 valid calls cost 57,221,619, up 81,633 including an additional 80,000 read-only page charge. Invalid/mixed aggregate calls improve to 153,372,169 / 153,399,834 through faster exact fallback. ECDSA costs rise by 900 SIMD / 2,400 scalar instructions per 100, both below 0.002%. X25519, HPKE sender/receiver setup, strict Ed25519 and BLAKE3 controls reproduce their previous whole counts. These small collateral costs remain included; independent verification is the target.
Host launchers now hardlink a verified read-only executable cache when available, avoiding a temporary 321 MB copy per server. Copy fallback remains available; binary bytes, catalog, settings and actual call instructions are unchanged. Storage and installer-source hashes are recorded separately. The SDK and RRT runtime were not changed or newly qualified by this algorithm-only round.
Selected Wasm: dceef71180ef7b6dc5b1035bc52ddb817f191c72857c8524b34377476c193f3b.
Baseline: 4c5fe56cefa64a2a58582f2b20b065508e99b038648cf870a194338334b80295.
SDK: 33f54b62b46a6693ff6e193a752e052eaa124884.
Build pins,
JSON costs,
experiment and proofs,
all measurements and the
preceding report retain exact scopes.