Paper 2025/1342
Simultaneous Diophantine Approximation for Compact Discrete Gaussian Sampling
Abstract
Discrete Gaussian Sampling (DGS) over the integers—also known as integer Gaussian sampling— is used to generate integer values that statistically follow the discrete Gaussian distribution and plays a central role in lattice-based cryptography. Among existing approaches for integer DGS, the cumulative distribution table (CDT) method is widely adopted. However, CDT sampling typically incurs substantial storage costs due to the need to store high-precision fixed-point probability tables, where a precision of $k$ bits is required to achieve a statistical distance of $2^{-k}$ from the ideal distribution. In this work, we propose a more compact representation of CDT based on Simultaneous Diophantine Approximation (SDA). Instead of storing fixed-point values, our method expresses the probabilities in the CDT as a sequence of rational numbers with a common denominator. With parameter selection guided by SDA, this compact fractional representation enables reducing data width while maintaining the same level of statistical accuracy. Our SDA-CDT construction offers clear advantages in both computation speed and storage compared to classical CDT implementations. For example, in Frodo-1344, our sampler achieves a 19.97% increase in speed (from 12.10 million to 14.51 million samples per second) and a 3.85% reduction in memory usage (from 104 bits to 100 bits). Similarly, in Frodo-976, we observe a 10.88% speedup and a 21.60% decrease in memory cost. In addition, our design eliminates floating-point arithmetic and supports a fully constant-time online sampling procedure, which ensures resistance to timing side-channel attacks without compromising performance.
Metadata
- Available format(s)
-
PDF
- Category
- Implementation
- Publication info
- Preprint.
- Keywords
- Discrete Gaussian SamplingDiophantine ApproximationLattice-Based Cryptography
- Contact author(s)
-
Make2024 @ stu2024 jnu edu cn
jiabo wang @ ntu edu sg
lsx07 @ jnu edu cn
pwdlaijunzuo @ 163 com
zlangi @ server math u-szeged hu - History
- 2025-07-23: approved
- 2025-07-23: received
- See all versions
- Short URL
- https://ia.cr/2025/1342
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2025/1342,
author = {Ke Ma and Jiabo Wang and Shanxiang Lyu and Junzuo Lai and Zsolt Lángi},
title = {Simultaneous Diophantine Approximation for Compact Discrete Gaussian Sampling},
howpublished = {Cryptology {ePrint} Archive, Paper 2025/1342},
year = {2025},
url = {https://eprint.iacr.org/2025/1342}
}