Publication Details
Impact of Optimization and Parallelism on Factorization Speed of SIQS
Homoliak Ivan, doc. Ing., Ph.D. (DITS FIT BUT)
Jaroš Jiří, doc. Ing., Ph.D. (DCSY FIT BUT)
Hanáček Petr, doc. Dr. Ing. (DITS FIT BUT)
Factorization, SIQS, Parallelism, OpenMP, Profiling, RSA cryptanalysis
This paper examines optimization possibilities of Self-Initialization Quadratic Sieve (SIQS), which is enhanced version of Quadratic Sieve factorization method.SIQS is considered the second fastest factorization method at all and the fastest one for numbers shorter than 100 decimal digits, respectively.Although, SIQS is the fastest method up to 100 decimal digits, it cannot be effectively utilized to work in polynomial time.Therefore, it is desirable to look for options how to speed up the method as much as possible.Two feasible ways of achieving it are code optimization and parallelism.Both of them are utilized in this paper.The goal of this paper is to show how it is possible to take advantage of parallelism in SIQS as well as reach a large speed-up thanks to detailed source code analysis with optimization.Our implementation process consists of two phases.In the first phase, the complete algorithm is implemented in the simplest way which does not consider any requirements for execution speed.The solution from the first phase serves as the reference implementation for further experiments.An improvement of factorization speed is performed in the second phase of the SIQS implementation, where we use the method of iterative modifications in order to examine contribution of each proposed step.The final optimized version of the SIQS implementation has achieved over 200x speed-up.
@ARTICLE{FITPUB11267, author = "Dominik Breitenbacher and Ivan Homoliak and Ji\v{r}\'{i} Jaro\v{s} and Petr Han\'{a}\v{c}ek", title = "Impact of Optimization and Parallelism on Factorization Speed of SIQS", pages = "51--58", journal = "Journal on Systemics, Cybernetics and Informatics", volume = 14, number = 3, year = 2016, ISSN = "1690-4524", language = "english", url = "https://www.fit.vut.cz/research/publication/11267" }