arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.00561cs.CRcs.ARcs.SE
收藏

基于SAT的密码电路形式化抗故障验证

SAT-based Formal Fault-Resistance Verification of Cryptographic Circuits

Huiyu Tan, Pengfei Gao, Taolue Chen, Fu Song, Zhilin Wu

AI总结:

本文将密码电路抗故障验证问题形式化为NP完全问题,提出将其编码为布尔可满足性(SAT)问题并利用现成SAT求解器求解的方法,在开源工具FIRMER中实现了该方案,其实验验证效率与可扩展性显著优于现有方法。

摘要:

故障注入攻击是对密码电路的一种主动物理攻击。人们已经提出了各种对策来阻止此类攻击,然而这些对策的设计和实现却非常复杂、容易出错且费时费力。当前的形式化抗故障验证方法在效率和可扩展性方面存在局限。在本文中,我们将抗故障验证问题形式化,并证明该问题是NP完全的。随后,我们设计了一种新颖的方法,将抗故障验证问题编码为布尔可满足性(SAT)问题,从而可以利用现成的SAT求解器。该方法在开源工具FIRMER中实现,并在实际的密码电路基准上进行了广泛评估。实验结果表明,FIRMER能够在3分钟内验证几乎所有(48个中的46个)基准的抗故障性(另外两个在35分钟内完成验证)。相比之下,先前的方法在24小时(每个任务)后仍有23个抗故障验证任务失败。

英文摘要:

Fault injection attacks represent a type of active, physical attack against cryptographic circuits. Various countermeasures have been proposed to thwart such attacks, the design and implementation of which are, however, intricate, error-prone, and laborious. The current formal fault-resistance verification approaches are limited in efficiency and scalability. In this paper, we formalize the fault-resistance verification problem which is shown to be NP-complete. We then devise a novel approach for encoding the fault-resistance verification problem as the Boolean satisfiability (SAT) problem so that off-the-shelf SAT solvers can be utilized. The approach is implemented in an open-source tool FIRMER which is evaluated extensively on realistic cryptographic circuit benchmarks. The experimental results show that FIRMER is able to verify fault-resistance of almost all (46/48) benchmarks in 3 minutes (the other two are verified in 35 minutes). In contrast, the prior approach fails on 23 fault-resistance verification tasks even after 24 hours (per task).

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

↑