Author
Listed:
- Shaohao Xie
(School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou 510006, China
Guangdong Key Laboratory of Information Security Technology, Guangzhou 510006, China)
- Shaohua Zhuang
(School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou 510006, China
Guangdong Key Laboratory of Information Security Technology, Guangzhou 510006, China)
- Yusong Du
(School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou 510006, China
Guangdong Key Laboratory of Information Security Technology, Guangzhou 510006, China
Current address: Guangzhou Higher Education Mega Center, No. 132 Waihuandong Road, Guangzhou 510006, China.)
Abstract
Discrete Gaussian sampling is one of the fundamental mathematical tools for lattice-based cryptography. In this paper, we revisit the Bernoulli(-type) sampling for centered discrete Gaussian distributions over the integers, which was proposed by Ducas et al. in 2013. Combining the idea of Karney’s algorithm for sampling from the Bernoulli distribution B e − 1 / 2 , we present an improved Bernoulli sampling algorithm. It does not require the use of floating-point arithmetic to generate a precomputed table, as the original Bernoulli sampling algorithm did. It only needs a fixed look-up table of very small size (e.g., 128 bits) that stores the binary expansion of ln 2 . We also propose a noncentered version of Bernoulli sampling algorithm for discrete Gaussian distributions with varying centers over the integers. It requires no floating-point arithmetic and can support centers of precision up to 52 bits. The experimental results show that our proposed algorithms have a significant improvement in the sampling efficiency as compared to other rejection algorithms.
Suggested Citation
Shaohao Xie & Shaohua Zhuang & Yusong Du, 2021.
"Improved Bernoulli Sampling for Discrete Gaussian Distributions over the Integers,"
Mathematics, MDPI, vol. 9(4), pages 1-13, February.
Handle:
RePEc:gam:jmathe:v:9:y:2021:i:4:p:378-:d:499059
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:9:y:2021:i:4:p:378-:d:499059. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.