Remix.run Logo
▲ chasil an hour ago

DJB's published opinion of P-384 is that it us 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."

▲some_furry 21 minutes ago | parent [-]

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 20 minutes ago | parent | next [-]

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

▲some_furry 19 minutes 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.

▲chasil 18 minutes 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
▲some_furry 16 minutes ago | parent [-]

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 10 minutes 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 9 minutes 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.