Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It's sad that efficient complete formulas for Weierstrass curves were found only after Curve25519 was well established

This is not the only motivating factor for curve25519. There is also: that montgomery curves work well with the montgomery ladder, which is easy to use in constant time, and that any 32-byte string is a valid public key for ECDH.

> Now we are stuck with all these cofactor issues.

They are not a major problem for ECDH. If you are doing only ECDH and don't care about group structure, you can simply use the existing clamping mitigations.

The point of ristretto, and its precursor/similar project decaf, is to preserve group structure while using these curves, and also eliminating small subgroups.



> Montgomery curves work well with the montgomery ladder, which is easy to use in constant time, and that any 32-byte string is a valid public key for ECDH.

You can also have Montgomery ladder an a 32-byte encoding with Weierstrass curve, even though it would be slower.

> The point of ristretto, and its precursor/similar project decaf, is to preserve group structure while using these curves, and also eliminating small subgroups.

Exactly. Because we are stuck with all these cofactor issues. Not to mention how clamping also "contaminated" EdDSA.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: