Remix.run Logo
▲ some_furry a day ago

SafeCurves fails to also consider cofactor security, malleability, etc. https://moderncrypto.org/mail-archive/curves/2017/000898.htm... https://hdevalence.ca/blog/2020-10-04-its-25519am/

It's a marketing document for Curve25519.

Prime order curves (i.e., P-384) have had complete addition formulas since 2015. https://eprint.iacr.org/2015/1060

Go's crypto module, for example, uses complete addition formulas.

Citing SafeCurves in 2026 in the wake of the 256-bit ECC advisory isn't really helpful. You're muddying waters that have long since settled.

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

So you'd want a good curve to fulfil all of the safecurves criteria and more, right?

▲some_furry a day ago | parent [-]

There are none, that I'm aware of, that matches all of the criteria we care about today. Maybe Decaf448 is fine.

But we shouldn't invent new elliptic-curve cryptography in 2026. We should move to post-quantum as soon as we can.

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

We have to use a hybrid scheme, since the PQC is still suspicious.

▲some_furry a day ago | parent [-]

PQC is not suspicious.

https://keymaterial.net/2026/06/18/on-hybrid-signatures/

https://keymaterial.net/2025/11/27/ml-kem-mythbusting/

https://soatok.blog/2026/04/13/hybrid-constructions-the-post...

https://soatok.blog/2026/10/29/your-cryptography-conspiracy-...

etc.

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

None proving that the NSA hasn't broken MLKEM. Their very strong resistance to hybrid encryption in the last 11 years casts enough suspicion already.

▲some_furry 19 hours ago | parent [-]

I can't disprove that NSA hasn't broken MLKEM the same way I can't disprove that the NSA hasn't turned their engineers into werewolves!

You need evidence of the claim, not to demand I disprove a negative hypothetical.

▲ruthie_cohen 18 hours ago | parent [-]

The public has known about NSA’s SIGINT enabling project since 2013. If the budget then was $250 million it’s likely in the billions now.

The NSA has been systematically weakening encryption for 60 years.

You are deluded if you don’t think this is still happening.

If you trust anything the NSA says I have a bridge to sell you. They just want the monopoly on breaking encryption.

▲some_furry 18 hours ago | parent [-]

You may be surprised to hear this, but the links I posted above already addressed the argument you're making!

And I hate repeating myself.

But if I must, read this one thoroughly: https://soatok.blog/2026/10/29/your-cryptography-conspiracy-...

▲Hypomixolydian 11 hours ago | parent | next [-]

Argument addressed, but not really answered. The whole thing lays on single premise "COMSEC will win with SIGINT in NSA priorities - they wouldn't recommend backoored crypto for USGOV use". Well, the problem is that none of truly USGOV-use algorithms are known. All are classified. We know only some codewords, but no details. Also note that DUAL_EC_DRBG was also in NIST SP 800-90A and nobody in NSA even blinked.

▲cowlevel 11 hours ago | parent | prev [-]

All available evidence is consistent with the NSA knowing an algorithm to break ML-KEM. More consistent than the alternatives, like it's unbreakable and the NSA knows it.

▲yyyk 16 hours ago | parent | prev | next [-]

To play the other side: Your assumption is that NSA needs a NOBUS backdoor in MLKEM. But they don't. They know by now everyone will deploy a hybrid. A general break in MLKEM768 and a NOBUS break for X25519 would work just as well for them while keeping everyone else out: Even if someone else figures out MLKEM, ECC will still lock them out. NSA just needs to not tell anyone about a break in MLKEM768, and develop a quantum computer on the side for the ECC part.

To summarize: we could use more options in TLS.

▲some_furry 16 hours ago | parent [-]

> Your assumption is that NSA needs a NOBUS backdoor in MLKEM. But they don't. They know by now everyone will deploy a hybrid. A general break in MLKEM768 and a NOBUS break for X25519 would work just as well for them while keeping everyone else out:

Please read the article again. Power word: COMSEC

▲yyyk 14 hours ago | parent [-]

I specifically said MLKEM768 for a reason. NSA are moving US gov to ML-KEM _1024_, so there's no necessary COMSEC issue here. Again, we could use more TLS options (MLKEM1024X448 for example).

https://datatracker.ietf.org/doc/draft-preussmattsson-tls-ml...

