Back to Search Start Over

Efficient and Private Computations with Code-Based Masking

Efficient and Private Computations with Code-Based Masking

Authors :
Weijia Wang
Pierrick Méaux
Gaëtan Cassiers
François-Xavier Standaert
Source :
Transactions on Cryptographic Hardware and Embedded Systems, Vol 2020, Iss 2 (2020)
Publication Year :
2020
Publisher :
Ruhr-Universität Bochum, 2020.

Abstract

Code-based masking is a very general type of masking scheme that covers Boolean masking, inner product masking, direct sum masking, and so on. The merits of the generalization are twofold. Firstly, the higher algebraic complexity of the sharing function decreases the information leakage in “low noise conditions” and may increase the “statistical security order” of an implementation (with linear leakages). Secondly, the underlying error-correction codes can offer improved fault resistance for the encoded variables. Nevertheless, this higher algebraic complexity also implies additional challenges. On the one hand, a generic multiplication algorithm applicable to any linear code is still unknown. On the other hand, masking schemes with higher algebraic complexity usually come with implementation overheads, as for example witnessed by inner-product masking. In this paper, we contribute to these challenges in two directions. Firstly, we propose a generic algorithm that allows us (to the best of our knowledge for the first time) to compute on data shared with linear codes. Secondly, we introduce a new amortization technique that can significantly mitigate the implementation overheads of code-based masking, and illustrate this claim with a case study. Precisely, we show that, although performing every single code-based masked operation is relatively complex, processing multiple secrets in parallel leads to much better performances. This property enables code-based masked implementations of the AES to compete with the state-of-the-art in randomness complexity. Since our masked operations can be instantiated with various linear codes, we hope that these investigations open new avenues for the study of code-based masking schemes, by specializing the codes for improved performances, better side-channel security or improved fault tolerance.

Details

Language :
English
ISSN :
25692925
Volume :
2020
Issue :
2
Database :
Directory of Open Access Journals
Journal :
Transactions on Cryptographic Hardware and Embedded Systems
Publication Type :
Academic Journal
Accession number :
edsdoj.8c173100c1b64cd09ae6d8c951f484b5
Document Type :
article
Full Text :
https://doi.org/10.13154/tches.v2020.i2.128-171