Download PDF

SAC 2013, Date: 2013/08/14 - 2013/08/16, Location: Simon Fraser Univ, Burnaby, CANADA

Publication date: 2013-01-01
Volume: 8282 Pages: 383 - 401
ISBN: 978-3-662-43413-0 ISSN: 0302-9743
Publisher: Springer

Lecture Notes in Computer Science

Author:

Sinha Roy, Sujoy
Vercauteren, Fréderik ; Verbauwhede, Ingrid ; Lange, T ; Lauter, K ; Lisonek, P

Keywords:

cosic, Science & Technology, Technology, Computer Science, Theory & Methods, Computer Science, Lattice-based cryptography, Discrete gaussian sampler, Hardware implementation, Knuth-Yao algorithm, Discrete distribution generating (DDG) tree, GENERATION

Abstract:

Lattice-based public key cryptography often requires sampling from discrete Gaussian distributions. In this paper we present an efficient hardware implementation of a discrete Gaussian sampler with high precision and large tail-bound based on the Knuth-Yao algorithm. The Knuth-Yao algorithm is chosen since it requires a minimal number of random bits and is well suited for high precision sampling. We propose a novel implementation of this algorithm based on an efficient traversal of the discrete distribution generating (DDG) tree. Furthermore, we propose optimization techniques to store the probabilities of the sample points in near-optimal space. Our implementation targets the Gaussian distribution parameters typically used in LWE encryption schemes and has maximum statistical distance of 2-90to a true discrete Gaussian distribution. For these parameters, our implementation on the Xilinx Virtex V platform results in a sampler architecture that only consumes 47 slices and has a delay of 3 ns. © 2014 Springer-Verlag.