▲some_furry 13 hours ago | parent [-]

OK, so the logical thing to do is: Also switch to ML-DSA-1024, then? Rather than shoehorn hybrids in?

Is that the solution you want to see?

▲yyyk 12 hours ago | parent [-]

At the moment, there's exactly one widely supported TLS PQ encryption option (X25519MLKEM768) and one occasionally supported PQ encryption option (MLKEM1024). I'd like to see options. We don't know what would hold up in this new era.

So, yes, I'd really like ML-DSA-1024. However, I'd hardly want it to be the only option that everyone switches to (e.g. McEliece is worth a second look). Getting the entire ecosystem on one type of solution is just asking for a nasty surprise that breaks everything, even one possibly not authored by the NSA, who we shouldn't trust.

▲adrian_b 11 hours ago | parent [-]

At least for certificates, RFC 10073 specifies a great number of options, many of them having a good cryptographic strength, such as COMPSIG-MLDSA87-Ed448-SHAKE256.

It remains to be seen how many of those options will really be supported in TLS 1.3 implementations.

On the other, for key encapsulation mechanisms I am not aware of any other finalized RFC, except RFC 10024, which specifies only SecP384r1MLKEM1024, without any other choice at this security level.

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

Anyone who thinks redundancy is unnecessary should prove their commitment to this belief by donating one of their kidneys.

▲some_furry 19 hours ago | parent [-]

Your reply has nothing to do with the comment you're replying to.

Hell, I use hybrids in my own designs. But not because I have any concerns about the security of ML-KEM. It's just less friction for people to accept.

That's kind of my entire point, though, from the Safety Blanket blog post I shared: If your motivation for hybrids is that you're worried about the security of ML-KEM, and you get zero post-quantum security from X25519, then the PQ + ECC hybrids make no fucking sense.

