Cryptology ePrint Archive: Report 2019/1165

Fast verification of masking schemes in characteristic two

Nicolas Bordes and Pierre Karpman

Abstract: We revisit the matrix model for non-interference (NI) probing security of masking gadgets introduced by Belaïd et al. at CRYPTO 2017. This leads to two main results. 1) We generalise the theorems on which this model is based, so as to be able to apply them to masking schemes over any finite field --- in particular GF(2)--- and to be able to analyse the strong non-interference (SNI) security notion. We also follow Faust et al. (TCHES 2018) to additionally consider a robust probing model that takes hardware defects such as glitches into account. 2) We exploit this improved model to implement a very efficient verification algorithm that improves the performance of state-of-the-art software by three orders of magnitude. We show applications to variants of NI and SNI multiplication gadgets from Barthe et al. (EUROCRYPT 2017) which we verify to be secure up to order 11 after a significant parallel computation effort, whereas the previous largest proven order was 7; SNI refreshing gadgets (ibid.); and NI multiplication gadgets from Groß et al. (TIS@CCS 2016) secure in presence of glitches. We also reduce the randomness cost of some existing gadgets, notably for the implementation-friendly case of 8 shares, improving here the previous best results by 17% (resp. 19%) for SNI multiplication (resp. refreshing).

Category / Keywords: High-order masking, probing model, multiplication gadget, refreshing gadget, linear code.

Original Publication (with major differences): IACR-EUROCRYPT-2021

Date: received 8 Oct 2019, last revised 30 Jun 2021

Contact author: nicolas bordes at univ-grenoble-alpes fr, pierre karpman at univ-grenoble-alpes fr

Available format(s): PDF | BibTeX Citation

Version: 20210630:132037 (All versions of this report)

Short URL: ia.cr/2019/1165


[ Cryptology ePrint archive ]