Multiplicative Masking for AES in Hardware

  • 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
Keywords: DPA, Masking, Glitches, Sharing, Adaptive, Boolean, Multiplicative, AES, S-box, Side-channel

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.

Published
2018-08-16
How to Cite
De Meyer, L., Reparaz, O., & Bilgin, B. (2018). Multiplicative Masking for AES in Hardware. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2018(3), 431-468. https://doi.org/10.13154/tches.v2018.i3.431-468
Section
Articles