Vectorizing Higher-Order Masking

Benjamin Grégoire 1 Kostas Papagiannopoulos 2 Peter Schwabe 3 Ko Stoffelen 3
1 MARELLE - Mathematical, Reasoning and Software
CRISAM - Inria Sophia Antipolis - Méditerranée
3 Digital Security Group [Nijmegen]
ICIS - Institute for Computing and Information Sciences [Nijmegen]
Abstract : The cost of higher-order masking as a countermeasure against side-channel attacks is often considered too high for practical scenarios, as protected implementations become very slow. At Eurocrypt 2017, the bounded moment leakage model was proposed to study the (theoretical) security of parallel implementations of masking schemes [5]. Work at CHES 2017 then brought this to practice by considering an implementation of AES with 32 shares [26], bitsliced inside 32-bit registers of ARM Cortex-M processors. In this paper we show how the NEON vector instructions of larger ARM Cortex-A processors can be exploited to build much faster masked implementations of AES. Specifically, we present AES with 4 and 8 shares, which in theory provide security against 3rd and 7th-order attacks, respectively. The software is publicly available and optimized for the ARM Cortex-A8. We use refreshing and multiplication algorithms that are proven to be secure in the bounded moment leakage model and to be strongly non-interfering. Additionally, we perform a concrete side-channel evaluation on a BeagleBone Black, using a combination of test vector leakage assessment (TVLA), leakage certification tools and information-theoretic bounds.
Liste complète des métadonnées
Contributor : Benjamin Gregoire <>
Submitted on : Tuesday, December 18, 2018 - 4:49:44 PM
Last modification on : Thursday, February 7, 2019 - 3:36:34 PM
Document(s) archivé(s) le : Wednesday, March 20, 2019 - 10:32:23 AM


Files produced by the author(s)


  • HAL Id : hal-01959418, version 1

Données associées



Benjamin Grégoire, Kostas Papagiannopoulos, Peter Schwabe, Ko Stoffelen. Vectorizing Higher-Order Masking. COSADE 2018 - Constructive Side-Channel Analysis and Secure Design - 9th International Workshop., Apr 2018, Singapore, Singapore. pp.23-43. ⟨hal-01959418⟩



Record views


Files downloads