MAGNET: MAsked Gaussian Now Efficient and Table-less
Proposes MAGNET, a masking-friendly discrete Gaussian sampler built on Boolean circuits, avoiding floating point and large CDT tables; faster than CDT masking at large sigma.
Schemes: MAGNET, Wei et al. CCS 2023 Boolean-circuit DGS, CDT-based sampler of Gérard and Rossi (2019)
Findings (quotes checked against the source text)
-
MAGNET masks a Boolean-circuit discrete Gaussian sampler efficiently without floating point or large CDT tables, achieving up to 17x speed-up at sigma=256 over the CDT-based masked sampler.
MAGNET achieves up to $17\times$ speed-up at $\sigma = 256$, and $56\times$ speed-up at $\sigma = 1024$ over the CDT-based sampler of Gérard and Rossi (2019).
-
Speed-up grows with sigma, so the advantage is largest in large-sigma settings.
In addition to delivering good performance at a small standard deviation $\sigma$, the efficiency of $\textsf{MAGNET}$ becomes increasingly significant in large $\sigma$ settings.
-
Arbitrary-order C implementation and a first-order ARM Cortex-M4 implementation are provided.
We provide an arbitrary-order C implementation and a first-order ARM Cortex-M4 implementation of $\textsf{MAGNET}$.
-
First-order implementation was checked with TVLA, and leaking gadgets were hardened.
We validate the practical security of the first-order implementation through Test Vector Leakage Assessment (TVLA) and systematic hardening of gadgets that exhibit side-channel leakage.
Numbers (as extracted, not quote-checked)
- MAGNET speed-up over CDT sampler at sigma=256: up to 17x
- MAGNET speed-up over CDT sampler at sigma=1024: 56x
For builders
If your PQ scheme needs a masked discrete Gaussian sampler (e.g., for lattice signatures or keygen), MAGNET is a table-free candidate worth benchmarking against CDT approaches.
Limits
Only the abstract was available; claims are from the abstract. Masking is first-order for the Cortex-M4 build and validated only by TVLA; no chain or signature-level integration is described.
Topics: implementation-sidechannel benchmarks