arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.06153cs.CR
收藏

基于位片后量子实现的EMFI的端到端分析

An End-to-End Analysis of EMFI on Bit-sliced Post-Quantum Implementations

Richa Singh, Saad Islam, Berk Sunar, Patrick Schaumont

摘要:

位切片是一种软件实现技术,它将N位处理器数据路径视为N个并行的单位数据路径。位片软件的自然空间冗余可用于构建对抗实现攻击的对策。虽然以前已经研究了用于侧信道对策的位切片的优点,但是它们在保护后量子算法免受故障注入方面的应用仍然没有被探索。我们提出了一个端到端的位切片检测和挫败电磁故障注入(EMFI)攻击后量子密码学(PQC)的功效分析。我们研究Dilithium,一个NIST PQC竞赛的数字签名决赛选手。我们提出了一个位片冗余设计的数论变换(NTT),最复杂和计算密集型的组成部分Dilithium。我们展示了NTT的数据冗余对策,它提供了两个并发位的每一个单一的位在原来的实现。然后,我们在集成在Xilinx Zynq SoC中的667 MHz ARM Cortex-A9处理器上实现了完整的Dilithium签名序列。我们执行了详细的EM故障注入参数搜索,以优化注入EM脉冲的位置,强度和时序。我们证明,在优化的故障注入参数,约10%的注入故障成为潜在的可利用。然而,位切片NTT设计能够捕获这些潜在可利用的故障中的大多数,即使当Dilithium算法的其余部分以及控制流未受保护时。据我们所知,这是Dilithium的位片冗余设计的第一次演示,该设计在算法的整个执行过程中提供分布式故障检测。

英文摘要:

Bit-slicing is a software implementation technique that treats an N-bit processor datapath as N parallel single-bit datapaths. The natural spatial redundancy of bit-sliced software can be used to build countermeasures against implementation attacks. While the merits of bit-slicing for side-channel countermeasures have been studied before, their application for protection of post-quantum algorithms against fault injection is still unexplored. We present an end-to-end analysis of the efficacy of bit-slicing to detect and thwart electromagnetic fault injection (EMFI) attacks on post-quantum cryptography (PQC). We study Dilithium, a digital signature finalist of the NIST PQC competition. We present a bit-slice-redundant design for the Number-Theoretic Transform (NTT), the most complex and compute-intensive component in Dilithium. We show a data-redundant countermeasure for NTT which offers two concurrent bits for every single bit in the original implementation. We then implement a full Dilithium signature sequence on a 667 MHz ARM Cortex-A9 processor integrated in a Xilinx Zynq SoC. We perform a detailed EM fault-injection parameter search to optimize the location, intensity and timing of injected EM pulses. We demonstrate that, under optimized fault injection parameters, about 10% of the injected faults become potentially exploitable. However, the bit-sliced NTT design is able to catch the majority of these potentially exploitable faults, even when the remainder of the Dilithium algorithm as well as the control flow is left unprotected. To our knowledge, this is the first demonstration of a bitslice-redundant design of Dilithium that offers distributed fault detection throughout the execution of the algorithm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