## CryptoDB

### Paper: High-Speed Masking for Polynomial Comparison in Lattice-based KEMs

Authors: Florian Bache , Ruhr-Universität Bochum, Germany Clara Paglialonga , Technische Universität Darmstadt, Germany Tobias Oder , Ruhr-Universität Bochum, Germany Tobias Schneider , NXP Semiconductors Austria, Gratkorn, Austria Tim Güneysu , Ruhr-Universität Bochum, Germany; Deutsches Forschungszentrum für Künstliche Intelligenz, Germany DOI: 10.13154/tches.v2020.i3.483-507 URL: https://tches.iacr.org/index.php/TCHES/article/view/8598 Search ePrint Search Google With the NIST post-quantum standardization competition entering the second round, the interest in practical implementation results of the remaining NIST candidates is steadily growing. Especially implementations on embedded devices are often not protected against side-channel attacks, such as differential power analysis. In this regard, the application of countermeasures against side-channel attacks to candidates of the NIST standardization process is still an understudied topic. Our work aims to contribute to the NIST competition by enabling a more realistic judgment of the overhead cost introduced by side-channel countermeasures that are applied to lattice-based KEMs that achieve CCA-security based on the Fujisaki-Okamoto transform. We present a novel higher-order masking scheme that enables an efficient comparison of polynomials as previous techniques based on arithmetic-to-Boolean conversions renders this (generally inexpensive) component extremely expensive in the masked case. Our approach has linear complexity in the number of shares compared to quadratic complexity of previous contributions and it applies to lattice based schemes with prime modulus. It comes with a proof in the probing model and an efficient implementation on an ARM Cortex-M4F microcontroller which was defined as a preferred evaluation platform for embedded implementations by NIST. Our algorithm can be executed in only 1.5-2.2 milliseconds on the target platform (depending on the masking order) and is therefore well suited even for lightweight applications. While in previous work, practical side-channel experiments were conducted using only 5,000 - 100,000 power traces, we confirm the absence of first-order leakage in this work by collecting 1 million power traces and applying the t-test methodology.
##### BibTeX
@article{tches-2020-30399,
title={High-Speed Masking for Polynomial Comparison in Lattice-based KEMs},
journal={IACR Transactions on Cryptographic Hardware and Embedded Systems},
publisher={Ruhr-Universität Bochum},
volume={2020, Issue 3},
pages={483-507},
url={https://tches.iacr.org/index.php/TCHES/article/view/8598},
doi={10.13154/tches.v2020.i3.483-507},
author={Florian Bache and Clara Paglialonga and Tobias Oder and Tobias Schneider and Tim Güneysu},
year=2020
}