Paper 2016/1023

Constant-Time Higher-Order Boolean-to-Arithmetic Masking

Michael Hutter
Michael Tunstall
Abstract

Converting a Boolean mask to an arithmetic mask, and vice versa, is often required in implementing side-channel resistant instances of cryptographic algorithms that mix Boolean and arithmetic operations. In this paper, we describe a method for converting a Boolean mask to an arithmetic mask that runs in constant time for a fixed order. We propose explicit algorithms for a second-order secure Boolean-to-arithmetic mask conversion that uses 31 instructions and for a third-order secure mask conversion that uses 74 instructions. We show that our solution is more efficient than previously proposed methods for any choice of masking-scheme order, typically by several orders of magnitude.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2016/1023,
      author = {Michael Hutter and Michael Tunstall},
      title = {Constant-Time Higher-Order Boolean-to-Arithmetic Masking},
      howpublished = {Cryptology {ePrint} Archive, Paper 2016/1023},
      year = {2016},
      url = {https://eprint.iacr.org/2016/1023}
}
Category
Implementation
License
CC BY
Submitted
Updated
Versions

Report a problem

Comments

Log in or create an account

Privacy