Attacking and Defending Masked Polynomial Comparison for Lattice-Based Cryptography
Breaks two masked polynomial comparison schemes (TCHES 2018, 2020) used in lattice KEM Fujisaki-Okamoto re-encryption, and proposes a t-test framework to detect such leakage.
Schemes: Fujisaki-Okamoto transform, masked polynomial comparison (TCHES 2018), masked polynomial comparison (TCHES 2020)
Findings (quotes checked against the source text)
-
First-order side-channel attacks defeat the advertised security of the TCHES 2018 and TCHES 2020 masked comparison algorithms.
We identify critical vulnerabilities in two proposals for masked comparison and successfully attack the masked comparison algorithms from TCHES 2018 and TCHES 2020.
-
The higher-order masked comparison from TCHES 2020 is broken by a collision attack that needs no side-channel information.
Additionally, we break the higher-order secured masked comparison from TCHES 2020 using a collision attack, which does not require side-channel information.
-
A t-test framework parametrized for the FO re-encryption step can detect leakage that would have exposed the flaws.
Our framework relies on a specifically parametrized $t$-test and would have identified the previously mentioned flaws in the masked comparison.
-
The framework can test both the comparison routine alone and the full decapsulation implementation.
Our framework can be used to test both the comparison itself and the full decapsulation implementation.
For builders
Do not trust published masked FO comparison gadgets without independent leakage testing; run the proposed t-test on the full decapsulation path before shipping a PQ KEM.
Limits
Abstract-only text was supplied; attack parameters, complexity, and the specific schemes' details are not stated here. Focused on KEM implementation side channels, not blockchain design.
Topics: implementation-sidechannel kem cryptanalysis benchmarks