Skip to content

From Architectural Traces to Conditional Key-Recovery Bounds for Deterministic secp256k1 ECDSA

Ilia Prosianoi

cs.CR

Abstract

RFC 6979 derives the ECDSA nonce from the signing key dd and the 32-byte digest hh via HMAC_DRBG. Earlier work (arXiv:2611.18449) isolated the assumption A∗A^* for multi-query unforgeability on Zn∗\mathbb{Z}_n^* and reduced A∗A^* in the ideal-compression model to discrete logarithm with a signing oracle. Here we ask when the instruction and memory-address trace TT of an AArch64 secp256k1 signer, observed with one low-ss signature (r,s)(r,s) on a fixed digest hh under a prior JJ on (d,h,z)(d,h,z) - such as Dj=[2j−1,2j)D_j = [2^{j-1},2^j), where H(d∣Q)=0H(d\mid Q)=0 and restriction from Zn∗\mathbb{Z}_n^* loses (n−1)/∣Dj∣≈2257−j(n-1)/|D_j| \approx 2^{257-j} - helps recover dd. For a pinned AArch64 build of Bitcoin Core v0.14.0, SLEIGH p-code and Z3 proofs partition runs of at most HH attempts into MH=2(4H−1)/3M_H = 2(4^H-1)/3 trace templates (3H−13^H-1 when h≡0(modn)h \equiv 0 \pmod n). Under uniform nonces on secp256k1, TT is publicly simulable from (r,s)(r,s) up to EJ[qXH]<1.395⋅10−77\mathbb{E}_J[q_X^H] < 1.395\cdot 10^{-77} at H=2H=2. Relative to signature-free recovery SQnativeS_Q^{\mathrm{native}}, we prove Lean 4 reductions for bb-bit views of ss, verification-point views (Q,r,Tver)(Q,r,T_{\mathrm{ver}}), and two-stage bounded-degree polynomial solvers; meta-reductions and a (n−1)/(2n)(n-1)/(2n) liftability test rule out random symmetric coordinate tables. Passing to HMAC_DRBG reduces to nonce-prefix indistinguishability (LR-PRFQ\mathrm{LR\text{-}PRF}_Q), which under ideal compression reduces to SQnative,ICS_Q^{\mathrm{native,IC}} via 256qf256 q_f key checks with no signing oracle and no (n−1)/∣Dj∣(n-1)/|D_j| loss, and after initialization splits into 22- and 33-query HMAC-PRF hybrids. Physical side channels, historical attribution, general full-ss native reductions, and fixed-SHA-256 initialization bounds remain open.

Create a lesson