Maskaglia: A New, Efficient Approach to Masked Discrete Gaussian Sampling
Proposes Maskaglia, a rejection-based discrete Gaussian sampler built from uniform and geometric distributions that is cheap to mask, applied to HAWK signatures with far fewer masked AND gates than prior work.
Schemes: HAWK, Maskaglia, Marsaglia sampler, CDT-based sampler, Kogge-Stone comparison circuit
Findings (quotes checked against the source text)
-
The new masked sampler needs fewer than 5 masked AND gates per sample on a 32-bit architecture for HAWK, about 20 times fewer than the state-of-the-art tree-based masked sampler of Eid et al.
When applied to NIST candidate signature HAWK, we find it to need less than 5 masked AND gates per generated sample on a 32-bit architecture, and about 20 times fewer than the state-of-the-art, comparison tree-based masked sampler of Eid et al. (TCHES 2026).
-
Even with bitslicing, faster comparisons and other tweaks, Eid et al.'s sampler still needs 4 to 5 times as many masked AND gates as the new techniques.
the modified gadget still requires 4 to 5 times as many masked AND gates as our techniques.
-
The sampler is a discretized version of a continuous normal sampler related to Marsaglia (1963), expressed via uniform and geometric distributions, which suits masking especially with bitslicing.
We start from a new rejection-based discrete Gaussian sampler, obtained by discretizing a sampler for the continuous normal distribution related to an algorithm of Marsaglia (1963).
-
The resulting gadget is t-probing secure and dramatically outperforms previous masked Gaussian sampling work.
The resulting masked, t-probing secure gadget dramatically outperforms previous work.
Numbers (as extracted, not quote-checked)
- Masked AND gates per generated sample (HAWK, 32-bit): less than 5
- Reduction vs. Eid et al. tree-based masked sampler: about 20 times fewer
- Gate ratio of tweaked Eid et al. gadget vs. this work: 4 to 5 times more
For builders
If a PQ chain's signer uses HAWK or another lattice scheme with Gaussian sampling, consider this masked sampler as a lower-cost option for side-channel-hardened signing than CDT-based masking.
Limits
Evaluated only for HAWK and fixed-center, fixed-sigma Gaussians; results rest on the abstract's claims, and full text was not read here.