Cryptology ePrint Archive: Report 2017/918

Linear Repairing Codes and Side-Channel Attacks

Hervé Chabanne and Houssem Maghrebi and Emmanuel Prouff

Abstract: To strengthen the resistance of countermeasures based on secret sharing, several works have suggested to use the scheme introduced by Shamir in 1978, which proposes to use the evaluation of a random d-degree polynomial into n > d public points to share the sensitive data. Applying the same principles used against the classical Boolean sharing, all these works have assumed that the most efficient attack strategy was to exploit the minimum number of shares required to rebuild the sensitive value; which is d+1 if the reconstruction is made with Lagrange's interpolation. In this paper, we highlight first an important difference between Boolean and Shamir's sharings which implies that, for some signal-to-noise ratio, it is more advantageous for the adversary to observe strictly more than d+1 shares. We argue that this difference is related to the existence of so-called exact linear repairing codes, which themselves come with reconstruction formulae that need (much) less information (counted in bits) than Lagrange's interpolation. In particular, this result implies that, contrary to what was believed, the choice of the public points in Shamir's sharing has an impact on the countermeasure strength. As another contribution, we exhibit a positive impact of the existence of linear exact repairing schemes; we indeed propose to use them to improve the state-of-the-art multiplication algorithms dedicated to Shamir's sharing. We argue that the improvement can be effective when the multiplication operation in the base field is at least two times smaller than in its sub-fields.

Category / Keywords: implementation / Side-Channel Analysis, Sharing, Masking, Shamir's Sharing, Reed-Solmon Codes

Date: received 20 Sep 2017

Contact author: e prouff at gmail com

Available format(s): PDF | BibTeX Citation

Version: 20170924:221836 (All versions of this report)

Short URL: ia.cr/2017/918

Discussion forum: Show discussion | Start new discussion


[ Cryptology ePrint archive ]