Filtering and the matrix step in NFS
Thorsten Kleinjung
Laboratory for Cryptologic Algorithms EPFL, Station 14, CH-1015 Lausanne, Switzerland
1 / 17
Filtering and the matrix step in NFS Thorsten Kleinjung Laboratory - - PowerPoint PPT Presentation
Filtering and the matrix step in NFS Thorsten Kleinjung Laboratory for Cryptologic Algorithms EPFL, Station 14, CH-1015 Lausanne, Switzerland 1 / 17 Contents Overview NFS The matrix step Filtering A modified filtering approach 2 / 17
1 / 17
2 / 17
1 Find two polynomials fi ∈ Z[x], i = 1, 2, with a common zero m
2 Choose L and find sufficiently many pairs a, b ∈ Z such that F1(a, b)
3 Find a subset of these congruences such that the products of both
4 Compute square roots and obtain a congruence of type
3 / 17
1 Polynomial selection parallel, quality determines run time of
2 Sieving parallel, time consuming 3 Filtering easy, but a lot of data movement,
4 Matrix step some parallelisation possible,
5 Square root parallel, negligible amount of time and memory 4 / 17
5 / 17
6 / 17
6 / 17
6 / 17
7 / 17
7 / 17
7 / 17
8 / 17
9 / 17
10 / 17
11 / 17
100000 200000 300000 400000 500000 600000 700000 800000 100 200 300 400 500 600 1000 2000 3000 4000 5000 matrix dimension d (red) time (blue) average weight w/d
12 / 17
13 / 17
14 / 17
15 / 17
16 / 17
17 / 17