Abstract:
Sampling from a discrete Gaussian distribution is an indispensable part of lattice-based cryptography. Several recent works have shown that the timing leakage from a non-...Show MoreMetadata
Abstract:
Sampling from a discrete Gaussian distribution is an indispensable part of lattice-based cryptography. Several recent works have shown that the timing leakage from a non-constant-time implementation of the discrete Gaussian sampling algorithm could be exploited to recover the secret. In this paper, we propose a constant-time implementation of the Knuth-Yao random walk algorithm for performing constant-time discrete Gaussian sampling. Since the random walk is dictated by a set of input random bits, we can express the generated sample as a function of the input random bits. Hence, our constant-time implementation expresses the unique mapping of the input random-bits to the output sample-bits as a Boolean expression of the random-bits. We use bit-slicing to generate multiple samples in batches and thus increase the throughput of our constant-time sampling manifold. Our experiments on an Intel i7-Broadwell processor show that our method can be as much as 2.4 times faster than the constant-time implementation of cumulative distribution table based sampling and consumes exponentially less memory than the Knuth-Yao algorithm with shuffling for a similar level of security.
Published in: IEEE Transactions on Computers ( Volume: 67, Issue: 11, 01 November 2018)
Funding Agency:
Keywords assist with retrieval of results and provide a means to discovering other relevant content. Learn more.
- IEEE Keywords
- Index Terms
- Gaussian Sampling ,
- Discrete Gaussian ,
- Normal Distribution ,
- Random Walk ,
- Batch Of Samples ,
- Security Level ,
- Discrete Distribution ,
- Discrete Samples ,
- Random Bits ,
- Boolean Expression ,
- Sampling Method ,
- Kolmogorov-Smirnov Test ,
- Random Number ,
- Sequence Search ,
- Probability Matrix ,
- Secret Key ,
- Output Samples ,
- Public Key ,
- Side-channel ,
- Binary Search ,
- Bitwise Operations ,
- Random String ,
- Support Of Distribution ,
- Signature Scheme ,
- Boolean Function ,
- Rejection Sampling ,
- Table Entries ,
- Datapath ,
- Secret Value
- Author Keywords
Keywords assist with retrieval of results and provide a means to discovering other relevant content. Learn more.
- IEEE Keywords
- Index Terms
- Gaussian Sampling ,
- Discrete Gaussian ,
- Normal Distribution ,
- Random Walk ,
- Batch Of Samples ,
- Security Level ,
- Discrete Distribution ,
- Discrete Samples ,
- Random Bits ,
- Boolean Expression ,
- Sampling Method ,
- Kolmogorov-Smirnov Test ,
- Random Number ,
- Sequence Search ,
- Probability Matrix ,
- Secret Key ,
- Output Samples ,
- Public Key ,
- Side-channel ,
- Binary Search ,
- Bitwise Operations ,
- Random String ,
- Support Of Distribution ,
- Signature Scheme ,
- Boolean Function ,
- Rejection Sampling ,
- Table Entries ,
- Datapath ,
- Secret Value
- Author Keywords