Constant-Time BIGNUM Is Bollocks
summary
Claim: constant-time BIGNUM is a pipe dream. Evidence: a weekend exploit links a timing harness against BoringSSL and shows key-load time correlates with effective bit length because ASN.1 integer encoding strips leading zero bytes; remote measurements produce statistically separable timing distributions. Tools used: a debugger-backed harness, public reproducer, and basic network timing. Result: a practical zero-day that works remotely. Fixes proposed: one-file, provider-backed implementations, autogenerated/formally verified code, and abandoning shared BIGNUM code.
AI-written summary · about
chapters (16)
- 0:00Introduction and memes
- 1:24Origin of the bug
- 3:51Side channel basics
- 4:53Leakage in crypto libraries
- 7:43Exploiting the timing leak
- 8:47Nicola’s breakthrough
- 11:19Whack-a-mole game
- 13:23Expanding to other systems
- 15:31Deja vu paper
- 17:38Bollocks track origin
- 19:45Zero day in BoringSSL
- 22:16Demonstrating the exploit
- 24:23Standards level issue
- 27:13Where to go from here
- 29:19Nuke big num code
- 30:43Q&A session
