Re: The curve NIST forgot
- From: "Michael Scott" <mscott@xxxxxxxxx>
- Date: Tue, 13 Mar 2007 19:12:41 -0000
"Mark Wooding" <mdw@xxxxxxxxxxxxxxxx> wrote in message news:slrnevcub0.7lh.mdw@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Michael Scott <mscott@xxxxxxxxx> wrote:
Might I therefore suggest the prime p=2^160-2^112+2^64+1, and the curve
y^2=x^3-3x+157, which has prime order (so does its twist).
The curve looks fine to me.
For reference, the curve has
n = 1461501637330897725906824301401491257823677986243
points; n is indeed prime. The twist has
n' = 1461501637330897725906828294412711208642947762753
= 11 * 131 * 1014227368029769414230970363922769749231747233
which (as you corrected) isn't prime, but does at least have a large
subgroup.
The curve's embedding degree is
k = 730750818665448862953412150700745628911838993121
which doesn't seem especially pairing-friendly ;-).
Finally, the point
P = (1379503692774293168437708444156773627598629810694,
902946743485719274016882346771599421261933499314)
is on the curve, and (obviously) has order n.
(Computations performed by Sage, largely using PARI underneath; point
counting using Schoof-Elkies-Atkin implemented by Doche and Duquesne.)
Do you mind if I add this curve to the collection in my crypto library
(probably as `scott-p160')?
Yes of course you can add it.
One problem with a modulus like this is that calculating modular square roots is "annoying" to use Dan Bernstein's description http://citeseer.ist.psu.edu/462632.html, as p-1 has 2^64 as a factor. This is an important issue if using point compression. However I found a nice algorithm for modular square roots by Siguna Mueller (Designs, Codes and Crypto 2004) http://www.springerlink.com/content/jr028wl3m6036741/, which seems to be very efficient in these cases. It requires Jacobi symbol calculations and the calculation of a Lucas sequence V_{(p-1)/4}(P,1), but this is pretty standard stuff.
Mike
-- [mdw]
.
- References:
- The curve NIST forgot
- From: Michael Scott
- Re: The curve NIST forgot
- From: Mark Wooding
- The curve NIST forgot
- Prev by Date: Re: Brute forcing a key
- Next by Date: Re: Brute forcing a key
- Previous by thread: Re: The curve NIST forgot
- Next by thread: Re: The curve NIST forgot
- Index(es):
Relevant Pages
|