Remix.run Logo
▲ dimator a day ago

If backdoors are introduced by design, why in the world does NSA think that other countries and their armies of crypto PhDs won't find them too? There must be some reasoning to what NSA is doing, but I don't understand it.

▲tptacek a day ago | parent | next [-]

NSA did not design MLKEM. European cryptographers did.

▲Hypomixolydian a day ago | parent [-]

Origin is not important - the possible weakness, known to NSA is. After WW2 Enigma was sold by US and UK to various developing countries, so they could still reap from success of Ultra project [1]. And Enigma was a German design...

[1] Friedrich Bauer, Decrypted Secrets 4th Edition, ch. 7.3.9

▲nemo a day ago | parent | next [-]

There's a good article here I'd recommend you take a look at which goes over the math involved, there's literally nowhere to hide a backdoor, the parameters were designed to be very small and simple to check, all nothing-up-my-sleeves numbers, and there's not enough space in them to hide anything: https://keymaterial.net/2025/11/27/ml-kem-mythbusting/

▲Hypomixolydian a day ago | parent [-]

There is no need to hide anything, if the math involved is breakable from the beginning and NSA thinks that they have "NOBUS". "Pick a key, any key".

▲nemo a day ago | parent [-]

In this new world of AI driven math and research, what we're seeing is that lattices are holding up quite well under some very intense cryptanalysis unlike what humanity's been capable of before, while some scary things are being said about EC-256 (and other 256 bit curves). Meanwhile progress on quantum computers on error correction and scaling qbits is moving faster than expected which leaves RSA and EC vulnerable again. You might be afraid of lattices for some imagined secret the NSA has, but that's a conspiracy theory, so far the math has been solid and, really, the NSA aren't the ones who ran the NIST challenge that picked this algo, you have to do a lot of fuzzy imagining of things to justify the NSA as a boogeyman on topics that when investigated with some care and evidence fall apart quickly. I watched the NIST challenge with some interest, personally, since I'm an applied cryptographer at my day job.

▲Hypomixolydian a day ago | parent [-]

Symmetric primitives competitions ran by US Gov adjacents look OK (AES, SHA3...). But asymmetric ones always have weird smell around them - first example is "riddle wrapped in enigma" case (looks like ECC backdoor math or at least attack shortcut discovered by US adversary, so NSA lost NOBUS and had to act?) and of course the newest very bad smelling IETF shenanigans: http://blog.cr.yp.to/20260702-standard.html - I would call this NSA-ran project, judging by the trusted personnel assigned to vote: http://blog.cr.yp.to/20260814-update.html ...

▲tptacek a day ago | parent | next [-]

The “Riddle Wrapped In An Enigma” paper is about the opposite thing: why there almost certainly can’t be a back door in the p-curve seeds. But also: Steve Weis found the fucking seeds. It’s been decisively resolved.

▲Hypomixolydian a day ago | parent | next [-]

> The “Riddle Wrapped In An Enigma” paper is about the opposite thing: why there almost certainly can’t be a back door in the p-curve seeds.

I am not talking about nicely packaged "here is what you should think about this situation" paper. I am talking about the situation itself: NSA doing U-turn about the same crypto they pushed so hard.

▲Hypomixolydian a day ago | parent | prev [-]

> Steve Weis found the fucking seeds. It’s been decisively resolved.

No. The only thing "resolved" are the seeds. Nothing explains why these seeds were selected from all possible values. Also: http://safecurves.cr.yp.to/bada55.html

▲tptacek a day ago | parent [-]

It's a timestamp. Yes, you're right, the NSA must have backdoored time.

▲Hypomixolydian 21 hours ago | parent [-]

Let me repeat again, slower: from multiple possible timestamps only some were selected. Or, in other words:

while (!NSA_can_break_it(ecc_curve_from_values(hash(timestamp)))) { timestamp = next_timestamp(); }

So it is very easy to use "explainable" "innocent" values and still have the output backdoored.

▲tptacek 20 hours ago | parent | next [-]

Did you read the Riddle Wrapped In An Enigma paper?

▲Hypomixolydian 20 hours ago | parent [-]

Yes. Did you read BADA55 paper?

"How to manipulate curve standards: a white paper for the black hat" - recommended: http://safecurves.cr.yp.to/bada55/bada55-20140722.pdf

