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 tablebased 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on2
- Strong Non-Interference and Type-Directed Higher-Order MaskingGilles Barthe, Sonia Belaïd, François Dupressoir, Pierre-Alain Fouque et al.CCS 2016 · 302 citations
- A Key-Recovery Timing Attack on Post-quantum Primitives Using the Fujisaki-Okamoto Transformation and Its Application on FrodoKEMQian Guo, Thomas Johansson, Alexander NilssonCRYPTO 2020 · 84 citations
Related papers
- A Unified Framework for Succinct Garbling from Homomorphic Secret SharingYuval Ishai, Hanjun Li, Huijia LinCRYPTO 2025 · 11 citations
- One Hot GarblingDavid Heath, Vladimir KolesnikovCCS 2021 · 20 citations
- Measurement-based uncomputation of quantum circuits for modular arithmeticAlessandro Luongo, Antonio Michele Miti, Varun Narasimhachar, Adithya SireeshDAC 2025 · 3 citations
- Shorter and Faster Post-Quantum Designated-Verifier zkSNARKs from LatticesYuval Ishai, Hang Su, David J. WuCCS 2021 · 3 citations
- Efficient Arithmetic in Garbled CircuitsDavid HeathEUROCRYPT 2024 · 12 citations
