GPU Acceleration of Learning With Errors KEMs Using OpenACC for Post-Quantum Cryptography

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Liberati, Tiziana, Shukla, Nitin, Barbieri, Matteo, Bettonte, Gabriella, Boella, Elisabetta, Rizzo, Simone, Gregori, Daniele, Pedicini, Marco
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910278494453760
author Liberati, Tiziana
Shukla, Nitin
Barbieri, Matteo
Bettonte, Gabriella
Boella, Elisabetta
Rizzo, Simone
Gregori, Daniele
Pedicini, Marco
author_facet Liberati, Tiziana
Shukla, Nitin
Barbieri, Matteo
Bettonte, Gabriella
Boella, Elisabetta
Rizzo, Simone
Gregori, Daniele
Pedicini, Marco
contents Shor's algorithm proved that asymmetric cryptographic protocols based on the integer factorization and discrete logarithm problems are no longer safe in a world with large-scale quantum computers. As a result, Post-Quantum Cryptography (PQC) has been developed over the last few years, seeking cryptographic primitives resistant to quantum attacks. One of the main hard problems underlying PQC schemes is the Learning with Errors (LWE) problem, which is significantly more computationally intensive than its classical predecessors. In this work, we present a Key Encapsulation Mechanism (KEM) based on plain LWE and develop a GPU-oriented implementation using OpenACC. We evaluate the performance of our accelerated application in terms of both time-to-solution and energy-to-solution, considering bare-metal and containerized executions across multiple NVIDIA GPU models and generations. Our implementation achieves significant acceleration across all tested GPU platforms. In particular, on the NVIDIA Grace Hopper Superchip, it attains up to a $208\times$ speedup over a multithreaded CPU baseline and enables the execution of problem sizes that are impractical on CPU architectures due to memory and synchronization constraints. Energy consumption analysis also shows $\approx 2\times$ better efficiency when using the Superchip compared to systems equipped with x86-based CPUs and NVIDIA H100 GPUs. These results highlight the effectiveness of GPU acceleration for computationally demanding LWE-based cryptographic workloads.
format Preprint
id arxiv_https___arxiv_org_abs_2606_01211
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle GPU Acceleration of Learning With Errors KEMs Using OpenACC for Post-Quantum Cryptography
Liberati, Tiziana
Shukla, Nitin
Barbieri, Matteo
Bettonte, Gabriella
Boella, Elisabetta
Rizzo, Simone
Gregori, Daniele
Pedicini, Marco
Cryptography and Security
Distributed, Parallel, and Cluster Computing
Shor's algorithm proved that asymmetric cryptographic protocols based on the integer factorization and discrete logarithm problems are no longer safe in a world with large-scale quantum computers. As a result, Post-Quantum Cryptography (PQC) has been developed over the last few years, seeking cryptographic primitives resistant to quantum attacks. One of the main hard problems underlying PQC schemes is the Learning with Errors (LWE) problem, which is significantly more computationally intensive than its classical predecessors. In this work, we present a Key Encapsulation Mechanism (KEM) based on plain LWE and develop a GPU-oriented implementation using OpenACC. We evaluate the performance of our accelerated application in terms of both time-to-solution and energy-to-solution, considering bare-metal and containerized executions across multiple NVIDIA GPU models and generations. Our implementation achieves significant acceleration across all tested GPU platforms. In particular, on the NVIDIA Grace Hopper Superchip, it attains up to a $208\times$ speedup over a multithreaded CPU baseline and enables the execution of problem sizes that are impractical on CPU architectures due to memory and synchronization constraints. Energy consumption analysis also shows $\approx 2\times$ better efficiency when using the Superchip compared to systems equipped with x86-based CPUs and NVIDIA H100 GPUs. These results highlight the effectiveness of GPU acceleration for computationally demanding LWE-based cryptographic workloads.
title GPU Acceleration of Learning With Errors KEMs Using OpenACC for Post-Quantum Cryptography
topic Cryptography and Security
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2606.01211