X25519 and PQC qualification — 2026-10-26

X25519 SIMD/global is qualified for the measured N100 agreement workloads: 86,585,349 whole instructions for independent raw keys and 86,584,732 for one raw local key with 100 peers. The final LightSABER checkpoint costs 67,102,103 / 85,973,327 / 101,016,659 whole instructions for keygen/encapsulation/decapsulation. Its three identical samples are separately pinned from the original 192-row PQC baseline below. ML-KEM Q15 is now independently target-qualified, with first-call and retained-output-replacement median3 costs reported separately.

The compact summary pins source/artifact/host/PocketIC identities, exact workload rows, body/page counts and audits. Preferred choices and all measurements preserve each contract. These are IC instruction counts, not native wall-time speedups.

X25519

All N100 rows below have three identical valid samples on one artifact. They stage raw secret32/peer32 inputs, expected answers and output buffers in an earlier setup update. Import/clamping, fresh context/scratch preparation, all DH outputs and owned secret/workspace wiping/drop happen in the measured call. Whole endpoint cost includes its fixture-ID Wire wrapper, checking, reply, runtime and real page fees. This does not include the ingress cost of 100 raw key pairs. There is no prior-call parsed-key or DH-workspace cache.

Topology, N100 Method Whole Raw body Included page fees
Independent simd-control.scalar 202,678,692 202,252,552 480,000
Independent simd-control.global-inverse 205,151,383 204,725,243 480,000
Independent simd128.per-four-inverse 93,459,873 93,033,733 400,000
Independent simd128.global-inverse 86,585,349 86,159,209 480,000
One raw local key simd-control.scalar 202,660,749 202,234,715 480,000
One raw local key simd-control.global-inverse 189,479,149 189,053,115 480,000
One raw local key simd128.per-four-inverse 93,459,256 93,033,222 400,000
One raw local key simd128.global-inverse 86,584,732 86,158,698 480,000

The independent winner costs 57.28% less whole than matched scalar; the one-local winner costs 54.30% less than that topology’s best scalar/global control. Global inversion uses 12,400 bytes of caller-owned scratch at N100, constructed/dropped inside the timed fixture operation. Its four 32-bit lanes run four independent ladders. Per-four inversion reads fewer regions but performs more arithmetic and is slower at N100. SIMD is opt-in; the scalar secret backend remains the default.

All 144 installed boundary rows pass: eight cases × N1/2/3/5/100/500 × valid/invalid/mixed, one sample each. The four methods have identical checksums in 36 matched topology/count/pattern groups. Zero-u invalid peers return zero and a false per-row validity flag while other lanes complete. Native RFC7748 tests additionally cover ignored bit255, all 19 aliases p..p+18, twists/low-order points, scalar clamping and iterations 1/1000. This is RFC7748 acceptance, not an Edwards prime-subgroup admission rule. Tiny cohorts can lose: SIMD/global N1 costs 4,077,410 versus scalar 2,515,981. N500 independent SIMD/global costs 430,822,528 versus scalar 1,011,494,037; these are separately measured diagnostics.

Fifteen raw function bodies hash-match the installed origin map. The targeted compiled inspection found no secret-dependent branch/address: scalar bits feed masks/bitselect; ladder branches follow public decode/fixed-bit loops. This is not a formal or external constant-time proof. Owned scalar/workspace wiping is observed; every compiler temporary, register and spill is outside that promise. The profile reconciles static 80,881,502 + dynamic 5,218,795 + API 5,052 + pages 480,000 = 86,585,349, with zero unexplained cost and zero observer delta. Instruction/page/origin data is complete; dynamic physical-stack attribution is partial. See the family qualification and API.

Frozen SABER baseline

This is the 9cada875 baseline, before the subsequent LightSABER optimization rounds. It has one sample per configuration. Same-artifact controls below each perform 100 distinct complete operations, with constructor, checked key imports/expansion and drop in the measured body. They retain complete outputs; the post-clock full-output check remains in whole endpoint cost. Raw keys/ciphertexts/seeds are staged in another update, so these are STAGED/in-call, without full input ingress. Nothing is subtracted.

