故障可能自然发生,也可能被人为注入。然而,向在后量子密码(PQC)算法的硬件加速器中故意注入故障可能会泄露敏感信息。这种侧信道攻击中的故意故障注入会破坏PQC实现的可靠性。近期由NIST标准化的密钥封装机制(KEM)Kyber在硬件实现层面也可能泄露信息。本研究针对现场可编程门阵列(FPGA)上Kyber的库利-图基蝶形单元(CT-BU)中的Barrett约简,提出了三种高效轻量的基于重计算的故障检测方法。CT-BU和Barrett约简是结构化格基PQC算法(包括Kyber、NTRU、Falcon、CRYSTALS-Dilithium等)中的基础组件。本文提出了一种新的故障检测算法——交换操作数重计算(Recomputation with Swapped Operand, RESWO)。而取反操作数重计算(Recomputation with Negated Operand, RENO)和移位操作数重计算(Recomputation with Shifted Operand, RESO)是已应用于其他PQC硬件算法的现有方法。据我们所知,RENO和RESO此前从未被应用于Barrett约简中。所提出的RESWO方法消耗的slice数量与RENO、RESO相近,但RESWO的延迟低于后两者。RESWO、RENO和RESO的故障检测效率均接近100%。
英文摘要:
A fault can occur naturally or intentionally. However, intentionally injecting faults into hardware accelerators of Post-Quantum Cryptographic (PQC) algorithms may leak sensitive information. This intentional fault injection in side-channel attacks compromises the reliability of PQC implementations. The recently NIST-standardized key encapsulation mechanism (KEM), Kyber may also leak information at the hardware implementation level. This work proposes three efficient and lightweight recomputation-based fault detection methods for Barrett Reduction in the Cooley-Tukey Butterfly Unit (CT-BU) of Kyber on a Field Programmable Gate Array (FPGA). The CT-BU and Barrett Reduction are fundamental components in structured lattice-based PQC algorithms, including Kyber, NTRU, Falcon, CRYSTALS-Dilithium, etc. This paper introduces a new algorithm, Recomputation with Swapped Operand (RESWO), for fault detection. While Recomputation with Negated Operand (RENO) and Recomputation with Shifted Operand (RESO) are existing methods used in other PQC hardware algorithms. To the best of our knowledge, RENO and RESO have never been used in Barrett Reduction before. The proposed RESWO method consumes a similar number of slices compared to RENO and RESO. However, RESWO shows lesser delay compared to both RENO and RESO. The fault detection efficiency of RESWO, RENO, and RESO is nearly 100%.
A Lightweight Fault-Detection Scheme for Barrett Modular Multiplication Using Multiple Conditional Reduction Paths
Shiv Nadar University(锡亚德纳大学);Siksha ‘O’ Anusandhan Deemed to be University(锡沙奥·阿努桑丹评估大学);University of Calcutta(加尔各答大学);University College Cork(科克大学学院)
Crypto-RV: High-Efficiency FPGA-Based RISC-V Cryptographic Co-Processor for IoT Security
Nara Institute of Science and Technology(奈良先端科学技术大学院大学);University of Information Technology(信息工程大学);Vietnam National University(越南国立大学);Le Quy Don Technical University(黎贵敦技术大学)