Paper 2025/774
Towards a Modern LLL Implementation
Abstract
We propose BLASter, a proof of concept LLL implementation that demonstrates the practicality of multiple theoretical improvements. The implementation uses the segmentation strategy from Neumaier–Stehlé (ISSAC 2016), parallelism and Seysen's reduction that was proposed by Kirchner–Espitau–Fouque (CRYPTO 2021) and implemented in OptLLL, and the BLAS library for linear algebra operations. It consists of only 1000 significant lines of C++ and Python code, and is made publicly available.
For q-ary lattices that fplll can handle without multiprecision (dimension <180), BLASter is considerably faster than fplll, OptLLL and Ryan–Heninger's flatter (CRYPTO 2023), without degrading output reduction quality. Thanks to Seysen's reduction it can further handle larger dimension without resorting to multiprecision, making it more than 10x faster than flatter and OptLLL, and 100x faster than fplll in dimensions 256 to 1024.
It further includes segmented BKZ and segmented deep-LLL variants. The latter provides bases as good as BKZ-15 and has a runtime that is only a couple of times more than our LLL baseline.
This remains a proof of concept: the effective use of higher precision — which is needed to handle
Metadata
- Available format(s)
-
PDF
- Category
- Attacks and cryptanalysis
- Publication info
- Preprint.
- Keywords
- Lattice reductionLLLSegmentationParallelismConcrete performanceDivide and Conquer
- Contact author(s)
-
ducas @ cwi nl
lnp @ cwi nl
marc stevens @ cwi nl - History
- 2025-04-30: approved
- 2025-04-30: received
- See all versions
- Short URL
- https://ia.cr/2025/774
- License
-
CC0
BibTeX
@misc{cryptoeprint:2025/774, author = {Léo Ducas and Ludo N. Pulles and Marc Stevens}, title = {Towards a Modern {LLL} Implementation}, howpublished = {Cryptology {ePrint} Archive, Paper 2025/774}, year = {2025}, url = {https://eprint.iacr.org/2025/774} }