Skip to Main content Skip to Navigation
New interface
Conference papers

Accelerating Iterative SpMV for Discrete Logarithm Problem Using GPUs

Hamza Jeljeli 1 
1 CARAMEL - Cryptology, Arithmetic: Hardware and Software
Inria Nancy - Grand Est, LORIA - ALGO - Department of Algorithms, Computation, Image and Geometry
Abstract : In the context of cryptanalysis, computing discrete logarithms in large cyclic groups using index-calculus-based methods, such as the number field sieve or the function field sieve, requires solving large sparse systems of linear equations modulo the group order. Most of the fast algorithms used to solve such systems --- e.g., the conjugate gradient or the Lanczos and Wiedemann algorithms --- iterate a product of the corresponding sparse matrix with a vector (SpMV). This central operation can be accelerated on GPUs using specific computing models and addressing patterns, which increase the arithmetic intensity while reducing irregular memory accesses. In this work, we investigate the implementation of SpMV kernels on NVIDIA GPUs, for several representations of the sparse matrix in memory. We explore the use of Residue Number System (RNS) arithmetic to accelerate modular operations. We target linear systems arising when attacking the discrete logarithm problem on groups of size 100 to 1000 bits, which includes the relevant range for current cryptanalytic computations. The proposed SpMV implementation contributed to solving the discrete logarithm problem in GF($2^{619}$) and GF($2^{809}$) using the FFS algorithm.
Document type :
Conference papers
Complete list of metadata

Cited literature [24 references]  Display  Hide  Download
Contributor : Hamza Jeljeli Connect in order to contact the contributor
Submitted on : Thursday, December 4, 2014 - 5:43:43 PM
Last modification on : Thursday, January 20, 2022 - 5:27:04 PM
Long-term archiving on: : Monday, March 9, 2015 - 6:00:24 AM


Files produced by the author(s)


  • HAL Id : hal-00734975, version 4
  • ARXIV : 1209.5520



Hamza Jeljeli. Accelerating Iterative SpMV for Discrete Logarithm Problem Using GPUs. International Workshop on the Arithmetic of Finite Fields WAIFI 2014, Sep 2014, Gebze, Turkey. ⟨hal-00734975v4⟩



Record views


Files downloads