Side-channel threat model (gentle)¶
Prereqs: Bits, XOR, randomness · Public-key picture · helpful: Clocks, registers, and latency
Next: Masking shares · Shuffling / hiding · Fault attacks on hash-based signatures · ASA / HPC fuzzing · CED / composite-field Goppa · KEM accelerator anatomy · Area–time–power honesty
Learning goals. After this page you can:
- Separate “the math looks hard” from “the chip might still leak”
- Name everyday side channels in plain words
- Know why PQC HW papers add masking or shuffling
The one idea¶
LWE / Module-LWE security talks about an adversary who sees public keys and ciphertexts.
[1] stresses that during migration to ML-KEM/Kyber one must also assess physical attacks — especially side-channel attacks (SCAs) and fault injection attacks (FIAs).
This page is a threat-model postcard, not an attack tutorial.
Two different “breaks”¶
[1] separates:
| Kind | What [1] says | Typical defenses named there |
|---|---|---|
| SCA | Recover keys from power consumption or electromagnetic emanations | Hiding or masking |
| FIA | Recover keys by introducing faults during operation | Error detection |
Curriculum slogan: correct math + leaky implementation can still lose the key.
Everyday pictures (aligned with [1])¶
- Power — consumption correlates with computation.
- EM — emanations off the device.
- Timing — not the focus of [1]’s Kyber FPGA eval, but constant-time claims appear elsewhere (e.g. [3]).
Mid-page self-check¶
MLWE is believed hard. Does that alone make a Kyber FPGA safe on the lab bench?
Answer
No. [[1]](#ref-1) treats SCA/FIA on implementations as a separate concern from choosing Kyber as a KEM.Why Kyber decrypt gets special attention¶
[1] notes that secret-key leakage points concentrate in Kyber’s decryption path, which includes NTT, point-wise multiplication (PWM), INTT, subtraction, and compress.
Following the hardware leakage points they adopt (citing Zhao et al. inside [1]), three spots are:
- PWM
- Modular reduction after PWM
- Subtraction after INTT
They also shuffle INTT butterflies because INTT has been attacked in software settings [1].
Pedagogy moral: ask which operations touch the secret, not “is the whole chip equally risky?”
What “evaluation” means in [1]¶
[1] evaluates with:
- CPA (correlation power analysis) on PWM (Hamming-distance style energy model on multiplier-output registers),
- TVLA (Welch \(t\)-test) on the decryption procedure,
- using EM traces on an Artix-7 board for Kyber768.
Read those results as evidence in that experiment, not a universal warranty.
Separately, masked-software work argues about share security in the \(t\)-probing model and \(t\)-(S)NI gadget composition [2].
Two defender slogans¶
| Slogan | As discussed in the cited papers | Next |
|---|---|---|
| Masking | Split sensitive values into shares; [1] names masking as an SCA countermeasure; [2] builds full masked Kyber gadgets | Masking shares |
| Hiding / shuffling | Randomize order of leaky sub-operations; [1] is a HW shuffling design | HW track leaves |
[3] states their RBLWE poly-mul/accelerator is constant-time (timing), but that DPA and fault countermeasures are not installed and are left as future work.
Bridge to honest HW reading¶
[1] reports their protected design increases ATP by about 8.7% vs the unprotected baseline while improving SCA resistance in their CPA/TVLA tests.
Area–time–power honesty: do not read ATP alone without the SCA story.
Check yourself¶
- Name the two physical attack families [1] highlights beside math migration.
Answer
SCA and FIA.- Name the three decrypt leakage points listed in [1].
Answer
PWM; modular reduction after PWM; subtraction after INTT.- What does [3] claim about DPA?
Answer
Constant timing helps regular timing attacks; DPA/fault need countermeasures they did not include yet.Next steps¶
- Masking shares — the share picture
- Shuffling / hiding · Fault attacks on hash-based signatures
- Different threats: ASA / HPC fuzzing · CED / composite-field Goppa
- KEM accelerator anatomy — where leaky units sit
- Track: PQC hardware
References¶
[1] D. Xu, K. Wang, and J. Tian, “A hardware-friendly shuffling countermeasure against side-channel attacks for Kyber,” IEEE Trans. Circuits Syst. II, vol. 72, no. 3, pp. 504–508, Mar. 2025, doi: 10.1109/TCSII.2025.3528751.
[2] J. W. Bos, M. Gourjon, J. Renes, T. Schneider, and C. van Vredendaal, “Masking Kyber: First- and higher-order implementations,” IACR Trans. Cryptogr. Hardw. Embed. Syst., vol. 2021, no. 4, pp. 173–214, 2021, doi: 10.46586/tches.v2021.i4.173-214.
[3] P. He, T. Bao, and J. Xie, “High-performance instruction-set hardware accelerator for ring-binary-LWE-based lightweight PQC,” IEEE Trans. Very Large Scale Integr. (VLSI) Syst., vol. 33, no. 5, pp. 1417–1421, May 2025, doi: 10.1109/TVLSI.2025.3538874.