Post-Quantum Cryptanalysis L2-Sized Cooperative CUDA 5/5 Verified · Up to mt = 153 ✓

Packing Stern into L2:
GPU-Accelerated Binary Goppa Key Recovery

An intuitive visual guide to how we moved high-codimension Primal-Shortened ISD from multi-thousand-core CPU clusters to a handful of serverless GPUs — recovering equivalent private keys across five TII McEliece Track-2 challenges up to TII-185 (mt = 153, crossing the 128-bit packing ceiling via truncated 16-byte range pre-filtering).

Highest Verified Codimension
mt = 153 ✓
TII-185 · v5 truncated 16B prefilter · check = 1
TII-235 Wall-Clock & Cost
4.30 hours
10× Modal L40S · 39.62 GPU-h (~$79) · 17.97s lift
TII-228 Head-to-Head
18.9 min ✓
8× L40S (2.15 GPU-h, ~$4.30) · 3.0× faster than EPYC
Full Verified Sweep
5/5 PASS
245 (108) · 228 (126) · 237 (135) · 235 (144) · 185 (153)
Verified 5-Instance Sweep (All Pass Official TII SageMath Checker & Pure-Python Verifier — 174,796 Codewords):
• TII-245 (mt=108): 1× Colab L4 in 19.6 min (1,175.5s harvest + 9.78s lift, 24,500 words, ~1.91× target-normalized over 64-core Xeon)
• TII-228 (mt=126): 8× Modal L40S in 18.9 min (2.15 GPU-h / ~$4.30, 37,084 words + 24.64s lift) — 3.0× faster wall-clock than MiniMax's 2,048–5,120-core EPYC run (57.1 min / 2,463 core-hours)
• TII-237 (mt=135): Colab L4 workers in ~22.1 GPU-h (29,742 words + 23.23s lift)
• TII-235 (mt=144): 10× Modal L40S in 4.30 h (39.62 GPU-h / ~$79, 40,353 words + 17.97s lift) — 127 of 128 lossless packed bits
• TII-185 (mt=153): Hybrid 7× Modal L40S + 3× Colab L4 via v5 truncated 16B prefilter in 21.1 h (140.4 L40S-h + 60.0 L4-h, 43,117 words + 39.01s lift, check=1)
Part 01 · The Problem in Plain English

1. McEliece & Binary Goppa Codes: A Geometric Lock Disguised as Noise

