Analysis of EM Fault Injection on Bit-sliced Number Theoretic Transform Software in Dilithium

Author:

Singh Richa1,Islam Saad1,Sunar Berk1,Schaumont Patrick1

Affiliation:

1. Worcester Polytechnic Institute, USA

Abstract

Bitslicing is a software implementation technique that treats an N -bit processor datapath as N parallel single-bit datapaths. Bitslicing is particularly useful to implement data-parallel algorithms, algorithms that apply the same operation sequence to every element of a vector. Indeed, a bit-wise processor instruction applies the same logical operation to every single-bit slice. A second benefit of bitsliced execution is that the natural spatial redundancy of bitsliced software can support countermeasures against fault attacks. A k -redundant program on an N -bit processor then runs as N / k parallel redundant slices. In this contribution, we combine these two benefits of bitslicing to implement a fault countermeasure for the number-theoretic transform (NTT). The NTT efficiently implements a polynomial multiplication. The internal symmetry of the NTT algorithm lends itself to a data-parallel implementation, and hence it is a good candidate for the redundantly bitsliced implementation. We implement a redundantly bitsliced NTT on an advanced 667MHz ARM Cortex-A9 processor, and study the fault coverage for the protected NTT under optimized electromagnetic fault injection (EMFI). Our work brings two major contributions. First, we show for the first time how to develop a redundantly bitsliced version of the NTT. We integrate the protected NTT into a full Dilithium signature sequence. Second, we demonstrate an EMFI analysis on a prototype implementation of the Dilithium signature sequence on ARM Cortex-M9. 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 redundantly bitsliced 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 the NTT that offers distributed fault detection throughout the execution of the algorithm.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Software

Reference50 articles.

1. Fixslicing AES-like Ciphers New bitsliced AES speed records on ARM-Cortex M and RISC-V;Adomnicai Alexandre;IACR Trans. Cryptogr. Hardw. Embed. Syst.,2021

2. Impeccable Circuits

3. Michel Agoyan , Jean-Max Dutertre , David Naccache , Bruno Robisson , and Assia Tria . 2010 . When Clocks Fail: On Critical Paths and Clock Faults. In Smart Card Research and Advanced Application, 9th IFIP WG 8.8/11.2 International Conference , CARDIS 2010, Passau, Germany, April 14-16, 2010. Proceedings(Lecture Notes in Computer Science, Vol.  6035) , Dieter Gollmann, Jean-Louis Lanet, and Julien Iguchi-Cartigny (Eds.). Springer, 182–193. https://doi.org/10.1007/978-3-642-12510-2_13 10.1007/978-3-642-12510-2_13 Michel Agoyan, Jean-Max Dutertre, David Naccache, Bruno Robisson, and Assia Tria. 2010. When Clocks Fail: On Critical Paths and Clock Faults. In Smart Card Research and Advanced Application, 9th IFIP WG 8.8/11.2 International Conference, CARDIS 2010, Passau, Germany, April 14-16, 2010. Proceedings(Lecture Notes in Computer Science, Vol.  6035), Dieter Gollmann, Jean-Louis Lanet, and Julien Iguchi-Cartigny (Eds.). Springer, 182–193. https://doi.org/10.1007/978-3-642-12510-2_13

4. Gorjan Alagic , Daniel Apon , David Cooper , Quynh Dang , Thinh Dang , John Kelsey , Jacob Lichtinger , Carl Miller , Dustin Moody , Rene Peralta , Angela Robinson Ray Perlner and , Daniel Smith-Tone, and Yi-Kai Liu. 2022 . Status Report on the Third Round of the NIST Post-Quantum Cryptography Standardization Process . Gorjan Alagic, Daniel Apon, David Cooper, Quynh Dang, Thinh Dang, John Kelsey, Jacob Lichtinger, Carl Miller, Dustin Moody, Rene Peralta, Angela Robinson Ray Perlner and, Daniel Smith-Tone, and Yi-Kai Liu. 2022. Status Report on the Third Round of the NIST Post-Quantum Cryptography Standardization Process.

5. Using linear codes as a fault countermeasure for nonlinear operations: application to AES and formal verification

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Special Issue on Post-Quantum Cryptography for Embedded Systems;ACM Transactions on Embedded Computing Systems;2024-03-29

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3