PAMS: Pre-Aligned Modulus Switching for Exact Second-Order Masked ML-KEM Ciphertext Verification in Hardware
- Publicada
- Servidor
- Zenodo
- DOI
- 10.5281/zenodo.24456845
PAMS (pre-aligned modulus switching) is a hardware method for verifying ciphertexts during ML-KEM decapsulation. It supports exact masked comparison at all four ML-KEM compression widths. By mapping each share to a fixed 14-bit representation, PAMS reduces the decision to one masked comparison against a public threshold.
The three-share, second-order implementation processes one coefficient per cycle. Compared with the paper’s optimized Simple baseline, PAMS uses 40 secure gadgets instead of 57 and requires 120 fresh random bits per cycle instead of 171. Nangate45 synthesis and OpenROAD place-and-route yield 19.5% less routed standard-cell area for the verification subsystem, with comparable clock periods. These figures are tool estimates. The security argument assumes ideal randomness and canonical uniform input sharings. Physical leakage remains untested.