A lab study finds RSA key-generation leakage in OpenSSL primality testing
Duan and colleagues used power measurements of an instrumented Cortex-M4 setup to confirm leakage from arithmetic used in OpenSSL's Miller-Rabin primality test. They also evaluated RSA private-key reconstruction under the resulting leakage model.
Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.
Background
RSA key generation tests candidate primes before using them to build a key. The candidates that become the secret factors pass through the test, so the device can handle sensitive data before it ever signs or decrypts. The paper distinguishes the information observed on the board from the reconstruction evaluated under its model.
Sources
- primary disclosureA Novel Leakage Model in OpenSSL's Miller-Rabin Primality TestPKC 2026, link.springer.com
- primary disclosureAuthor manuscript and experimental setupIACR ePrint, eprint.iacr.org