Intel HEXL: Accelerating Homomorphic Encryption with Intel AVX512-IFMA52

Fabian Boemer, Sejun Kim, Gelila Seifu, Fillipe D. M. de Souza, Vinodh Gopal
3/30/2021
cs.CR

Official code: IntelLabs/hexl (270 stars, C++, Apache-2.0, last commit 2026-06-04).

Abstract

Modern implementations of homomorphic encryption (HE) rely heavily on polynomial arithmetic over a finite field. This is particularly true of the CKKS, BFV, and BGV HE schemes.

Show full abstract

Two of the biggest performance bottlenecks in HE primitives and applications are polynomial modular multiplication and the forward and inverse number-theoretic transform (NTT). Here, we introduce Intel Homomorphic Encryption Acceleration Library (Intel HEXL), a C++ library which provides optimized implementations of polynomial arithmetic for Intel processors. Intel HEXL takes advantage of the recent Intel Advanced Vector Extensions 512 (Intel AVX512) instruction set to provide state-of-the-art implementations of the NTT and modular multiplication. On the forward and inverse NTT, Intel HEXL provides up to 7.2x and 6.7x speedup, respectively, over a native C++ implementation. Intel HEXL also provides up to 6.0x speedup on the element-wise vector-vector modular multiplication, and 1.7x speedup on the element-wise vector-scalar modular multiplication. Intel HEXL is available open-source at https://github.com/intel/hexl under the Apache 2.0 license and has been adopted by the Microsoft SEAL and PALISADE homomorphic encryption libraries.

View on arXivView PDF

Code Implementations(1)

IntelLabs/hexlOfficial100%
Apache-2.0

Intel Homomorphic Encryption Acceleration Library accelerates modular arithmetic operations used in homomorphic encryption by leveraging AVX512 and IFM52 available on Intel's 3rd Generation Xeon Scalable Processors and later

27058C++, CMakeMar 26, 20216 months agoApache-2.0
avx-512cryptographyhomomorphic-encryptionprivacy

Similar Papers

Cite this paper

@article{boemer2021intel,
  title  = {Intel HEXL: Accelerating Homomorphic Encryption with Intel AVX512-IFMA52},
  author = {Fabian Boemer and Sejun Kim and Gelila Seifu and Fillipe D. M. de Souza and Vinodh Gopal},
  year   = {2021},
  eprint = {2103.16400},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.16400}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.16400.svg)](https://codeofpaper.com/paper/2103.16400)

Discussion