arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.04577cs.ITmath.IT
收藏

抗旁道攻击和故障注入攻击的两种最优线性码对的构造

Two constructions of optimal pairs of linear codes for resisting side channel and fault injection attacks

Claude Carlet, Chengju Li, Sihem Mesnager

摘要:

直接和屏蔽(DSM)是针对侧信道攻击(SCA)和故障注入攻击(FIA)的一种有效的攻击方法。DSM需要两个线性码,它们的和是直的并且等于整个空间$\Bbb F_q^n$。前一个代码的最小距离和后一个代码的对偶距离应尽可能大,给定它们的长度和尺寸。但是该实现实际上需要对通过将源字附加到后一代码的每个码字$y$而获得的字进行工作,其中$y$是来自该源字的编码。令$\mathcal C_1$是有限域$\Bbb F_q$上的具有生成矩阵$G$的$[n, k]$线性码,令$\mathcal C_2$是有限域$\Bbb F_q$上的具有生成矩阵$[G, I_k]$的线性码。因此,非常希望构造满足该$d(\mathcal C_2^\perp)= d(\mathcal C_1^\perp)$的最优线性码对。本文利用本原不可约循环码构造了两种抗SCA和FIA的最优线性码对,其中安全参数是显式确定的。据我们所知,这是第一次使用本原不可约循环码来构造(最佳)码对。作为一个副产品,我们得到的重量枚举码$\mathcal C_1, \mathcal C_2, \mathcal C_1^\perp$,和$\mathcal C_2^\perp$在我们的两个结构。

英文摘要:

Direct sum masking (DSM) has been proposed as a counter-measure against side-channel attacks (SCA) and fault injection attacks (FIA), which are nowadays important domains of cryptanalysis. DSM needs two linear codes whose sum is direct and equals a whole space $\Bbb F_q^n$. The minimum distance of the former code and the dual distance of the latter should be as large as possible, given their length and dimensions. But the implementation needs in practice to work with words obtained by appending, to each codeword $y$ of the latter code, the source word from which $y$ is the encoding. Let $\mathcal C_1$ be an $[n, k]$ linear code over the finite field $\Bbb F_q$ with generator matrix $G$ and let $\mathcal C_2$ be the linear code over the finite field $\Bbb F_q$ with generator matrix $[G, I_k]$. It is then highly desired to construct optimal pairs of linear codes satisfying that $d(\mathcal C_2^\perp)= d(\mathcal C_1^\perp)$. In this paper, we employ the primitive irreducible cyclic codes to derive two constructions of optimal pairs of linear codes for resisting SCA and FIA, where the security parameters are determined explicitly. To the best of our knowledge, it is the first time that primitive irreducible cyclic codes are used to construct (optimal) pairs of codes. As a byproduct, we obtain the weight enumerators of the codes $\mathcal C_1, \mathcal C_2, \mathcal C_1^\perp$, and $\mathcal C_2^\perp$ in our both constructions.

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

↑