Cryptopocalypse (or lack thereof?)

· Christophe Tafani-Dereeper

6 min read Original article ↗

tl;dr

  • P-256 may be cryptographically broken.

  • One of the possible outcomes is that an algorithm in the order of 2n/3 operations was found. This would reduce the security of P-256 from 128 bits to 85 bits. If this turns out to be true, it's still unclear how practical this attack would be.

  • Other ECC 256-bit curves such as Curve25519 may equally be affected.

  • Rumors that RSA is affected or that someone demonstrated that P=BQP are unsubstantiated.

  • I think Mozilla's cryptography team's assessment "possibly an immediate but narrow threat to high-value targets" is the most likely outcome, which means there would be a practical but still costly way to break P-256 under specific conditions.

The situation is unrelated to Anthropic's paper Quasi-polynomial quantum algorithms for integral and module lattices, released on November 30, which demonstrates a theoretical and highly unrealistic quantum algorithm for attacking certain mathematical problems underlying lattice-based post-quantum cryptography, including ML-KEM.

Trusted cryptographers to follow

Statements from official bodies

Timeline

  1. NSA advisory with technical guidance nsa.gov
  2. Joint advisories of the US government and major tech companies bsky.app
  3. Filippo Valsorda claims 256-bit ECC is at risk words.filippo.io
  4. Cloudflare's CEO's alarmist tweets x.com

    Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it’s a big deal. No, we can’t give you all the details yet. But it is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards. https://t.co/Uo4naraSOa

    · X

  5. Mozilla: possible "immediate but narrow threat to high-value targets" blog.mozilla.org (HN discussion)
  6. Cloudflare publishes their timeline to become "fully post-quantum" blog.cloudflare.com (HN discussion)
  7. Schneier: "I just heard from a reliable source that ECC P-256 was broken" schneier.com (HN discussion)
  8. NCSC: "no immediate threat" theregister.com (HN discussion)
  9. NIST advisory nist.gov (HN discussion)
  10. Chrome will block certificate chains that include P-256 CA keys groups.google.com (HN discussion)
  11. Nadim Kobeissi x.com

    As of right now, everything points to 128-bit security elliptic curves being partially weakened without being broken outright.

    There is absolutely no reason to think that these curves are practically broken today.

    However, all signs point to a significant reduction in the…

    · X

  12. Filippo Valsorda stands by his statement that 256-bit ECC is likely affected bsky.app (HN discussion)

    Filippo Valsorda @filippo.abyssdomain.expert

    I am being asked if I stand by my interpretation of the NSA advisory. (words.filippo.io/nsa-advisory/) Yes. Completely. > As of March 15, 2027, Chrome intends to stop trusting Certification Authority (CA) keys using ECDSA P-256 (secp256r1). → blog.google/security/kee...

    · Bluesky

  13. Prof. Menezes: "consistent with the theory that AI has discovered a n^(1/3) algorithm for computing discrete logarithms in elliptic curves" lnkd.in
  14. OpenAI executive denies the unsubstantiated rumor that they may have proven P=BQP x.com (HN discussion)

    @OpenAI hasn’t proved P=BQP.

    This rumor shouldn't drown out guidance from the US government to speed up the move to post-quantum cryptography, starting with critical systems. We're working with other labs and the USG to share findings responsibly. https://t.co/SWYx2IA6V0

    · X

  15. John D. Cook: "Between $10 millions and $1 billion" to break 85 bits of security johndcook.com (HN discussion)
  16. New joint statement from Anthropic and OpenAI anthropic.com (HN discussion)

A short history of P-256 and the controversy around it

I don't usually deal with cryptography, so it was interesting to take this situation as an opportunity to read more about the NIST P-256 ECC curve, and history about elliptic curve cryptography in general. See "Relevant reads and resources" for detailed sources.

A short history of P-256

  • ECC was first proposed in 1985 and requires a set of points that satisfy an equation ("elliptic curve") with very specific properties. When used properly, ECC provides equivalent security to RSA but with much smaller keys.

  • NIST P-256 (along with P-224, P-384, P-521) is an elliptic curve over a prime field, defined by NIST in the 1990s. It provides 128 bits of security, just like RSA-3072 and AES-128. These elliptic curves were generated in 1997 by NSA mathematicians, to make sure people using ECC would use appropriately secure curves and not roll their own.

  • NSA mathematicians generated these curves opaquely, but other mathematicians worldwide were subsequently able to verify they matched satisfactory mathematical properties.

  • Amongst cryptographers, the vast consensus is that NIST P-curves provide appropriate security and that it's highly unlikely the NSA could have backdoored them or generated intentionally weak curves in a way that the rest of the world wouldn't have found out.

  • These curves were generated using specific seeds. Up to a few weeks ago, how the NSA picked them was a mystery until Anthropic found out they involved using a pseudorandom number generator initialized from the clock of August 1997.

  • This discovery makes it even less likely that the NSA would have generated a purposely-weak curve, but still leaves some questions unanswered about the seed selection process: for P-256, NSA mathematicians skipped a valid candidate seed without apparent reason.

Consequently, prior to the December 2026 advisories, P-256 was considered secure to use with ECC, even if some people had suspicions based on the unexplained seed and the fact the NSA stopped accepting its usage for US national security purposes in 2015.

Is there an algorithm to "efficiently" break NIST P-curves?

The security of ECC is based on the fact that discrete logarithms is computationally expensive (similar to how prime factorization is the basis for RSA).

Some cryptographers have speculated that the NSA might have found an algorithm to find elliptic curve discrete logarithms more efficiently, namely in the order of 2n/3 operations, which would provide the equivalent of 256/3=85 bits of security for P-256. In 2013, two famous cryptographers published an algorithm that would match these properties, except it requires an absolutely unrealistic amount of precomputation (in the order of 2171) which is useless in practice.

In any case, ECC is not post-quantum, as Shor's algorithm running on a quantum computer would find elliptic-curve discrete logarithms in polynomial time.

So why did NSA recommend moving away from P-256 back in 2015?

Prior to 2015, NSA was allowing the use of ECC with P-256 and P-384, and of ECDSA/ECDH, but specifically not RSA.

In 2015, through the introduction of CNSA, NSA stopped allowing the use of P-256 and required the use P-384 instead. But in the same move, they reintroduced RSA with a 3072-bit key size, itself providing the same security as P-256 they just retired (128 bits). This seems to suggest NSA was specifically concerned about P-256 but didn't share why.

Relevant reads and resources

FAQ

Why does P-256 not provide 256 bits of security?

The best known generic attack against ECC, Pollard's rho algorithm, can compute discrete logarithms on an elliptic curve in the order of 2n/2 operations, meaning an n-bit elliptic curve effectively provides (or was believed to provide, before December 2026), n/2 bits of security.

Is RSA affected?

Nothing points towards RSA being affected, and no serious cryptographer seems to have suggested otherwise.

What's some good guidance to migrate to PQC?