News for hackers. Stuff that matters.
Re:We Don't Generate Elliptic Curves Every Day by nmadden on Tuesday October 24, 2023 @03:58PM (#38004569)
> cofactors might be less important when we lack complete additional formulae for a Weierstrass curves, which makes them hard to implement in constant time, but much more important once we do (as is the case now).

If I remember correctly, part of the reason for the cofactor in 25519 is because Montgomery curves have to have a cofactor and only those curves have the nice x-only Montgomery Ladder, which basically rules out invalid curve attacks (so long as the curve is twist-secure — not all the NIST curves are IIRC). Do the complete addition formulas for short Weierstrass curves also fix this? Invalid curve attacks are a major danger for NIST curves.

I know you can use compressed point representation to get the same benefit, but that seems very rare in NIST curve implementations (because old now-expired patents). The landscape of NIST prime-order curve implementations is not great. If all those libraries were going to actually switch to complete addition formulas and compressed public keys then I might feel better about them enjoying a renaissance.

Re:We Don't Generate Elliptic Curves Every Day by tptacek on Tuesday October 24, 2023 @04:38PM (#38005196)
I agree with you, and am reassured by cryptosystems that use 25519 and put on edge by those that use the P-curves (not because of backdoor conspiracy theories, which are silly, but because the P-curves are easy to mess up). But cryptography engineers increasingly disagree with me.
Re:We Don't Generate Elliptic Curves Every Day by tptacek on Wednesday October 25, 2023 @05:15PM (#38018497)
(oh, also: yes, that's my understanding too, that you're still stuck validating incoming curve points in ECDH, but I think the anti-cofactor people have a corresponding argument for signature schemes.)
Re:We Don't Generate Elliptic Curves Every Day by nmadden on Thursday October 26, 2023 @10:11AM (#38025834)
Yeah, and that’s totally reasonable. I’m one of those people that thinks signatures should be used for software updates and nothing else though.
Re:We Don't Generate Elliptic Curves Every Day by tptacek on Thursday October 26, 2023 @11:29AM (#38026878)
Yes, my brain sort of shuts off and buckets signature cryptography into cryptocurrency, which is where the cofactor issues crop up anyways.