logoalt Hacker News

dragontamer • today at 8:00 PM • 8 replies • view on HN

If P-384 is still safe and if NSA still recommends RSA 2k for legacy applications, this is a "little b" break.

EDIT: the most surprising thing about this, that made me feel like the whole thing was fake, was that RSA 2k is sorta fine but ECC 256-bit was killed off. What kind of new math would kill ECC 256 but not RSA 2048?

But the evidence really is pointing more and more towards an Elliptical Curve specific little-b break. Highly unexpected but everyone's reactions matches to this evidence.


Replies

eugenekolo • today at 10:54 PM

RSA 1K is thought to be 80 bits of security. RSA 2K is thought to be 112 bits of security. ECC 256 was thought to be 128 bits of security.

Facts we know: * RSA 2K is said to be "OK" for the time being. * RSA 1K is said to not be. * Latest joint statement says no immediate threat - that makes it not likely to be less than 80 bits of security.

It's highly likely a lab has proven ECC 256 is somewhere between 80 and 112 bits of security.

ls65536 • today at 8:43 PM

> What kind of new math would kill ECC 256 but not RSA 2048?

The "hard problem" that underlies ECC's security is the elliptic curve discrete logarithm problem (ECDLP), while RSA's is integer factorization. Mathematically, they're distinct problems, so it's entirely plausible that there can be a breakthrough in one without there being any impact on the other.

➕ show 1 reply
int08h • today at 8:27 PM

The "A Riddle Wrapped in an Enigma" paper (Koblitz/Menezes 2015), page 11 has and intriguing hint:

<quote> 3.2. Does the NSA have a cube-root algorithm for finding elliptic curve discrete logs?

The question arose when the NSA dropped P-256 from Suite B, leaving only P-384. If solving the elliptic curve discrete logarithm problem in a group of order n takes roughly the square root of n operations, then P-256 provides 128 bits of security. If it takes only the cube root of n operations, then P-384 would be needed for the same 128 bits of security.

At Asiacrypt 2013, Bernstein and Lange presented an algorithm that could solve a discrete log in about n^(1/3) operations after an initial precomputation costing about n^(2/3) operations. As they pointed out, that upfront cost made the algorithm impractical. Could the NSA have found a similar algorithm that needs far less precomputation, or believe that one might exist? </quote>

A newly found efficient cube-root attack fits with the rumors. It would be a "small-b Break" on the order of 2^85.

zarzavat • today at 8:45 PM

> What kind of new math would kill ECC 256 but not RSA 2048

Historically ECC has been resistant to the techniques that work best for RSA. The two problems are related but only distantly. This has allowed ECC to be deployed with much smaller key sizes compared to RSA for the same security level.

It seems that humanity did a good job optimizing the algorithms for integer factorization but we missed something with elliptic curve discrete log and deployed too small ECC, perhaps.

fchicken • today at 8:34 PM

> But the evidence really is pointing more and more towards an Elliptical Curve specific little-b break. Highly unexpected but everyone's reactions matches to this evidence.

So is Monero cooked?

➕ show 2 replies
ijustlovemath • today at 9:18 PM

How should we be thinking about prime numbers as the basis for our cryptosystems?

➕ show 1 reply
rao-v • today at 9:50 PM

I really do wonder about this, we have an attack that specifically weakened ECC 256 but not P384 (which pushes us exactly towards the long standing preference that the NSA has had for P384)

I think the reasonable options are:

1. A weakening of elliptic curves that changes scaling, so you need to go bigger (ChatGPT tells me it's likely a "an attack with complexity proportional to \(2^{n/3}\), rather than \(2^{n/2}\), where \(n\) is the subgroup size in bits." but that's not me).

2. A specific problem with the constants chosen or the specific curves in ED25519. You can read into the fact that Ed448 (many more bits) still doesn't make the list that maybe it's a specific problem that's not general elleptic curve.

3. A lot of just "can we please consolidate everybody on a small set of primitives, ideally ones that we've been working towards already, so we can focus attack / defense on a smaller set". And perhaps relatively little actual risk from whatever's been figured out.

- I think there is a bit of this because we're still pointing people to ML-DSA despite Anthropic having shown a theoretical weakening of it.

chasil • today at 8:42 PM

DJB's published opinion of P-384 is that it is unsafe (it fails in his categories of rigidity, Montgomery ladder/isomorphism, completeness, and indistinguishability).

https://safecurves.cr.yp.to/

https://crypto.stackexchange.com/questions/117500/curve-comp...

He has a higher opinion of P-521, to which I would personally defer.

http://blog.cr.yp.to/20140323-ecdsa.html

"To be fair I should mention that there's one standard NIST curve using a nice prime, namely 2^521 – 1; but the sheer size of this prime makes it much slower than NIST P-256."

➕ show 1 reply