Paper 2022/1099

One-Hot Conversion: Towards Faster Table-based A2B Conversion

Jan-Pieter D'Anvers
Abstract

Arithmetic to Boolean masking (A2B) conversion is a crucial technique in the masking of lattice-based post-quantum cryptography. It is also a crucial part of building a masked comparison which is one of the hardest to mask building blocks for active secure lattice-based encryption. We first present a new method, called one-hot conversion, to efficiently convert from higher-order arithmetic masking to Boolean masking using a variant of the higher-order table-based conversion of Coron et al. Secondly, we specialize our method to perform arithmetic to 1-bit Boolean functions. Our one-hot function can be applied to masking lattice-based encryption building blocks such as masked comparison or to determine the most significant bit of an arithmetically masked variable. In our benchmarks, a speedup of 40 to 66 times is achieved over state-of-the-art table-based A2B conversions, bringing table-based A2B conversions in the performance range of the Boolean circuit-based A2B conversions by only a slowdown of factor 1.2 to 2.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2022/1099,
      author = {Jan-Pieter D'Anvers},
      title = {One-Hot Conversion: Towards Faster Table-based A2B Conversion},
      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1099},
      year = {2022},
      url = {https://eprint.iacr.org/2022/1099}
}
Category
Implementation
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy