Constant-time BCH Error-Correcting Code
Designs the first constant-time BCH error-correcting decoder, removing timing leaks that enabled an attack on LAC's decryption, and measures its overhead inside LAC.
Schemes: BCH, LAC, HQC
Findings (quotes checked against the source text)
-
Non-constant-time BCH decoding in LAC decryption enabled a recent attack that reduced LAC's security, motivating a constant-time BCH design.
For example, a recent attack exploited non-constant-time execution of BCH code to reduce the security of LAC.
-
The paper presents the first constant-time BCH algorithm, evaluated with leakage detection tests.
In this paper we analyse the BCH error-correcting code, identify computation steps that cause timing variations and design the first constant-time BCH algorithm.
-
Integrating the constant-time BCH into LAC's reference and optimised implementations slows the CCA-secure primitives by about 1.1x and 1.4x.
observed nearly 1.1 and 1.4 factor slowdown respectively for the CCA-secure primitives
Numbers (as extracted, not quote-checked)
- LAC CCA-secure primitive slowdown with constant-time BCH (reference implementation): nearly 1.1x
- LAC CCA-secure primitive slowdown with constant-time BCH (optimised implementation): nearly 1.4x
For builders
If a PQ KEM or PKE decryption uses BCH error correction, make the decoder constant-time, since variable-time BCH decoding can leak secrets.
Limits
Abstract only in the supplied text; results cover LAC and software implementations; the full paper's leakage test details were not available here.
Topics: implementation-sidechannel kem benchmarks cryptanalysis