eprint.iacr.org will be offline for approximately an hour for routine maintenance at 11pm UTC on Tuesday, April 16. We lost some data between April 12 and April 14, and some authors have been notified that they need to resubmit their papers.

Paper 2019/320

Integral Matrix Gram Root and Lattice Gaussian Sampling without Floats

Léo Ducas, Steven Galbraith, Thomas Prest, and Yang Yu

Abstract

Many advanced lattice based cryptosystems require to sample lattice points from Gaussian distributions. One challenge for this task is that all current algorithms resort to floating-point arithmetic (FPA) at some point, which has numerous drawbacks in practice: it requires numerical stability analysis, extra storage for high-precision, lazy/backtracking techniques for efficiency, and may suffer from weak determinism which can completely break certain schemes. In this paper, we give techniques to implement Gaussian sampling over general lattices without using FPA. To this end, we revisit the approach of Peikert, using perturbation sampling. Peikert's approach uses continuous Gaussian sampling and some decomposition $\mathbf{\Sigma} = \mathbf{A} \mathbf{A}^t$ of the target covariance matrix $\mathbf{\Sigma}$. The suggested decomposition, e.g. the Cholesky decomposition, gives rise to a square matrix $\mathbf{A}$ with real (not integer) entries. Our idea, in a nutshell, is to replace this decomposition by an integral one. While there is in general no integer solution if we restrict $\mathbf{A}$ to being a square matrix, we show that such a decomposition can be efficiently found by allowing $\mathbf{A}$ to be wider (say $n \times 9n$). This can be viewed as an extension of Lagrange's four-square theorem to matrices. In addition, we adapt our integral decomposition algorithm to the ring setting: for power-of-2 cyclotomics, we can exploit the tower of rings structure for improved complexity and compactness.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
A minor revision of an IACR publication in EUROCRYPT 2020
Keywords
Lattice based cryptographyDiscrete Gaussian samplingMatrix decomposition
Contact author(s)
ducas @ cwi nl
s galbraith @ auckland ac nz
thomas prest @ pqshield com
yang yu0986 @ gmail com
History
2020-05-30: last of 6 revisions
2019-03-29: received
See all versions
Short URL
https://ia.cr/2019/320
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2019/320,
      author = {Léo Ducas and Steven Galbraith and Thomas Prest and Yang Yu},
      title = {Integral Matrix Gram Root and Lattice Gaussian Sampling without Floats},
      howpublished = {Cryptology ePrint Archive, Paper 2019/320},
      year = {2019},
      note = {\url{https://eprint.iacr.org/2019/320}},
      url = {https://eprint.iacr.org/2019/320}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.