Unlike RSA and elliptic curves (which Shor's algorithm breaks on a quantum computer), the McEliece cryptosystem (1978) hides a structured binary Goppa error-correcting code behind a scrambled binary parity-check matrix H_pub. Classic McEliece reached Round 4 of NIST's post-quantum standardization (NIST selected HQC in March 2025) and remains one of the most conservative post-quantum designs.

The intuition is simple: take a precision algebraic lock and scramble its rows so it looks like random 0/1 noise.

Secret Key (g, L) • Degree-t polynomial g(X) • n field support points L Enables fast algebraic decoding Expand + RREF Hides structure Public Key H_pub mt × n binary parity-check (e.g., TII-235: 144 × 502) Looks like a random linear code Encrypt Add t errors Post-Quantum Security Only (g, L) removes the t errors efficiently Resists classical & quantum attacks Goal: TII Track-2 Key Recovery!
What is the TII McEliece Track-2 Challenge?
The Technology Innovation Institute (TII) published 204 non-toy McEliece public-key recovery instances (plus 2 toy checks): given only H_pub, recover an equivalent private key (g, L) whose Goppa parity-check matrix has the exact same row space and passes check_solution_track2.sage with output 1.
Part 02 · The 2026 Escalation Ladder ("Boss-Fight Progression")

2. Climbing the Ladder: From mt = 63 to mt = 144 (and the Wall Beyond)

One thing trips up almost every newcomer to TII Track-2: why is TII-235 much harder than TII-237 even though 235 < 237?
TII's challenge IDs were estimated in 2023 under older attacks. Under 2026 Primal-Shortened ISD, the true "boss level" is governed primarily by the codimension mt = m × t (each +9 bits multiplies search space by roughly 4–5×) and the shortened dimension k' = n' - mt.

2026 TII McEliece Track-2 Key-Recovery Escalation Ladder (Qualitative Progression by Codimension mt) Exp. Wall 100s+ GPU-h 10s GPU-h Minutes Lv.1 · mt=63 CRYPTO'26 / Hemmert TII-210 / 248 Lv.2 · mt=96–110 Saarinen / Ours (245) TII-254 / 252 / 245 Lv.3 · mt=126 ✓ MiniMax: 57.1m EPYC Ours: 18.9m (8×L40S) TII-228 Lv.4 · mt=135 ✓ Solved (22.1 L4-h) TII-237 Solved Lv.5 · mt=144 ✓★ 4.30h · 39.6 L40S-h 127/128 packed bits TII-235 Solved! Lv.6 · mt=153 ✓★ v5: 140h L40S + 60h L4 Crossed 128b ceiling! TII-185 Solved! Endgame · mt ≥ 768 Classic McEliece mceliece348864+ Far Beyond Reach
Tier Instance & (n, m, t) mt Prior Baseline / Status Our Verified GPU Result Check
Control TII-245 (493, 9, 12) 108 MiniMax 64-core Xeon: 2,510s (44.6 core-h) 1× L4: 19.6 min (1,185.3s total · ~1.91× normalized) 1 (PASS)
Benchmark TII-228 (500, 9, 14) 126 MiniMax: 57.1 min (2,463 EPYC core-h) 8× L40S: 18.9 min (2.15 GPU-h / ~$4.30 · 3.0× faster) 1 (PASS)
New ★ TII-237 (500, 9, 15) 135 Previously undocumented Colab L4: ~22.1 GPU-h (29,742 words + 23.23s lift) 1 (PASS)
New ★ TII-235 (502, 9, 16) 144 Previously undocumented (10 punctures) 10× L40S: 4.30 h (39.62 GPU-h / ~$79 · 17.97s lift) 1 (PASS)
New ★ TII-185 (511, 9, 17) 153 Previously undocumented (>128-bit ceiling) v5 (7×L40S+3×L4): 21.1 h (140.4 L40S-h + 60 L4-h · 39.01s lift) 1 (PASS)
Security Margin Disclaimer: Proposed Classic McEliece parameter sets begin at mt ≥ 768 (m=12, t=64). Because ISD search work scales exponentially with codimension, these experiments do not demonstrate practical key recovery against Classic McEliece.
Part 03 · How It Works Under the Hood

3. Two-Stage Relay: L2-Resident GPU Harvesting + 10–40 s Algebraic Lift

We keep MiniMax's algebraic polar-lifting algorithm and Mode-6 Stern parameters (p = 3+3, l = 17, 16 KB occupancy bitmap) untouched. Why? Because at mt ≥ 108, over 99% of total runtime is spent harvesting minimum odd-weight (w = 2t + 1) codewords, while SageMath finishes the algebraic lift in 10–40 seconds.

1. Optimal Shortening Widen prefix n' past CPU TII-228: 395 · TII-235: 425 −34% to −47% GPU-h Ours (Mod. 4) 2. L2-Sized GPU-ISD 16B zero-index ulonglong2 G ∈ {4, 8} L2-resident tables 64G batched full-SM k_sys Ours (Mods. 1–3) 3. Polar Lifting GF(2) M4RI on F(d) cols Quotient dim m+1 → m 10–25 s in SageMath MiniMax Route A 4. Extend & Verify O(n) support extension Bit-exact RREF match check_solution = 1 MiniMax + TII

Four Coupled GPU-Aware Modifications

1. Lossless 16-Byte Zero-Index Packing

The 17-bit bucket index fixes the low 17 syndrome bits. For any mt ≤ 145, all remaining mt − 17 ≤ 128 bits fit losslessly into one 16-byte ulonglong2. Because the weight-filter pass probability is tiny (2^-27.02 to 2^-35.74), we drop left-triple indices from the hot bucket table and reconstruct them only on exact hits.

2. Cooperative L2-Sized Tables (G = 4 / G = 8)

Assigning one hash table per SM allocates 1.04–1.49 GB and thrashes global memory. Instead, all SMs cooperate on G=4 tables on L4 (35.7 MB < 50.3 MB L2) or G=8 tables on L40S (71.4 MB < 100.7 MB L2, 144 cooperative blocks).

3. Batched Full-SM Systematic Reduction

CUDA event profiling on v3 revealed that unbatched Gaussian elimination (k_sys<<<4,256>>>) consumed 74.0% of runtime while leaving 54/58 SMs idle. Batching 64G random reductions per launch (256 on L4, 512 on L40S) raised L4 throughput 3.5× to 9,462 it/s on TII-237 and 11,035 it/s on TII-245.

4. GPU-Aware Optimal Shortening Window n'

Narrow CPU-oriented prefixes hit coupon-collector duplication late in the run. Widening n' (TII-228: 395, TII-235: 425) keeps SageMath M4RI under 25 s while cutting modeled GPU-hours by 34%–47% and holding 10-GPU cross-worker overlap to 2.06%.

Interactive Kernel Evolution (Single NVIDIA L4 Throughput)