Parameter / operation, N100 Scalar schoolbook whole SIMD Toom4 whole SIMD Toom4 body Included page fees Whole reduction
lightsaber, keygen 137,864,403 108,698,403 102,002,337 2,320,000 21.16%
lightsaber, encapsulate 178,977,027 135,228,027 132,742,037 1,920,000 24.44%
lightsaber, decapsulate 226,830,959 168,498,959 168,078,237 1,120,000 25.72%
saber, keygen 274,227,267 208,603,697 198,950,937 2,640,000 23.93%
saber, encapsulate 334,280,443 246,782,303 243,310,537 2,240,000 26.18%
saber, decapsulate 403,595,799 294,223,299 293,802,437 1,280,000 27.10%

{lightsaber,saber}-{keygen,encapsulate,decapsulate}-simd-toom4-fresh are the exact winning baseline case families. The candidate uses seven Toom4 products with Karatsuba leaves and 128-bit, eight-16-bit-coefficient arithmetic. It does not run eight complete KEM records in parallel. SIMD schoolbook is only marginally lower cost than scalar schoolbook; the Toom/Karatsuba algorithm change contributes to the measured result.

LightSABER public/secret/ciphertext/shared widths are 672/1568/736/32 bytes; SABER widths are 992/2304/1088/32. Keygen consumes three independent 32-byte seeds; encapsulation consumes checked public-key bytes plus a 32-byte seed; decapsulation imports secret-key bytes and consumes ciphertext. The nominal size 32 is a seed width, not a 32-byte message. Polynomial controls use two 512-byte operands. Round-3 SABER is an experimental submission KEM, separate from standardized ML-KEM.

Native tests compare official KAT counts 0..3 on all four backends and an independent official-C oracle over 100 distinct entropy records per rank, including full keys/ciphertexts/valid and two invalid-ciphertext shared secrets. Actual target setup compares complete chosen-backend outputs against that independently validated scalar implementation; after timing, all 100 retained full outputs are checked. Correctly sized invalid/mixed ciphertexts perform full decrypt/re-encrypt/compare and produce the standard implicit-rejection secret; there is no public acceptance flag.

The full PQC audit passes 14 datasets / 192 rows / 19,200 measured operations, including four polynomial controls, plus 9,400 separately checked warmup operations. Every measured body has group_len=100 and iterations=1, physicalAttempts=1, zero discarded attempts and zero stable-memory cost. Warm-context whole calls also perform a 100-operation warmup; they are not substituted for fresh-message rows above. The summary keeps each context separate. Three LightSABER reference/profile pairs have zero observer delta and fully reconciled ledgers with zero unexplained cost; bounded physical stacks remain partial. SABER contract documents the fixed formats, erasure limits and public synthetic entropy.

Qualified LightSABER optimization checkpoint

The completed follow-up captures three optimization rounds as five internal checkpoints. Checkpoint5 is selected, source 31bde1eab2b85d6e6625282bee25618a1587ad7f, artifact lightsaber-round5-20261026, Wasm 5940bcd7bedfe07c3c57442be8ab5d3bb500b1b12a3beffa0176c7091546668c. The changes combine polynomial arithmetic, fixed-width packing/CBD sampling and lazy SHAKE; the result is not attributed solely to SIMD. Every row uses 100 distinct operations in one fresh-message call and three identical samples.

Internal checkpoint Whole / 100: keygen / encapsulate / decapsulate
1 101,575,203 / 124,543,227 / 154,252,559
2 82,710,303 / 105,939,327 / 126,647,259
3 78,431,303 / 102,967,127 / 123,675,059
4 68,362,503 / 87,863,927 / 103,537,459
5 67,102,103 / 85,973,327 / 101,016,659
Final LightSABER case, N100 Whole Raw body Included page fees Whole / operation
lightsaber-keygen-simd-toom4-fresh 67,102,103 60,406,037 2,320,000 671,021.03
lightsaber-encapsulate-simd-toom4-fresh 85,973,327 83,487,337 1,920,000 859,733.27
lightsaber-decapsulate-simd-toom4-fresh 101,016,659 100,595,937 1,120,000 1,010,166.59

