Use of SIMD-based data parallelism to speed up sieving in integer-factoring algorithms

被引:4
作者
Sengupta, Binanda [1 ,2 ]
Das, Abhijit [1 ]
机构
[1] Indian Inst Technol, Dept Comp Sci & Engn, Kharagpur 721302, W Bengal, India
[2] Indian Stat Inst, Appl Stat Unit, Kolkata 700108, W Bengal, India
关键词
Integer factorization; Multiple-polynomial quadratic sieve method; Number-field sieve method; Lattice sieve method; Single instruction multiple data; FACTORIZATION;
D O I
10.1016/j.amc.2016.08.019
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Many cryptographic protocols derive their security from the apparent computational intractability of the integer factorization problem. Currently, the best known integer-factoring algorithms run in subexponential time. Efficient parallel implementations of these algorithms constitute an important area of practical research. Most reported implementations use multi-core and/or distributed parallelization. In this paper, we use SIMD-based parallelization to speed up the sieving stage of integer-factoring algorithms. We experiment on the two fastest variants of factoring algorithms: the number-field sieve method and the multiple-polynomial quadratic sieve method. Using Intel's SSE2 and AVX intrinsics, we have been able to speed up index calculations in each core during sieving. This performance enhancement is attributed to a reduction in the packing and unpacking overheads associated with SIMD registers. We handle both line sieving and lattice sieving. We also propose improvements to make our implementations cache-friendly. We obtain speedup figures in the range 5-40%. To the best of our knowledge, no public discussions on SIMD parallelization in the context of integer-factoring algorithms are available in the literature. (C) 2016 Elsevier Inc. All rights reserved.
引用
收藏
页码:204 / 217
页数:14
相关论文
共 41 条
[1]   Function field sieve method for discrete logarithms over finite fields [J].
Adleman, LM ;
Huang, MDA .
INFORMATION AND COMPUTATION, 1999, 151 (1-2) :5-16
[2]  
[Anonymous], P WORKSH THEOR APPL
[3]  
[Anonymous], THESIS
[4]  
[Anonymous], 1891, GESELLSCHAFT WISSENS
[5]  
Asbrink O., 2000, TECHNICAL REPORT
[6]  
Atanassov E., 2012, 2012 35th International Convention on Information and Communication Technology, Electronics and Microelectronics, P328
[7]  
Bai S., 2012, 20123692012 CRYPT EP
[8]  
Bernstein D. J, 1993, The development of the number field sieve, P103
[9]  
Bernstein DJ, 2009, LECT NOTES COMPUT SC, V5479, P483, DOI 10.1007/978-3-642-01001-9_28
[10]   Efficient SIMD arithmetic modulo a Mersenne number [J].
Bos, Joppe W. ;
Kleinjung, Thorsten ;
Lenstra, Arjen K. ;
Montgomery, Peter L. .
2011 20TH IEEE SYMPOSIUM ON COMPUTER ARITHMETIC (ARITH-20), 2011, :213-221