Paper 2016/1023 Original: eprint.iacr.org/2016/1023 ↗
Constant-Time Higher-Order Boolean-to-Arithmetic Masking
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.
Metadata
- Available format(s)
PDF
- Category
- Implementation
- Publication info
- Preprint.
- History
- 2018-03-02: last updated
- 2016-11-01: published
- Short URL
- https://ia.cr/2016/1023
- License
- https://creativecommons.org/licenses/by/4.0/
BibTeX
@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}
}