These are STAGED/in-call results with the same LightSABER widths and seed API as the baseline. Fresh key import/context creation, complete KEM computation and owned cleanup stay inside the body. Whole calls retain full-output checks; input/setup ingress is separate. Compared with the frozen Toom4 baseline, whole costs fall 38.27% / 36.42% / 40.05%, with the same page fees. Every checkpoint setup compares complete chosen-backend outputs against the independently C/KAT-validated scalar oracle; after timing every complete retained output is checked. All 105 checksum transcripts match the baseline.

The final audit passes 35 rows / 105 samples / 10,500 measured operations, including 6,000 polynomial-control multiplications and 4,500 complete KEM operations. There are no warmups or profiles in these checkpoint matrices. Final native tests include the independent C guard over all 512 raw16-bit Toom output coefficients on 100 edge/arbitrary products, independent C100 complete KEM records and all 28 valid/invalid/mixed/capacity fixtures. Actual optimization-checkpoint coverage is valid-only; the later integrated qualification below additionally captures valid/invalid/mixed LightSABER decapsulation. The original baseline traces retain their separate identities. The summary retains every checkpoint/source/artifact/result/host/trace pin and the final native receipts.

Qualified SABER rank-3

The optimized rank-3 implementation now has three identical actual N100 valid samples per operation, replacing the one-sample baseline choice. Inputs remain STAGED/in-call: distinct public synthetic records, seed width 32, fresh key/context preparation and owned cleanup in the body; every complete output is retained and checked against the independently C/KAT-validated scalar fixture outside the raw timer and inside the whole endpoint. No prior prepared-key cache or page/control subtraction contributes.

Exact case, N100 Whole Raw body Included page fees Whole / operation
saber-keygen-simd-toom4-fresh 127,605,997 117,953,237 2,640,000 1,276,059.97
saber-encapsulate-simd-toom4-fresh 153,793,003 150,321,237 2,240,000 1,537,930.03
saber-decapsulate-simd-toom4-fresh 174,157,859 173,737,137 1,280,000 1,741,578.59

SABER public/secret/ciphertext/shared widths remain 992/2304/1088/32 bytes. Keygen consumes three 32-byte seeds; encapsulation consumes a fresh checked public key plus seed32; decapsulation consumes a fresh checked secret key and ciphertext. The historical baseline remains separately pinned above. These combined polynomial/packing/sponge changes reduce whole cost by 38.83% / 37.68% / 40.81% relative to that baseline, with unchanged page fees; this is not a claim that SIMD alone causes the gain. Actual optimized invalid/mixed decapsulation also passes three identical samples each: whole 174,157,965 / 174,157,859, body 173,737,137 and pages 1,280,000. Invalid/mixed ciphertexts exercise complete CCA re-encryption/comparison and return the exact scalar implicit-rejection secrets, with every complete output checked. Invalid whole cost is 106 higher while body/page counts match; no output-lifetime/sample delta occurs in any of these five rows.

Artifact r6-selected-x25519-20261026, installed Wasm b07c3c4cb6636be658514db38889f53018e15638f6f232876534a5761667671a. The build reports HEAD 31f6ae6280c391793cc798ee20e8ab95d41023e9; the exact compiled snapshot is identified by its archived source hashes, including frozen local changes. All canonical outputs and archived sources were rehashed. All five rows / 15 run traces / 1,500 operations match module/whole/page counts and one committed physical attempt, with zero stable-memory cost. Both owned servers exited 0 and removed their temporary directories; retained read-only binary paths still match the pinned PocketIC hash. The source-pinned family qualification, full sample arrays and binary-cleanup receipts are retained in the summary.

