10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.6 Elliptic curve primality proving (ECPP) 371<br />

where now all the factors fall under our 2 32 threshold. For randomly chosen<br />

starting point<br />

P =[X : Z] = [245203089935 : 1]<br />

we obtain, with q = 805019,<br />

U =[m/q]P = [260419245130 : 1] = O,<br />

V =[q]P = O.<br />

It follows that the original p =1020 + 39 is prime. The relevant numbers are<br />

then collected as a primality certificate for this prime. It should be noted that<br />

for larger examples one should not expect to be lucky enough to get a good<br />

factorization of m on every attempt, though conjecturally the event should<br />

not be so very rare.<br />

The study of the computational complexity of Algorithm 7.6.2 is<br />

interesting. Success hinges on the likelihood of finding a curve order that<br />

factors as in Step [Attempt to factor]. Note that one is happy even if one finds<br />

an order m =2q where q is a prime. Thus, it can be shown via Theorem 7.3.2<br />

that if<br />

π x +1+2 √ x − π x +1− 2 √ x √<br />

x<br />

>A<br />

ln c x<br />

for positive constants A, c, then the expected bit complexity of the algorithm<br />

is O ln 9+c n ; see [Goldwasser and Kilian 1986]. It is conjectured that the<br />

inequality holds with A = c = 1 and all sufficiently large values of x.<br />

In addition, using results in analytic number theory that say that such<br />

inequalities are usually true, it is possible to show that the Goldwasser–Kilian<br />

test (Algorithm 7.6.2) usually works, and does so in polynomial time. To<br />

remove this lacuna, one might note that sufficient information is known about<br />

primes in an interval of length x3/4 near x. Using this, [Adleman and Huang<br />

1992] were able to achieve a guaranteed expected polynomial time bound. In<br />

their scheme, a certificate chain is likewise generated, yet, remarkably, the<br />

initial primes in the chain actually increase in size, eventually to decay to<br />

acceptable levels. The decay is done via the Goldwasser–Kilian test as above,<br />

and the increase is designed so as to “gain randomness.” The initial candidate<br />

n might be one for which the Goldwasser–Kilian test does not work (this<br />

would be evidenced by never having luck in factoring curve orders or just<br />

taking too long to factor), so the initial steps of “reducing” the primality of n<br />

to that of larger numbers is a way of replacing the given number n with a new<br />

number that is random enough so that the Goldwasser–Kilian test is expected<br />

to work for it. This “going up” is done via Jacobian varieties of hyperelliptic<br />

curves of genus 2.<br />

7.6.2 Atkin–Morain primality test<br />

The Goldwasser–Kilian Algorithm 7.6.2 is, in practice for large n under<br />

scrutiny, noticeably sluggish due to the point-counting step to assess #E.<br />

Atkin found an elegant solution to this impasse, and together with Morain

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!