Sapphire:一种用于后量子格基协议的可配置密码处理器
Sapphire: A Configurable Crypto-Processor for Post-Quantum Lattice-based Protocols
摘要:
在构建大规模量子计算机时,公钥密码学协议,如RSA和椭圆曲线密码,将被Shor算法变得不安全。密码学家正在研究抗量子算法,基于格的密码学已经成为一个主要的候选者。然而,这些算法的高计算复杂性使得在低功耗嵌入式设备上实现基于格的协议具有挑战性。为了解决这一挑战,我们提出了蓝宝石-点阵密码处理器与可配置的参数。高效的采样,基于SHA-3的PRNG,提供两个数量级的节能;提出了一种基于单端口RAM的数论变换存储器架构,可节省124 k门面积;而低功耗的模运算单元加速多项式计算。测试芯片采用TSMC 40 nm低功耗CMOS工艺,Sapphire密码核面积为0.28 mm 2,由106 k逻辑门和40.25 KB SRAM组成。Sapphire可以使用自定义指令进行编程,用于多项式运算和采样,并与低功耗RISC-V微处理器相结合,以演示NIST Round 2基于网格的CCA安全密钥封装和签名协议Frodo,NewHope,qTESLA,CRYSTALS-Kyber和CRYSTALS-Dilithium,与最先进的硬件实现相比,在性能和能效方面实现了一个数量级的改进。Sapphire的所有关键构建块都是恒定时间的,并且可以抵御定时和简单的功率分析侧信道攻击。我们还讨论了如何掩蔽为基础的DPA对策,可以实现蓝宝石核心,而无需对硬件进行任何更改。
英文摘要:
Public key cryptography protocols, such as RSA and elliptic curve cryptography, will be rendered insecure by Shor's algorithm when large-scale quantum computers are built. Cryptographers are working on quantum-resistant algorithms, and lattice-based cryptography has emerged as a prime candidate. However, high computational complexity of these algorithms makes it challenging to implement lattice-based protocols on low-power embedded devices. To address this challenge, we present Sapphire - a lattice cryptography processor with configurable parameters. Efficient sampling, with a SHA-3-based PRNG, provides two orders of magnitude energy savings; a single-port RAM-based number theoretic transform memory architecture is proposed, which provides 124k-gate area savings; while a low-power modular arithmetic unit accelerates polynomial computations. Our test chip was fabricated in TSMC 40nm low-power CMOS process, with the Sapphire cryptographic core occupying 0.28 mm2 area consisting of 106k logic gates and 40.25 KB SRAM. Sapphire can be programmed with custom instructions for polynomial arithmetic and sampling, and it is coupled with a low-power RISC-V micro-processor to demonstrate NIST Round 2 lattice-based CCA-secure key encapsulation and signature protocols Frodo, NewHope, qTESLA, CRYSTALS-Kyber and CRYSTALS-Dilithium, achieving up to an order of magnitude improvement in performance and energy-efficiency compared to state-of-the-art hardware implementations. All key building blocks of Sapphire are constant-time and secure against timing and simple power analysis side-channel attacks. We also discuss how masking-based DPA countermeasures can be implemented on the Sapphire core without any changes to the hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。