Paper 2022/327

Provable Secure Software Masking in the Real-World

Arthur Beckers
Lennert Wouters
Benedikt Gierlichs
Bart Preneel
Ingrid Verbauwhede
Abstract

We evaluate eight implementations of provable secure side-channel masking schemes that were published in top-tier academic venues such as Eurocrypt, Asiacrypt, CHES and SAC. Specifically, we evaluate the side-channel attack resistance of eight open-source and first-order side-channel protected AES-128 software implementations on the Cortex-M4 platform. Using a T-test based leakage assessment we demonstrate that all implementations produce first-order leakage with as little as 10,000 traces. Additionally, we demonstrate that all except for two Inner Product Masking based implementations are vulnerable to a straightforward correlation power analysis attack. We provide an assembly level analysis showing potential sources of leakage for two implementations. Some of the studied implementations were provided for benchmarking purposes. We demonstrate several flaws in the benchmarking procedures and question the usefulness of the reported performance numbers in the face of the implementations’ poor side-channel resistance. This work serves as a reminder that practical evaluations cannot be omitted in the context of side-channel analysis.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2022/327,
      author = {Arthur Beckers and Lennert Wouters and Benedikt Gierlichs and Bart Preneel and Ingrid Verbauwhede},
      title = {Provable Secure Software Masking in the Real-World},
      howpublished = {Cryptology {ePrint} Archive, Paper 2022/327},
      year = {2022},
      url = {https://eprint.iacr.org/2022/327}
}
Category
Implementation
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy