Packing Stern into L2: GPU-Accelerated Primal-Shortened ISD for High-Codimension Binary Goppa Key Recovery
Abstract
Primal-Shortened Information-Set Decoding (ISD) with quadratic polar lifting recently pushed TII McEliece Track-2 key recovery to $mt=126$ (TII-228, $2{,}463$ CPU core-hours), with over $99\%$ of runtime spent harvesting weight-$(2t+1)$ codewords. Porting MiniMax's Mode-6 Stern sampler directly to one block per SM leaves $1.0\text{-}1.5\text{ GB}$ of hash tables active and stalls on global memory. For $mt \le 145$, we pack all $mt-17 \le 128$ remaining syndrome bits into one $16$-byte ulonglong2 without left-triple indices, share $G \in \{4, 8\}$ cooperative tables inside GPU L2 cache, batch $64G$ random systematic reductions per launch, and widen the shortening prefix $n'$ to cut modeled GPU-hours by $34\%\text{-}47\%$. Across four Track-2 challenges ($mt = 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=126$) in $18.9\text{ min}$ ($2.15$ GPU-hours, $3.0\times$ faster in wall-clock than MiniMax's EPYC cluster). We further recover keys for the previously undocumented challenges TII-237 ($mt=135$, $22.1$ L4 GPU-hours) and TII-235 ($mt=144$, $4.30\text{ h}$ across ten L40S GPUs, $39.62$ GPU-hours, $17.97\text{ s}$ lift), using $127$ of $128$ packed bits. These results do not demonstrate practical recovery against Classic McEliece parameters ($mt \ge 768$).
- Comment
- 8 pages, 3 figures