Sampling from Discrete Distributions in Combinational Hardware with Application to Post-Quantum Cryptography

被引:0
作者
Lyons, Michael X. [1 ]
Gaj, Kris [1 ]
机构
[1] George Mason Univ, Cryptog Engn Res Grp, Fairfax, VA 22030 USA
来源
PROCEEDINGS OF THE 2020 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2020) | 2020年
关键词
Boolean functions; centered binomial; combinational logic; constant time; DDG-tree; discrete Gaussian; FPGA; logic minimization;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Random values from discrete distributions are typically generated from uniformly-random samples. A common technique is to use a cumulative distribution table (CDT) lookup for inversion sampling, but it is also possible to use Boolean functions to map a uniformly-random bit sequence into a value from a discrete distribution. This work presents a methodology for deriving such functions for any discrete distribution, encoding them in VHDL for implementation in combinational hardware, and (for moderate precision and sample space size) confirming the correctness of the produced distribution. The process is demonstrated using a discrete Gaussian distribution with a small sample space, but it is applicable to any discrete distribution with fixed parameters. Results are presented for sampling schemes from several submissions to the NIST PQC standardization process, comparing this method to CDT lookups on a Xilinx Artix-7 FPGA. The process produces compact solutions for distributions up to moderate size and precision.
引用
收藏
页码:610 / 613
页数:4
相关论文
共 8 条
  • [1] Bernstein D. J., 2019, CRYPTOLOGY EPRINT AR
  • [2] Sampling from discrete Gaussians for lattice-based cryptography on a constrained device
    Dwarakanath, Nagarjun C.
    Galbraith, Steven D.
    [J]. APPLICABLE ALGEBRA IN ENGINEERING COMMUNICATION AND COMPUTING, 2014, 25 (03) : 159 - 180
  • [3] On Practical Discrete Gaussian Samplers for Lattice-Based Cryptography
    Howe, James
    Khalid, Ayesha
    Rafferty, Ciara
    Regazzoni, Francesco
    O'Neill, Maire
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2018, 67 (03) : 322 - 334
  • [4] Constant-Time Discrete Gaussian Sampling
    Karmakar, Angshuman
    Roy, Sujoy Sinha
    Reparaz, Oscar
    Vercauteren, Frederik
    Verbauwhede, Ingrid
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2018, 67 (11) : 1561 - 1571
  • [5] Industrial Internet of Things: A Review
    Karmakar, Avish
    Dey, Naiwrita
    Baral, Tapadyuti
    Chowdhury, Manojeet
    Rehan, Md.
    [J]. 2019 INTERNATIONAL CONFERENCE ON OPTO-ELECTRONICS AND APPLIED OPTICS (OPTRONIX 2019), 2019,
  • [6] Peikert C, 2010, LECT NOTES COMPUT SC, V6223, P80, DOI 10.1007/978-3-642-14623-7_5
  • [7] Towards Practical Lattice-Based Public-Key Encryption on Reconfigurable Hardware
    Poeppelmann, Thomas
    Gueneysu, Tim
    [J]. SELECTED AREAS IN CRYPTOGRAPHY - SAC 2013, 2014, 8282 : 68 - 85
  • [8] Yao A.C., 1976, Algorithms and Complexity: New Directions and Recent Results