▲tptacek 20 hours ago | parent [-]

I did. A version of it was submitted to Usenix WOOT the year I co-chaired. I've also mentioned it on HN a dozen or so times. So, you read the Menezes/Koblitz paper and came away thinking a timestamp was sufficient flexibility to specify a backdoor curve? The whole paper is about how implausible that is with a much more flexible seed space.

▲nemo 20 hours ago | parent | prev [-]

The person you're replying to is a real cryptographer who does security work there and knows their cryptanalysis pretty well (they have lots of cryptographers on their podcast, it's great), while I'm an applied cryptographer at a FAANG working on services that handle billions of transactions a day across lots of domains (and I used to work with Ryan Sleevi for a while). I'm not saying that to make an argument from authority, just that we both have skin in the game and take these exact threat models very seriously.

What you're describing is a seed-grinding attack (the BADA55 argument). Unlike Dual_EC_DRBG where knowing the discrete log between points P and Q acts as a direct mathematical trapdoor, knowing the pre-image of a curve seed doesn't create any secret state. Once S = SHA1(preimage) is published in the spec, anyone evaluating the curve has the exact same information the NSA does.

Your while loop would only work if there existed a massive, dense class of weak prime-order curves (e.g., 1 in 2^30 curves having a secret discrete-log shortcut) that you could realistically stumble into just by grinding timestamps. After decades of intense algebraic cryptanalysis, no dense weak-curve class like that has ever been found for random prime curves. The math simply doesn't support it as a real-world attack.

It's worth learning more about how the NSA's Cybersecurity Directorate (CSD) operates, the NSA isn't just tasked with SIGINT. The CSD is the defensive wing of the NSA, they deal with cryptographic standards, and threat-intelligence sharing missions. That's where the push for adopting ML-KEM is coming from and they're planning to go all in on it for all Federal security. Seems unlikely they know of a threat to the math.

▲tptacek 17 hours ago | parent | next [-]

(My only correction to this is that I'm not a cryptographer; just a vulnerability researcher with an interest in cryptography vulnerabilities. Both my podcast cohosts are cryptographers, though.)

▲Hypomixolydian 10 hours ago | parent | prev [-]

> Once S = SHA1(preimage) is published in the spec, anyone evaluating the curve has the exact same information the NSA does.

DES S-Boxes (immune to differential cryptanalysis, then known only to NSA) were also public and nobody knew why they have specific form. So public != understandable for anyone.

Right now also nobody really knows why exactly we are alerted to drop the ECCs and run for life in general direction of PQC (all public info is vague and general - no single relevant paper produced). Of course we had decades of intense algebraic cryptanalysis, too to potentially answer this riddle (wrapped in enigma).

▲ a day ago | parent | prev [-]
[deleted]
▲tptacek a day ago | parent | prev [-]

This non-falsifiable argument applies equally to any PQC construction submitted at the NIST PQC competition.

▲Hypomixolydian a day ago | parent [-]

Not every submission is pushed in ugly way by NSA assault group in IETF, what djb described in gory details.

▲tptacek a day ago | parent | next [-]

This totally different argument is also false, but it doesn't matter because it's unrelated to the argument I responded to.

▲gimlichgu a day ago | parent | prev [-]

[flagged]

▲Hypomixolydian a day ago | parent [-]

> you better shut up cause you're wrong

Citation needed.

> I've been to the meetings and know how they work, have you? No? exactly so be quiet!

Well, "the meetings" were described precisely enough by djb, including their "rough consensus" and all other dirty games.

▲tptacek a day ago | parent | next [-]

Pretty sure this is a troll account you're responding to (see all their other comments).

▲Hypomixolydian a day ago | parent [-]

Thank you.

▲gimlichgu a day ago | parent | prev [-]

sorry i was in fact being sarcastic, and i apologize

▲the_cosmos a day ago | parent | prev | next [-]

It's been successful in the past. https://en.wikipedia.org/wiki/Operation_Rubicon

▲rileymat2 a day ago | parent | prev [-]

We are in weird conspiracy land, which is a problem because it is well-documented fact, not conspiracy, that they have tried to do exactly that. When you lose trust it breeds conspiracy.