logoalt Hacker News

FiloSottile • last Friday at 10:15 PM • 9 replies • view on HN

Given how expensive this computation would have been in 1997, it makes perfect sense they'd taken months, but even if we assume they tried all timestamps of 1997 and selected arbitrarily among the first 16 viable candidate of any timestamp, that's just ~30 bits of freedom.

Finding out there is a class of weak 256-bit elliptic curves so large that they can be hit randomly with 2^30 tries would be a cryptanalytic breakthrough analogous to discovering all elliptic curve cryptography is broken.

Read section 3.1 of the Koblitz and Menezes paper. It was already implausible with 160 bits of freedom. https://eprint.iacr.org/2015/1018

If you want to believe the NSA knows ECC is broken and chose to risk moving the US government to it and somehow no one figured out the same break in 30 years, you're free to do so. But pretending the seed choice plays any role in that theory is over.


Replies

feanaro • yesterday at 2:49 AM

This is unrelated to the above comment, but I figured I'd ask while we're here. You state at the end of your blog post on this topic that you'd now probably recommend the NIST curves over Curve25519. Why is that?

➕ show 1 reply
skew-aberration • last Friday at 10:44 PM

As a complete layman, I do wonder why n grows with each subsequent curve, rather than with number of bits. Does this not suggest they were 'searching harder'?

edelbitter • last Friday at 10:37 PM

>they can be hit randomly with 2^30 tries

More precisely: not very random tries.

➕ show 1 reply
tyromaniac • yesterday at 4:12 PM

Yeah... It would only be the second time they tried to do exactly that, with elliptic curve related crypto nonetheless

➕ show 1 reply
schiffern • yesterday at 6:15 PM

  >even if we assume they tried all timestamps of 1997
Why limit to that? Especially since the official history had it as "hashed passphrase" (which would, of course, provide ample entropy).

A confusing official story doesn't disprove anything. If anything, that would be standard operating procedure for a signals intelligence plant.

  >Finding out there is a class of weak 256-bit elliptic curves so large that they can be hit randomly with 2^30 tries would be a cryptanalytic breakthrough 
NSA is the largest employer of mathematicians in the world.

A breakthrough would indeed be a terrible thing to waste. If I had one, I'd make a good and boring official cover story, and stick to it! Regular old spy-craft stuff, in other words. ;)

palisade • last Friday at 11:25 PM

"..chose to risk moving the US government to it.."

Oof, about that...

➕ show 1 reply
smolder • yesterday at 5:43 AM

[flagged]

mitxela • yesterday at 11:25 AM

There are plenty of weak curves. See djb's safecurves project. Maybe the NSA found an unknown type of weakness.

➕ show 1 reply
12aft5l • yesterday at 5:20 PM

Where do you get the 2^30 from? drand48 could be f_0, but they could have tried f_1, f_2, ... as well and chosen the f_n that yielded the desired but plausible values.

All we know is that drand48 gave values that the NSA was happy with.

➕ show 1 reply