• DocumentCode
    3668932
  • Title

    Towards efficient discrete Gaussian sampling for lattice-based cryptography

  • Author

    Chaohui Du; Guoqiang Bai

  • Author_Institution
    Tsinghua National Laboratory for Information Science and Technology, China
  • fYear
    2015
  • Firstpage
    1
  • Lastpage
    6
  • Abstract
    Modern lattice-based public key cryptosystems usually require sampling from discrete Gaussian distributions. In this paper, we propose a novel implementation of cumulative distribution function (CDF) inversion sampler with high precision and large tail bound. It has maximum statistical distance of 2-90 to a theoretical discrete Gaussian distribution. Our CDF inversion sampler exploits piecewise comparison to save more than 90% random bits and reduce the required large comparators to two small comparators. We speed up the sampler by using a small lookup table, and the hit rate of the lookup table is as high as 94%. With these optimizations, our sampler takes on average 9.44 random bits and 2.28 clock cycles to generate a sample. It consumes 1 block RAM and 17 slices on a Spartan-6 FPGA. With additional 13 slices, our sampler is able to generate n samples within around 1.14n clock cycles.
  • Keywords
    "Gaussian distribution","Lattices","Random access memory","Cryptography","Hardware","Clocks","Arrays"
  • Publisher
    ieee
  • Conference_Titel
    Field Programmable Logic and Applications (FPL), 2015 25th International Conference on
  • Type

    conf

  • DOI
    10.1109/FPL.2015.7293949
  • Filename
    7293949