Qualified ML-KEM Q15 and output lifetimes

The final combined artifact passes 23 rows / 53 timed samples / 5,300 measured operations. Its 18 uncached ML-KEM setup gates execute 72 official-vector checks over eight unique official vectors before ordinary fixture preparation. Every gate validates full raw/expanded public-key, secret-key, ciphertext and shared-secret commitments, valid/modified-ciphertext rejection outputs and noncanonical-key rejection. SHA256 covers every byte of each complete official output and compares all 32 digest bytes; the payload stores commitments, not full expected-output arrays. The immutable 10,304-byte payload SHA is 29d81e19bce6b138cbbbc5ec27f42b1337d0f85b6fe849cb33d00a192643df8e. The archived leaf/feature-map proof confirms all 10 selected case IDs use that uncached gate and Q15 arithmetic.

All counts below are STAGED/in-call, N100, valid, fresh-message, three samples. First → median3 distinguishes two output-lifetime scopes: output slots begin empty; samples 2/3 replace, drop and wipe the previous 100 retained results inside the current body. Samples 2/3 have identical costs. Key contexts are still imported/constructed fresh every call, and the official gate has no successful-result cache. There is no in-message warmup. The median is not a mean or a subtraction. Raw driver checksums incorporate the iteration seed; the summary preserves both the raw value and iteration, with only that seed normalized for cross-sample output observations. Every retained complete output is checked separately outside raw body and inside whole endpoint.

Parameter / exact mlkemN.simd128- suffix Whole: first → median3 Body: first → median3 Included page fees, both
512: keygen 90,328,526 → 92,122,926 81,677,945 → 83,472,345 1,520,000
512: encapsulate-fresh-key 98,356,330 → 98,936,130 95,781,147 → 96,360,947 1,200,000
512: decapsulate-fresh-key 126,112,690 → 126,125,490 125,689,945 → 125,702,745 880,000
512: encapsulate-expanded-same-call-key 55,785,279 → 56,365,079 53,210,096 → 53,789,896 1,200,000
512: decapsulate-expanded-same-call-key 77,602,137 → 77,614,937 77,179,392 → 77,192,192 1,040,000
768: keygen 146,214,556 → 148,858,556 133,675,975 → 136,319,975 2,000,000
768: encapsulate-fresh-key 156,619,964 → 157,435,764 153,148,781 → 153,964,581 1,360,000
768: decapsulate-fresh-key 195,510,320 → 195,523,120 195,087,575 → 195,100,375 1,040,000
768: encapsulate-expanded-same-call-key 74,518,816 → 75,334,616 71,047,739 → 71,863,539 1,360,000
768: decapsulate-expanded-same-call-key 104,031,564 → 104,044,364 103,608,925 → 103,621,725 1,200,000

fresh-key imports/expands each checked key in the call. expanded-same-call-key imports/expands one checked key inside each call, then processes 100 distinct encapsulation seeds/ciphertexts; it is a different population. Keygen consumes entropy64 and emits public800/1184 + secret1632/2400. Encapsulation consumes public800/1184 + entropy32 and emits ciphertext768/1088 + shared32. Decapsulation consumes secret1632/2400 + ciphertext768/1088 and emits shared32. These are FIPS 203 fixed widths, not the nominal 256-byte message workload.

Actual fresh and expanded-same-call decapsulation invalid/mixed rows pass for both parameters, one sample per configuration, returning complete standard implicit-rejection secrets. They do not return public invalid-tag verdicts. The earlier native gate covers all 120 NIST cases, registry comparisons and all 3329² canonical Montgomery operand pairs; the eight unique actual-target vectors are an additional gate, not 120 IC-executed vectors.

