International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

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

Authors:
Jan-Pieter D’Anvers , imec-COSIC, KU Leuven
Download:
DOI: 10.1007/978-3-031-30634-1_21 (login may be required)
Search ePrint
Search Google
Presentation: Slides
Conference: EUROCRYPT 2023
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 on a Cortex M4 processor, a speedup of 15 times is achieved over state-of-the-art table-based A2B conversions, bringing table-based A2B conversions within the performance range of the Boolean circuit-based A2B conversions.
BibTeX
@inproceedings{eurocrypt-2023-32861,
  title={One-Hot Conversion: Towards Faster Table-based A2B Conversion},
  publisher={Springer-Verlag},
  doi={10.1007/978-3-031-30634-1_21},
  author={Jan-Pieter D’Anvers},
  year=2023
}