Side-Channel Masking with Common Shares

  • Weijia Wang
  • , Chun Guo
  • , Yu Yu
  • , Fanjie Ji
  • , Yang Su

Research output: Contribution to journalArticlepeer-review

9 Scopus citations

Abstract

To counter side-channel attacks, a masking scheme randomly encodes key-dependent variables into several shares, and transforms operations into the masked correspondence (called gadget) operating on shares. This provably achieves the de facto standard notion of probing security. We continue the long line of works seeking to reduce the overhead of masking. Our main contribution is a new masking scheme over finite fields in which shares of different variables have a part in common. This enables the reuse of randomness/variables across different gadgets, and reduces the total cost of masked implementation. For security order d and circuit size ℓ, the randomness requirement and computational complexity of our scheme areÕ(d2) andÕ(ℓd2) respectively, strictly improving upon the state-of-the-artÕ(d2) andÕ(ℓd3) of Coron et al. at Eurocrypt 2020. A notable feature of our scheme is that it enables a new paradigm in which many intermediates can be precomputed before executing the masked function. The precomputation consumesÕ(ℓd2) and produces Õ(ℓd) variables to be stored in RAM. The cost of subsequent (online) computation is reduced to Õ(ℓd), effectively speeding up e.g., challenge-response authentication protocols. We showcase our method on the AES on ARM Cortex M architecture and perform a T-test evaluation. Our results show a speed-up during the online phase compared with state-of-the-art implementations, at the cost of acceptable RAM consumption and precomputation time. To prove security for our scheme, we propose a new security notion intrinsically supporting randomness/variables reusing across gadgets, and bridging the security of paral lel compositions of gadgets to general compositions, which may be of independent interest.

Original languageEnglish
Pages (from-to)290-329
Number of pages40
JournalIACR Transactions on Cryptographic Hardware and Embedded Systems
Volume2022
Issue number3
DOIs
StatePublished - 8 Jun 2022
Externally publishedYes

Keywords

  • Cost Amortization
  • Masking
  • Precomputation
  • Side-Channel Attack

Fingerprint

Dive into the research topics of 'Side-Channel Masking with Common Shares'. Together they form a unique fingerprint.

Cite this