Cryptology ePrint Archive: Report 2013/510

Discrete Ziggurat: A Time-Memory Trade-off for Sampling from a Gaussian Distribution over the Integers

Johannes Buchmann and Daniel Cabarcas and Florian Göpfert and Andreas Hülsing and Patrick Weiden

Abstract: Several lattice-based cryptosystems require to sample from a discrete Gaussian distribution over the integers. Existing methods to sample from such a distribution either need large amounts of memory or they are very slow. In this paper we explore a different method that allows for a flexible time-memory trade-off, offering developers freedom in choosing how much space they can spare to store precomputed values. We prove that the generated distribution is close enough to a discrete Gaussian to be used in lattice-based cryptography. Moreover, we report on an implementation of the method and compare its performance to existing methods from the literature. We show that for large standard deviations, the Ziggurat algorithm outperforms all existing methods.

Category / Keywords: implementation / Lattice-Based Cryptography, Gaussian Sampling, Practicality, Implementation

Original Publication (with minor differences): Selected Areas in Cryptography 2013

Date: received 16 Aug 2013

Contact author: pweiden at cdc informatik tu-darmstadt de

Available format(s): PDF | BibTeX Citation

Version: 20130817:204938 (All versions of this report)

Short URL:

[ Cryptology ePrint archive ]