Skip to content

Packing Stern into L2: GPU-Accelerated Primal-Shortened ISD for High-Codimension Binary Goppa Key Recovery

Raullen Chai, Xinxin Fan

cs.CR

Abstract

Primal-Shortened Information-Set Decoding (ISD) with quadratic polar lifting recently pushed TII McEliece Track-2 key recovery to mt=126mt=126 (TII-228, 2,4632{,}463 CPU core-hours), with over 99%99\% of runtime spent harvesting weight-(2t+1)(2t+1) codewords. Porting MiniMax's Mode-6 Stern sampler directly to one block per SM leaves 1.0-1.5 GB1.0\text{-}1.5\text{ GB} of hash tables active and stalls on global memory. For mt≤145mt \le 145, we pack all mt−17≤128mt-17 \le 128 remaining syndrome bits into one 1616-byte ulonglong2 without left-triple indices, share G∈{4,8}G \in \{4, 8\} cooperative tables inside GPU L2 cache, batch 64G64G random systematic reductions per launch, and widen the shortening prefix n' to cut modeled GPU-hours by 34%-47%34\%\text{-}47\%. Across four Track-2 challenges (mt=108→144mt = 108 \to 144), every recovered private key passes both the official SageMath checker and a standalone pure-Python verifier. Eight Modal L40S GPUs solve TII-228 (mt=126mt=126) in 18.9 min18.9\text{ min} (2.152.15 GPU-hours, 3.0×3.0\times faster in wall-clock than MiniMax's EPYC cluster). We further recover keys for the previously undocumented challenges TII-237 (mt=135mt=135, 22.122.1 L4 GPU-hours) and TII-235 (mt=144mt=144, 4.30 h4.30\text{ h} across ten L40S GPUs, 39.6239.62 GPU-hours, 17.97 s17.97\text{ s} lift), using 127127 of 128128 packed bits. These results do not demonstrate practical recovery against Classic McEliece parameters (mt≥768mt \ge 768).

Create a lesson

Metadata

Comments
8 pages, 3 figures