arXiv · 2611.37502
From Architectural Traces to Conditional Key-Recovery Bounds for Deterministic secp256k1 ECDSA
Abstract
RFC 6979 derives the ECDSA nonce from the signing key $d$ and the 32-byte digest $h$ via HMAC_DRBG. Earlier work (arXiv:2611.18449) isolated the assumption $A^*$ for multi-query unforgeability on $\mathbb{Z}_n^*$ and reduced $A^*$ in the ideal-compression model to discrete logarithm with a signing oracle. Here we ask when the instruction and memory-address trace $T$ of an AArch64 secp256k1 signer, observed with one low-$s$ signature $(r,s)$ on a fixed digest $h$ under a prior $J$ on $(d,h,z)$ - such as $D_j = [2^{j-1},2^j)$, where $H(d\mid Q)=0$ and restriction from $\mathbb{Z}_n^*$ loses $(n-1)/|D_j| \approx 2^{257-j}$ - helps recover $d$. For a pinned AArch64 build of Bitcoin Core v0.14.0, SLEIGH p-code and Z3 proofs partition runs of at most $H$ attempts into $M_H = 2(4^H-1)/3$ trace templates ($3^H-1$ when $h \equiv 0 \pmod n$). Under uniform nonces on secp256k1, $T$ is publicly simulable from $(r,s)$ up to $\mathbb{E}_J[q_X^H] < 1.395\cdot 10^{-77}$ at $H=2$. Relative to signature-free recovery $S_Q^{\mathrm{native}}$, we prove Lean 4 reductions for $b$-bit views of $s$, verification-point views $(Q,r,T_{\mathrm{ver}})$, and two-stage bounded-degree polynomial solvers; meta-reductions and a $(n-1)/(2n)$ liftability test rule out random symmetric coordinate tables. Passing to HMAC_DRBG reduces to nonce-prefix indistinguishability ($\mathrm{LR\text{-}PRF}_Q$), which under ideal compression reduces to $S_Q^{\mathrm{native,IC}}$ via $256 q_f$ key checks with no signing oracle and no $(n-1)/|D_j|$ loss, and after initialization splits into $2$- and $3$-query HMAC-PRF hybrids. Physical side channels, historical attribution, general full-$s$ native reductions, and fixed-SHA-256 initialization bounds remain open.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Ilia Prosianoi. 2026-11-27. From Architectural Traces to Conditional Key-Recovery Bounds for Deterministic secp256k1 ECDSA. https://arxiv.science/abs/2611.37502
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.