Track: Lattice / LWE¶
Prereqs: Modular arithmetic · Vectors · Probability
Next: Lattices (gentle) · PQC hardware · index
Tracks: lattice-lwe
Who / outcomes¶
After this track you can:
- Explain lattices and LWE as “noisy modular equations,” then Module-LWE as polynomial-vector LWE.
- Name what samplers, SHAKE/XOF, and Compress do in an ML-KEM-shaped story.
- Contrast KEM encaps with Dilithium’s Sign + rejection loop.
- Fork to the hardware track for NTT / SCA leaves grounded in
paper.md.
How to use¶
- Shared entry below (skip what you already know).
- Walk Stages 1–4 in order; do each checkpoint.
- Open paper leaves only after Stage 3 feels solid.
- Hardware: Stage 5 → PQC hardware (lattice core).
Shared entry¶
- Modular arithmetic
- Vectors and matrices
- Polynomials — Part A · Part B wrap-around
- Probability (gentle) · Hard problems
- Helpful: Finite fields beyond F₂ · Building \(\mathrm{GF}(2^3)\) · From fields to \(R_q\) · Security bits
Stages¶
Stage 1 — Grids (Intro ch. 05)¶
Checkpoint: In one sentence, what makes a lattice different from “all of \(\mathbb{Z}^n\)”?
Stage 2 — Noisy equations → Module-LWE (Intro ch. 06)¶
- Noisy linear equations (LWE story)
- From fields to \(R_q\) — field ≠ ring; toy \(R_q\) (after GF lab)
- LWE
- Module-LWE
Checkpoint: What does the small error \(e\) protect, and what breaks if \(e=0\)?
Stage 3 — ML-KEM vocabulary (Intro ch. 08)¶
Checkpoint: Name one reason Compress shrinks ciphertexts and one risk if you drop too many bits.
Stage 4 — Signatures fork (Intro ch. 09)¶
Checkpoint: How does Dilithium’s rejection loop differ from a one-shot KEM encaps?
Stage 5 — Hardware fork¶
Walk the lattice core on PQC hardware (modmul → NTT → anatomy → SCA).
Paper leaves¶
| Title (short) | Extract | Status |
|---|---|---|
| Masking Kyber (CBD, Compress, FO wrap) | papers/tches-pqc/masking-kyber-first-and-higher-order-implementations/paper.md |
concept ready |
| Tailorable codes / ML-KEM compress | papers/tches-pqc/tailorable-codes-for-lattice-based-kems-with-applications-to-compact-ml-kem-instantiations/paper.md |
concept ready |
| Dilithium lightweight HW (SHAKE, sampling, Sign) | papers/tcas-i-pqc/lightweight-hardware-accelerator-for-post-quantum-digital-signature-crystals-dilithium/paper.md |
concept ready |
| RBLWE instruction-set accelerator (binary sampler) | papers/tvlsi-pqc/High-Performance Instruction-Set Hardware Accelerator for Ring-Binary-LWE-Based Lightweight PQC/paper.md |
concept ready |
| Kyber reconfigurable poly-mul (TCAD) | papers/tcad-pqc/reconfigurable-and-high-efficiency-polynomial-multiplication-accelerator-for-crystals-kyber/paper.md |
private explainer + extract |
Course map (PQC_HTML Intro — inspiration only)¶
| Intro ch. | Theme | This track |
|---|---|---|
| 05–06 | Lattice / LWE basics | Stages 1–2 |
| 08 | Kyber / ML-KEM-shaped | Stage 3 |
| 09 | Dilithium | Stage 4 |
| — | Hardware | Stage 5 → HW track |
Cross-track forks¶
- Code-based KEMs — parallel family
- PQC hardware — lattice core + family HW leaves
- Hash-based · Multivariate · Isogeny