Long integer NTT execution on UPMEM-PIM for 128-bit secure fully homomorphic encryption
Fully Homomorphic Encryption (FHE) enables secure computations on encrypted data, hence becoming an appealing technology for privacy-preserving data processing. A core kernel in many cryptographic and FHE workloads is the Number Theoretic Transform (NTT). While NTT involves frequent non-contiguous data accesses, limiting overall performance, processing–in–memory (PIM) has the potential to address this limitation. PIM, performing computations close to the data, reduces the need for extensive data transfers between memory and compute units. However, the performance of current PIM solutions is limited by inherent factors related to the integration of processing capabilities within memory modules. In this article we analyze the performance trade-offs of NTT kernel designs along with optimized modular multiplication algorithms on PIM systems based on UPMEM hardware. Our results include significant performance improvements of up to 2.9 × over state–of–the–art approaches on UPMEM-PIM, while preserving, for the first time in the literature, 128-bit security at high precision.
Authors
- Zaira Pindado (ORCID: https://orcid.org/0000-0002-4442-7191)
- Mayank Kabra (ORCID: https://orcid.org/0009-0000-2304-3124)
- Tathagata Barik
- Onur Mutlu
- Mohammad Sadrosadati
- Antonio J. Peña
- Priyam Mehta
- Harshita Gupta
Institutions
- Barcelona Supercomputing Center (ES)
- ETH Zurich (CH)
- Universitat Politècnica de Catalunya (ES)
Publication Details
- Journal
- Future Generation Computer Systems
- Published
- 2026-01-20
- DOI
- https://doi.org/10.1016/j.future.2026.108386
- Citations
- 1
- Primary Topic
- Cryptography and Data Security
- Type
- article
- Field-Weighted Citation Impact
- 52.10