NFLlib: NTT-based Fast Lattice Library - Archive ouverte HAL Access content directly
Conference Papers Year : 2016

NFLlib: NTT-based Fast Lattice Library


Recent years have witnessed an increased interest in lattice cryptography. Besides its strong security guarantees, its simplicity and versatility make this powerful theoretical tool a promising competitive alternative to classical cryptographic schemes. In this paper, we introduce NFLlib, an efficient and open-source C++ library dedicated to ideal lattice cryptography in the widely-spread polynomial ring Zp[x]/(x n + 1) for n a power of 2. The library combines al-gorithmic optimizations (Chinese Remainder Theorem, optimized Number Theoretic Transform) together with programming optimization techniques (SSE and AVX2 specializations, C++ expression templates, etc.), and will be fully available under the GPL license. The library compares very favorably to other libraries used in ideal lattice cryptography implementations (namely the generic number theory libraries NTL and flint implementing polynomial arithmetic, and the optimized library for lattice homomorphic encryption HElib): restricting the library to the aforementioned polynomial ring allows to gain several orders of magnitude in efficiency.
Fichier principal
Vignette du fichier
main.pdf (384.54 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01242273 , version 1 (11-12-2015)



Carlos Aguilar Melchor, Joris Barrier, Serge Guelton, Adrien Guinet, Marc-Olivier Killijian, et al.. NFLlib: NTT-based Fast Lattice Library. Cryptographers' Track at the RSA Conference 2016, Feb 2016, San Francisco, United States. pp.341-356, ⟨10.1007/978-3-319-29485-8_20⟩. ⟨hal-01242273⟩
1149 View
4503 Download



Gmail Facebook X LinkedIn More