Back to Search Start Over

Bitslice Masking and Improved Shuffling: How and When to Mix Them in Software?

Authors :
Melissa Azouaoui
Olivier Bronchain
Vincent Grosso
Kostas Papagiannopoulos
François-Xavier St
aert
UCL - SST/ICTM/ELEN - Pôle en ingénierie électrique
Source :
Melissa Azouaoui, IACR Transactions on Cryptographic Hardware and Embedded Systems, p. 25 (2021)

Abstract

We revisit the popular adage that side-channel countermeasures must be combined to be efficient, and study its application to bitslice masking and shuffling. Our main contributions are twofold. First, we improve this combination: by shuffling the shares of a masked implementation rather than its tuples, we can amplify the impact of the shuffling exponentially in the number of shares, while this impact was independent of the masking security order in previous works. Second, we evaluate the masking and shuffling combination’s performance vs. security tradeoff under sufficient noise conditions: we show that the best approach is to mask first (i.e., fill the registers with as many shares as possible) and shuffle the independent operations that remain. We conclude that with moderate but sufficient noise, the “bitslice masking + shuffling” combination of countermeasures is practically relevant, and its interest increases when randomness is expensive and many independent operations are available for shuffling. When these conditions are not met, masking only is the best option. As additional side results, we improve the best known attack against the shuffling countermeasure from ASIACRYPT 2012. We also recall that algorithmic countermeasures like masking and shuffling, and therefore their combination, cannot be implemented securely without a minimum level of physical noise.

Details

Database :
OpenAIRE
Journal :
Melissa Azouaoui, IACR Transactions on Cryptographic Hardware and Embedded Systems, p. 25 (2021)
Accession number :
edsair.dedup.wf.001..a873644a045fbd1ac45af96911dde1d3