← Lab /Security & privacy

Barrett reduction leaks at most 1 bit per internal wire under first-order masking

The preimage cardinality of Barrett reduction wires is never more than 2, limiting min-entropy loss to 1 bit.

Security & privacy arXiv 27 Apr 2026 Theory Theory

Published as “Machine-Checked Cardinality Bounds for Masked Barrett Reduction: A 1-Bit Side-Channel Leakage Barrier in Post-Quantum Cryptographic Hardware”

Why it matters

Hardware designers can cite a universal, machine-checked 1-bit leakage bound for Barrett reduction when certifying post-quantum cryptographic accelerators.

Summary

Barrett reduction’s internal wires leak at most one bit of min-entropy per first-order probe, because each wire’s preimage under the mask has cardinality 0, 1, or 2. The authors prove a universal trichotomy theorem for any modulus q>0 and shift s, and instantiate it as the 1-Bit Barrier (H∞≥log2(q)-1 per wire) for ML-KEM and ML-DSA. The proof is fully machine-checked in Lean 4 with zero sorry, but the paper provides no empirical evaluation or performance measurement.

What they found 1

  1. Max-multiplicity 2 implies a min-entropy loss of at most 1 bit per internal wire.

    “The 1-Bit Barrier. Max-multiplicity 2 implies H∞(output ∣x) ≥log2(q) -1 per internal wire. For ML-KEM ( q= 3329): H∞≥10.70 bits. For ML-DSA ( q= 8,380,417): H∞≥21.99 bits.”

Caveats 4

  • The zero-multiplicity region size, min(x.val + 1, q-r, q-1 -x.val) where r= 2s mod q, is computationally verified ... but is not a proved Lean theorem.
  • The max(k1, k2) composition bound with fresh masking (Observation 6.1) is an observation, not a theorem.
  • The min-entropy bound H∞≥log2(q) -1 (Observation 5.2) is an informal consequence of the proved algebraic bound.
  • All results are first-order: one probe, two shares. At second order (d= 2 probes, three shares), the two-branch structure means an adversary probing two carefully chosen wires could potentially exploit the Branch A / Branch B overlap.

What’s new here 4

  • First machine-checked characterization of Barrett reduction’s preimage cardinality over Zq, showing a universal {0,1,2} bound.
  • Derivation of a universal 1-bit min-entropy leakage bound (the 1-Bit Barrier) for any modulus and shift parameter.
  • Introduction of the PF-PINI(2) framework instantiated for Barrett reduction, extending prior PF-PINI(1) results for NTT butterflies.
  • Complete formal artifact (Lean 4 code) that can be cited for FIPS-140-3 certification of PQC hardware.