International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Multiplicative Masking for AES in Hardware

Authors:
Lauren De Meyer , imec - COSIC, KU Leuven
Oscar Reparaz , imec - COSIC, KU Leuven, Belgium; 2 Square inc., San Francisco
Begül Bilgin , imec - COSIC, KU Leuven
Download:
DOI: 10.13154/tches.v2018.i3.431-468
URL: https://tches.iacr.org/index.php/TCHES/article/view/7282
Search ePrint
Search Google
Abstract: Hardware masked AES designs usually rely on Boolean masking and perform the computation of the S-box using the tower-field decomposition. On the other hand, splitting sensitive variables in a multiplicative way is more amenable for the computation of the AES S-box, as noted by Akkar and Giraud. However, multiplicative masking needs to be implemented carefully not to be vulnerable to first-order DPA with a zero-value power model. Up to now, sound higher-order multiplicative masking schemes have been implemented only in software. In this work, we demonstrate the first hardware implementation of AES using multiplicative masks. The method is tailored to be secure even if the underlying gates are not ideal and glitches occur in the circuit. We detail the design process of first- and second-order secure AES-128 cores, which result in the smallest die area to date among previous state-of-the-art masked AES implementations with comparable randomness cost and latency. The first- and second-order masked implementations improve resp. 29% and 18% over these designs. We deploy our construction on a Spartan-6 FPGA and perform a side-channel evaluation. No leakage is detected with up to 50 million traces for both our first- and second-order implementation. For the latter, this holds both for univariate and bivariate analysis.
BibTeX
@article{tches-2018-29057,
  title={Multiplicative Masking for AES in Hardware},
  journal={IACR Trans. Cryptogr. Hardw. Embed. Syst.},
  publisher={Ruhr-Universität Bochum},
  volume={2018, Issue 3},
  pages={431-468},
  url={https://tches.iacr.org/index.php/TCHES/article/view/7282},
  doi={10.13154/tches.v2018.i3.431-468},
  author={Lauren De Meyer and Oscar Reparaz and Begül Bilgin},
  year=2018
}