(And, if you bring up classical attacks, I'd like to point out that TFA is speculation about 256-bit ECC being cooked.)

You'd need a PQ + PQ hybrid. Or maybe a PQ + PQ + ECC hybrid if you want to be extra spicy.

▲zarzavat 14 hours ago | parent | next [-]

Quantum computers are still a theoretical threat since nobody has yet built one that can threaten encryption. It will happen one day, but that day is not yet upon us.

Meanwhile, while we have been waiting for practical quantum computers both SIKE and P-256 have fallen to classical cryptanalysis.

The hard problem is not safety from quantum computers, the hard problem is safety from classical computers with access to Lean, and that safety is greatly enhanced by using two unrelated algorithms.

▲some_furry 13 hours ago | parent [-]

> Quantum computers are still a theoretical threat since nobody has yet built one that can threaten encryption. It will happen one day, but that day is not yet upon us.

This is how I know you haven't actually read the material I shared above, because it also links to https://blog.trailofbits.com/2024/07/01/quantum-is-unimporta... which addresses your point.

> The hard problem is not safety from quantum computers, the hard problem is safety from classical computers with access to Lean, and that safety is greatly enhanced by using two unrelated algorithms.

Nope.

See https://keymaterial.net/2026/06/18/on-hybrid-signatures/

Or my bluesky thread, if you prefer: https://bsky.app/profile/soatok.bsky.social/post/3n3uaclnsv2...

The realities of applied cryptography are subtle and counterintuitive.

Believe it or not, my career is in applied cryptography. I'm not speaking as a rando here.

▲zarzavat 10 hours ago | parent [-]

Quantum computers are not the immediate threat anymore, AI cryptanalysis is, and moreover this AI stress testing will happen before a practical quantum computer arrives.

In other words we were expecting this:

    [classical era] [QC era]
but now we have:

    [human cryptanalysis era] [AI cryptanalysis era] [QC era]
There's a whole new era in the history of cryptography that we have to adapt to the presence of before we get to the quantum computing era.

It's now premature to prepare for quantum computers because we don't know which algorithms will survive AI cryptanalysis. Just the other day we had the ML-KEM paper which gives a quantum break that may be improved upon.

It's likely that both new classical and new quantum breaks will fall out of this process.

How do you prepare for AI cryptanalysis? By using hybrids of two maximally unrelated algorithms. It's only by coincidence that the recommendation to use classical+PQ survives, if AI had broken lattices instead of ECDLP then we'd all be talking about post-quantum RSA or something.

▲jmqb 18 hours ago | parent | prev [-]

If you believe (and there are good reasons for believing) that CRQC faces a fundamental impossibility, a structure-free classical + PQ hybrid provides a great insurance policy either way.

(ElGamal or Rabin) + FrodoKEM seem least likely to fall to ML-powered search for algebraic shortcuts. The reason we're in this ECC pickle is that people are greedy and always look for one of the ~50x cheaper smart schemes when the dumb and rock solid alternative is readily available. Compute and networks have advanced enough. If not now, when will the peace of mind be worth it?

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

Heh until current pqc is shown to be broken. Which is more likely almost? they haven’t been battle tested to the same degree. It’s like trading the devil you know for the devil you don’t know. Keep in mind that pqc is only relevant for maintaining pfs, which is a common use case, but not universal use case for encryption.

▲some_furry 18 hours ago | parent [-]

> Heh until current pqc is shown to be broken. Which is more likely almost?

I disagree.

> they haven’t been battle tested to the same degree.

Did you read the linked posts in this comment? https://news.ycombinator.com/item?id=50778310

They are more battle-tested than ECC was when we adopted ECC, and we didn't hybridize ECC with RSA.

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

I am far more comfortable with:

  x^2 + y^2 = 1 - 376014x^2y^2

  modulo p = 2^521 - 1
Than I am with:

  y^2 = x^3 - 3x + 27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575

  modulo p = 2^384 - 2^128 - 2^96 + 2^32 - 1
The P-521 description hints much more strongly that there is "nothing up my sleeves."

https://credelius.com/credelius/?p=97

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

You're free to have whatever personal comfort level you want, but it's immaterial to the facts about cryptographic security.

See https://words.filippo.io/seeds-solved/ for why the equation you posted has no relevance to the security of the NIST curves.

▲chasil a day ago | parent [-]

You are also free to ignore the questions of custom parameters that introduce back doors.

https://bada55.cr.yp.to/bada55-20150927.pdf

▲some_furry a day ago | parent [-]

I recommend reading the words of cryptographers besides Bernstein.

He's not he only cryptographer on earth. Many of them have opinions you might find compelling, if you would only consider them.

▲chasil a day ago | parent [-]

I am sorry that you are downvoted.

I will expend an upvote upon you now.

I agree that we need objective vision on these questions.

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

No offense, but why? Do you also believe that liquids with complicated names and chemical formulas are inherently more hazardous than good old oxygen, nitrogen and carbon?

The things you would protect with cryptography are presumably important enough for the protection to be based on evidence and not vibes.

▲chasil a day ago | parent [-]

"Nothing up my sleeve."

The peer conversant posted a reply with recent mundane explanations of parameters found with AI.

That in no way implies that back doors are absent.

I posted two links referencing "nothing up my sleeve," which is why the stampede to ed25519 happened in the first place.

https://credelius.com/credelius/?p=97

https://bada55.cr.yp.to/

The response was a re-education attempt.

Edit: Reading his post more carefully, I may be incorrect on this point. I don't know if this directly addresses the whopping constant in P-384.

"Even if the NSA had been free to pick any timestamp in 1997–98 and any of the first 16 prime-order candidates (which generously accounts for the unexplained rejections), they would have had barely 30 bits of freedom. Not enough to intentionally target a hypothetical small class of weak curves, not enough to embed any kind of NOBUS backdoor."

You must remember, however, that the NSA is the largest employer of mathematicians in the U.S./world. The innocence of numbers should not be granted on faith.

▲tptacek 21 hours ago | parent [-]

People are jumping into these threads understanding about 1/3rd of what Bernstein says. The entire point of the BADA55 paper is that "nothing up my sleeves" curve parameters are inadequate for security. That's it --- that's the entire paper. There isn't another way to read it. How are you connecting this comment you just wrote with the paper you just cited?

▲chasil 21 hours ago | parent [-]

This is the whopper. This is the outlier, the largest coefficient of all curves.

  27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575
The largest coefficient in Bernstein's endorsed curves is 530438.

What is going on here? Can you explain this to me?

Edit: I will admit that I use P-384 for Chome/Edge. This does not mean that I like it. This smells awful.

▲mpyne 21 hours ago | parent | next [-]

Can you explain why 530438 is more obviously secure than 275... ?

I seem to remember an CA recently, and quite infamously, had important parts of their intermediate CAs that could fit in a single byte rather than the huge monstrosities other CA’s certs contained.

What’s to say NSA couldn’t more easily hack the curve with nothing higher than a 6-digit coefficient?

▲chasil 20 hours ago | parent [-]

When I look at Curve25519, I see:

  y^2 = x^3 + 486662x^2 + x

  modulo p = 2^255 - 19
This is succinct. P-384 is anything but.

Why should I trust this monster?

▲akerl_ 19 hours ago | parent | next [-]

This is the equivalent of people who are afraid of "chemicals" in their food. Big numbers aren't inherently more "monster" than small numbers.

▲tptacek 19 hours ago | parent | prev | next [-]

Well, probably because Curve25519 is about to be broken.

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

And now we’re back to vibes and succinctness... You should trust it because it’s been heavily evaluated and come up just as trustworthy as the other algorithms that you don’t know how to evaluate or to trust.

▲chasil 20 hours ago | parent [-]

I will expend an upvote upon you.

Succinctness in mathematics is the enemy of subterfuge, and we both know this.

People do have the right to communicate securely.

I do understand your position, and I sympathize.

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

> People do have the right to communicate securely.

Of course, just as they have the right to good healthcare and unpoisoned food.

I don’t myself know how to evaluate food beyond what my taste buds and instinctive disgust will provide. But because of that I don’t have much complicated of a system to assess it than “if it tastes bad, spit it out” and “calories in, calories out”.

Meanwhile I trust others, who do know what’s going on and what things should look like, to make sure that the food that makes it into grocery stores and then onto my plate is not poisoned.

This has quite obviously gone bad, even in recent memory. But as a process it is still better overall, both for my health and for my sanity, to put trust into others.

And when that stops being the case, I will be forced to learn for myself how it all works in grotesque detail. But until I do that, I will not “vibes” my way into a discussion on food quality, other than to say that it is important and that I’m not an expert.

There may well be problems with P-384. But those long constants might just as well be protections not implemented in the succinct polynomial, or an artifact of how the math works out. I certainly don’t know enough to tell, and it sounds as if you do not either, because if there was a concrete problem to point out, I assume you would have done so.

I do appreciate a nice short equation, like e^iπ + 1 = 0. But sometimes practical math will be necessarily more complicated. Compare the beautiful arctangent-based equation that can be used to compute π at https://en.wikipedia.org/wiki/Arctangent_series, vs. examples of series that actually converge rapidly at https://en.wikipedia.org/wiki/Ramanujan%E2%80%93Sato_series

You bring modular arithmetic into your math and the constants that result may very well look weird. That doesn’t by itself make them worse or better.

▲tptacek 19 hours ago | parent | prev | next [-]

Please don't comment about the voting on comments

https://news.ycombinator.com/newsguidelines.html

▲PeterHolzwarth 19 hours ago | parent | next [-]

They aren't commenting on the voting, just saying that while they clearly disagree, they are upvoting mpyne's comment nonetheless (presumably because they feel it is a good addition to the conversation). That's pretty classy for someone whose line of reasoning isn't faring so well in the discussion.

With all due respect to an HN user whose comments many of us follow (you), let's not pull out HN guidelines so quickly.

▲tptacek 19 hours ago | parent [-]

No, they're commenting to note in text that they observe people being downvoted, and the rule is categorical. It's not about "classiness" or not; it's about pointless metacommentary, which we're now locked into now.

Votes will settle out over time. There's never any reason to comment about them.

▲PeterHolzwarth 18 hours ago | parent [-]

I don't see how "I will expend an upvote upon you" equates to "they're commenting to note in text that they observe people being downvoted."

▲chasil 18 hours ago | parent | prev [-]

I will tell you that I believe cleanly in Kant's Categorical Imperative that we should leave people better than we found them.

To be more succinct, "never treat another as a means to an end, but always as an end in themselves."

But, upon your guidance, I do promise to be more oblique in these actions in the future.

▲chasil 18 hours ago | parent | prev [-]

All you proselytizers, I would like to count you as my friends, strange as that may be.

▲tptacek 19 hours ago | parent | prev [-]

You're not responding to the comment I just wrote. You're just restating your original comment. You made an argument, and cited a paper to back it up. Help me understand how you chose that paper for that argument.