* ECCp-79 challenge cracked
@ 1997-12-06 5:00 Robert Harley
1997-12-07 5:00 ` Greg Lindahl
1997-12-08 5:00 ` Matt Ettus
0 siblings, 2 replies; 5+ messages in thread
From: Robert Harley @ 1997-12-06 5:00 UTC (permalink / raw)
On sci.crypt Volker Mueller <vmueller@cdc.informatik.tu-darmstadt.de> wrote:
>[...] Maybe the problem is not so easy. The biggest DL computation for an
>elliptic curve was a 19 digit prime order computation (up to my
>knowledge). The first Certicom "exercise" has 79 bits or 24 decimal
>digits.
>
>Cheers, Volker
You're right, the so-called "exercise" was not so easy!
However a few Alphas and some optimised code got through it
eventually. I just posted the following to Certicom...
-- Rob.
PS: Any volunteers willing to dedicate Alpha CPU time for cracking the
next challenge? With a bunch of machines it would be a piece of cake!
------------------------------------------------------------------------------
This message is copyright Robert J. Harley, 1997.
If you wish to quote more than one sentence, please quote the whole thing.
To: certicom-ecc-challenge@certicom.com
Robert J. Harley,
Se`vres, France,
6th of December, 1997.
Dear Anonymous,
Certicom's professed aim in setting its ECC challenge is to encourage
research into secure cryptosystems based on elliptic curve discrete
logarithms. Yet Certicom is a member of the Key Recovery Alliance, a
lobby group whose purpose is to promote the use of back-doors allowing
supposedly secure communications to be intercepted. How are these
contradictory positions reconciled?
The solution to your ECCp-79 problem is the residue class of
92221507219705345685350 modulo 466597814831947642887217. It was found
by Wayne Baisley and myself using several Digital Alpha workstations
running Linux and Digital Unix at the Institut National de Recherche
en Informatique et Automatique (INRIA), at Fermi National Accelerator
Laboratory and at the California Institute of Technology
C.S. Department.
The method used was a "birthday paradox" algorithm iterating from a
random initial point (one per machine) with a random function (the
same on all machines) until a collision was detected at 17:58 today at
INRIA, Rocquencourt, France by a 500MHz Linux machine. This machine
did 25 billion elliptic curve operations per day. The peak rate of
all machines was approximately 6 six times as much. A total of about
1400 billion iterations were performed.
If this is the first correct submission, please send the prize (a copy
of "Handbook of Applied Cryptography" and Maple software) to the
following address:
Robert Harley,
c/o Sylvie Loubressac,
Projet CRISTAL,
INRIA,
Domaine de Voluceau - Rocquencourt,
78153 Le Chesnay,
France.
Thank you,
Rob.
.-. Robert.Harley@inria.fr .-.
/ \ .-. .-. / \
/ \ / \ .-. _ .-. / \ / \
/ \ / \ / \ / \ / \ / \ / \
/ \ / \ / `-' `-' \ / \ / \
\ / `-' `-' \ /
`-' Linux + 500MHz Alpha + 256MB SDRAM = heaven `-'
------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ECCp-79 challenge cracked
1997-12-06 5:00 Robert Harley
@ 1997-12-07 5:00 ` Greg Lindahl
1997-12-08 5:00 ` Jason Shiffer
1997-12-08 5:00 ` Matt Ettus
1 sibling, 1 reply; 5+ messages in thread
From: Greg Lindahl @ 1997-12-07 5:00 UTC (permalink / raw)
harley@pauillac.inria.fr (Robert Harley) writes:
> PS: Any volunteers willing to dedicate Alpha CPU time for cracking the
> next challenge? With a bunch of machines it would be a piece of cake!
I have 65 new alphas arriving in a month. I am currently working
on the rc5 64-bit challenge, but I'd rather do something that
alphas are better at.
-- greg
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ECCp-79 challenge cracked
@ 1997-12-08 5:00 Robert Harley
0 siblings, 0 replies; 5+ messages in thread
From: Robert Harley @ 1997-12-08 5:00 UTC (permalink / raw)
Matt Ettus <mne@andrew.cmu.edu> writes:
>Could you elaborate on the birthday paradox, and how it is used?
OK.
The aim is to find a discrete logarithm in a finite group. In other
words, we're given two elements A and B of the group, we know that
there is some integer x such that A^x = B and we want to find the
value of x. The size of the group is some prime integer, p.
One way to go about it is to pick random integers u and v and compute
C = A^u * B^v. Doing this N times gives N random elements C_1, ...,
C_N. As in the "birthday paradox" the number of pairs of elements
grows as N^2, so once N is roughly as big as the square root of p
there is a good chance for there to be two distinct indices i and j
such that:
C_i = C_j
so that:
A^{u_i} * B^{v_i} = A^{u_j} * B^{v_j}
so:
A^{u_i-u_j} = B^{v_j-v_i}
so:
x = (u_i-u_j)/(v_j-v_i)
where the division is done modulo p (assuming that v_i and v_j are
different modulo p, which will almost always be the case).
To avoid storing a large number of elements, we can use a random
function and do something analogous to Pollard's "rho" algorithm.
Let f be a random function that gives u_{i+1} and v_{i+1} (and hence
C_{i+1}) as a function of C_i. We use M computers and on each one,
chose random u and v initially and then iterate f a large number of
times. When any machine passes iteration i with i a multiple of r =
round(sqrt(p)/100), it distributes u_i, v_i and C_i to all the
machines. Each machine keeps all the C's it has received in a sorted
table. After every iteration it compares its C_i with those in the
table using binary search.
We expect that after O(sqrt(p)) total iterations, two identical C's
will have been found with different v's and after a further O(r)
iterations the match will be detected by a binary search and then we
can output x using the u'x and v's corresponding to the matching C's.
In the case just finished, the group is that of points on an elliptic
curve with coordinates in a finite field. The size of p of the group
is about 4.66*10^23. The code did about 300000 operations in the
group per second on a 500 Mhz Alpha and it took 1400*10^9 of them.
The entire run would have taken something like 7 weeks on one machine,
which is why it was advantageous to run it in parallel on 4 gigahertz
worth of Alphas!
>and congratulations on cracking the challenge
Merci!
-- Rob.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ECCp-79 challenge cracked
1997-12-07 5:00 ` Greg Lindahl
@ 1997-12-08 5:00 ` Jason Shiffer
0 siblings, 0 replies; 5+ messages in thread
From: Jason Shiffer @ 1997-12-08 5:00 UTC (permalink / raw)
On 7 Dec 1997, Greg Lindahl wrote:
:harley@pauillac.inria.fr (Robert Harley) writes:
:
:> PS: Any volunteers willing to dedicate Alpha CPU time for cracking the
:> next challenge? With a bunch of machines it would be a piece of cake!
:
Count me in.
PC164 433Mhz 64Meg.
Jason
==========================================================================
The woods are lovely dark and deep, but I have promises to keep.
And code to write before I sleep, and code to write before I sleep.
--------------------------------------------------------------------------
$EMAIL = "jhereg!bigfoot.com"; $EMAIL =~ tr/!/\@/;
If you do not know what the previous line means then it probably does not
matter.
==========================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ECCp-79 challenge cracked
1997-12-06 5:00 Robert Harley
1997-12-07 5:00 ` Greg Lindahl
@ 1997-12-08 5:00 ` Matt Ettus
1 sibling, 0 replies; 5+ messages in thread
From: Matt Ettus @ 1997-12-08 5:00 UTC (permalink / raw)
> The method used was a "birthday paradox" algorithm iterating from a
> random initial point (one per machine) with a random function (the
> same on all machines) until a collision was detected at 17:58 today at
>
Could you elaborate on the birthday paradox, and how it is used?
Thanks
and congratulations on cracking the challenge
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-12-08 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-08 5:00 ECCp-79 challenge cracked Robert Harley
-- strict thread matches above, loose matches on Subject: below --
1997-12-06 5:00 Robert Harley
1997-12-07 5:00 ` Greg Lindahl
1997-12-08 5:00 ` Jason Shiffer
1997-12-08 5:00 ` Matt Ettus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox