[curves] Curve25519 and magic numbers
Ron Garret
ron at flownet.com
Fri Apr 1 14:24:32 PDT 2016
Thanks!
I also realized after chasing down those leads that this question is answered in the curve25519 paper itself, but it’s at the very end so I missed it. Sorry about that.
As long as I’m asking stupid questions, is there a good ECC primer out there somewhere? The materials available on the web seem to leave out an awful lot of background. What are the relationships between Weirstrass, Edwards and Montgomery curves? Are those the only kinds of elliptic curves, or are there others? If there are others, why focus on those three? What is so special about 4a^3+27b^2? What’s a twist and why does it matter? Why are Montgomery curves good for DH while Edwards curves are good for DSA? Why not use one curve form for both? How do you determine the order of a curve group?
Feel free to treat those as rhetorical questions. I mention them only to illustrate the kinds of information I’m looking for and having a hard time finding.
Thanks,
rg
On Apr 1, 2016, at 12:41 PM, Tanja Lange <tanja at hyperelliptic.org> wrote:
> Dear Ron,
>> One of the motivations for using curve25519 is supposedly its transparency in terms of not having any weird parameters of unknown provenance that could conceal weaknesses. But there is one weird number in the curve25519 spec, the coefficient of x^2, which is 486662. That number seems to have been pulled out of a hat. The only condition on it is that A^2-4 is not a square in 2^255-19. But 486662 is far from the smallest number that meets that conditions. That would be (AFAICT) 5. So why 486662?
>>
> You also need tht the curve is cryptographically secure.
>
> Please check out
> http://safecurves.cr.yp.to/rigid.html
>
> All the best
> Tanja
More information about the Curves
mailing list