The earlier Q15 baseline remains a historical first-call measurement on its original artifact: 512 keygen/encap/decap 90,408,526 / 98,436,330 / 126,192,690; 768 146,294,556 / 156,699,964 / 195,590,320. Those six first-call costs and page fees exceed the new first column by 80,000, so the artifact-layout difference is not credited as an arithmetic speedup. Earlier one-sample scalar/widening/Q15 comparisons remain first versus first, never old-first versus new-median. Original baseline artifacts and 72 matched transcript checks stay pinned in the summary.

Setup totals include the independent gate and ordinary fixture/reference preparation. They remain separate from run totals, with every setup whole/page count retained in the summary and the exact setup CSV hash; no subtraction pretends to isolate gate cost. All 23 setup traces and 53 run traces match their module/instruction/page/accounting receipts, with one physical attempt and zero discarded instructions/stable memory. All four owned servers closed normally.

The integrated LightSABER valid3×N100 costs exactly match checkpoint5. Its decapsulation invalid/mixed rows also pass three identical samples: whole 101,016,765 / 101,016,659, body 100,595,937 and pages 1,120,000. This closes the optimized actual rejection qualification; it remains distinct from the valid-only checkpoint series.

Canonical combined artifact r5-combined-crypto-20261026, source 31f6ae6280c391793cc798ee20e8ab95d41023e9, Wasm 18617ead263ae6dae69b47e76a4e06030c9c9743d497963dc26cd71529fda529. The summary pins all canonical outputs, complete compiled-source archive, payload/leaf source proof, host inventory, setup/run traces, exact audit and CSVs. See the SIMD contract.

Artifact and evidence pins

Role Artifact directory Installed Wasm SHA256
x25519 r4-all-curves-simd-20261026 f386de949a32e74f8a1c417f5aec3e6e910a0ce2664b1be556af1daa7a32d017
pqc-scalar pqc-scalar-r4-20261026 1a4648cf804bf98f4cd6e4bd0077c383e67ac38222decb9c32750923166524e7
mlkem-simd128 pqc-simd128-r4-20261026-r2 30b67b2834a26063071f8ad780f949b7a3086dfdb0abc8c5959a9444f9593c7a
mlkem-simd128-q15 pqc-simd128-q15-r4-20261026 6a1bfc0140eef41930ec593f9a2ffce8b685e5fd09ecb56f512441f6a70ebc80
r5-combined-qualified-q15 r5-combined-crypto-20261026 18617ead263ae6dae69b47e76a4e06030c9c9743d497963dc26cd71529fda529
r6-qualified-saber-rank3 r6-selected-x25519-20261026 b07c3c4cb6636be658514db38889f53018e15638f6f232876534a5761667671a

The summary pins each manifest, raw Wasm, full source archive, build HEAD/compiler/features, selected compiled-source hashes, host-file inventory, exact result/trace-set hashes, session catalog and clean shutdown. All baseline canonical outputs were rehashed; the two baseline full source archives were independently decoded and every archived source rehashed. The selected LightSABER checkpoint5 outputs and complete source archive were also rehashed; all five checkpoint manifest/archive hashes match the final audit. The PQC artifacts share source archive ff00c31cb9edf201cd459fcbdf816909fb53fe1e636e586359d7de7e9c43613a; frozen source is 9cada875c87475e637f0c6cf80ea30f84688515c. The private Q15 composition omitted a native-test forwarding alias; root corrected that composition separately, without changing the measured runtime math/group100 shape. Frozen artifact receipts retain their original identities.

All sessions use PocketIC 16.1.0 binary 6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6 and pinned SDK 33f54b62b46a6693ff6e193a752e052eaa124884. Page charges are aligned 64 KiB first-access 80,000 plus first-dirty 80,000; 4 KiB allocation is distinct. Whole/body/page figures overlap and are never added or subtracted. Staged recipe identity is source+parameters, not an exported raw-input corpus hash. No large traces or build caches are copied into this report.

The separate EC report now closes all 235 actual ECDSA updates, including odd tails and malformed/later-row recovery. Its expensive full fallback is recorded rather than treated as cheap rejection throughput.