English

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

Information Theory 2018-09-26 v2 math.IT

Abstract

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 Fqn\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 yy of the latter code, the source word from which yy is the encoding. Let C1\mathcal C_1 be an [n,k][n, k] linear code over the finite field Fq\Bbb F_q with generator matrix GG and let C2\mathcal C_2 be the linear code over the finite field Fq\Bbb F_q with generator matrix [G,Ik][G, I_k]. It is then highly desired to construct optimal pairs of linear codes satisfying that d(C2)=d(C1)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 C1,C2,C1\mathcal C_1, \mathcal C_2, \mathcal C_1^\perp, and C2\mathcal C_2^\perp in our both constructions.

Keywords

Cite

@article{arxiv.1808.04577,
  title  = {Two constructions of optimal pairs of linear codes for resisting side channel and fault injection attacks},
  author = {Claude Carlet and Chengju Li and Sihem Mesnager},
  journal= {arXiv preprint arXiv:1808.04577},
  year   = {2018}
}

Comments

Some statements in the paper are not correct. We need to give a major revision