Paper 2023/406 Original: eprint.iacr.org/2023/406 ↗

Quasi-linear masking to protect against both SCA and FIA

Claude Carlet
Abderrahman Daif
Sylvain Guilley
Cédric Tavernier
Abstract

The implementation of cryptographic algorithms must be protected against physical attacks. Side-channel and fault injection analyses are two prominent such implem\-entation-level attacks. Protections against either do exist; they are characterized by security orders: the higher the order, the more difficult the attack. In this paper, we leverage fast discrete Fourier transform to reduce the complexity of high-order masking, and extend it to allow for fault detection and/or correction. The security paradigm is that of code-based masking. Coding theory is amenable both to mix the information and masking material at a prescribed order, and to detect and/or correct errors purposely injected by an attacker. For the first time, we show that quasi-linear masking (pioneered by Goudarzi, Joux and Rivain at ASIACRYPT 2018) can be achieved alongside with cost amortisation. This technique consists in masking several symbols/bytes with the same masking material, therefore improving the efficiency of the masking. Similarly, it allows to optimize the detection capability of codes as linear codes are all the more efficient as the information to protect is longer. Namely, we prove mathematically that our scheme features side-channel security order of $d+1-t$, detects $d$ faults and corrects $\lfloor(d-1)/2\rfloor$ faults, where $2d+1$ is the encoding length and $t$ is the information size ($t\geq1$). Applied to AES, one can get side-channel protection of order $d=7$ when masking one column/line ($t=4$ bytes) at once. In addition to the theory, that makes use of the Frobenius Additive Fast Fourier Transform, we show performance results, both in software and hardware.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
History
2024-10-07: last updated
2023-03-21: published
Short URL
https://ia.cr/2023/406
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2023/406,
      author = {Claude Carlet and Abderrahman Daif and Sylvain Guilley and Cédric Tavernier},
      title = {Quasi-linear masking to protect against both SCA and FIA},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/406},
      year = {2023},
      url = {https://eprint.iacr.org/2023/406}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.