I am sharing an open-source (MIT) CUDA & Python benchmark and side-channel auditing suite for
256-bit secp256k1 ECDSA (Hidden Number Problem), built and verified on a single 4 GB VRAM laptop (NVIDIA RTX 3050 Laptop, 15 GB RAM):
https://github.com/jcube2024/secp256k1-gpu-auditAll benchmarks run strictly on locally generated synthetic Zero-Knowledge test keys for auditing ECDSA implementations and reproducible cryptographic research.Summary of Verified 256-bit secp256k1 Benchmarks (RTX 3050 4 GB VRAM):- v4 FP16 cuFFT (71.1x speedup vs v1 FP32): Virtualizes an 8-16 TB DFT (`B=39..40`) into ~450 MB VRAM via 4 B/pair CSR packing + K=8 register phase recurrence (`1.03-1.16 ms` per `2^22` batch). Full 256/256-bit recovery at 3.00 bits MSB completes in 5 min 01 s (`libsecp256k1` final check `0.032 s`).
- 5-Bucket NVMe Streaming Wagner: Recovers 3.00 bits MSB from 500,000 signatures (`256x` fewer than 128M, Virtual N=600M, `< 5 GB` RAM) in 12.4 min (`dist = 0 / 2^40`, `SNR = 7.40`).
- 1-Pass Noisy LadderLeak (4.00b MSB + 2.0% random 256-bit outliers): Solves `2,558,990` random errors in one pass without RANSAC in 6.3 min (`dist = 0 / 2^40`, `SNR = 7.40`).
- Smooth C-Divisor (`N == 1 mod 192`, C=24) + v4 FP16 cuFFT (0 bits MSB leak): Full 256-bit uniform nonces with `(k mod 24) in {0, 1}` + 1.5% random outliers. Raw MSB bias is `0.00027`; `24^-1 mod N` collapses both residues into a contiguous arc (`bias = 0.97379`) -> `dist = 0 / 2^39`, `SNR = 7.88` in 2 min 40 s.
- Non-Convex Bimodal Leakage (132 signatures): Primal `BKZ-32` fails, while 2nd-Harmonic `G6K -> 4 TB CSR cuFFT` solves in 29.05 s (`SNR = 172.90`).
- GPU Tensor-Core Beam-Sieve-CVP: `cuBLAS` TF32 GEMM + GPU Babai-lift + 256-bit held-out predicate solves 3.50 bits (`m=85, ns=68`, where Babai fails) in 0.21 s (`1,701` lifts).
- Additional tools: 30x GPU CUB RadixSort Wagner (`0.045 s`), `GPU Huber-Sieve` / `IRLS-Huber` (20-35% outliers), `Toroidal ResNet v3.1`, unified `(r, s, z)` CLI auditor, and CUDA 12 / Python 3.12 patched `G6K-GPU-Tensor`.
The repository also includes a
4-part technical paper series (`docs/papers/01..04`), including
Paper IV documenting
12 refuted/bounded hypotheses (proofs of why blind C-Divisor inflation, passive twists, ARX carries, low-44b BSGS, and 1-tour `BKZ-100` at 2.50 bits hit hard mathematical/GSO barriers).
Technical feedback and code review are welcome!