Research

Research seriesL3algorithms

Implementation Security of Post-Quantum Cryptography: Constant-Time and Side Channels

A mathematically secure scheme still leaks through its implementation. Post-quantum cryptography introduces new side-channel surfaces - sampling, the number-theoretic transform, rejection - that classical crypto never had. This series is the attacker's-eye tour: the threat model, the decapsulation timing oracle, power and electromagnetic attacks, masking countermeasures, and how to verify constant-time. Grounded in the side-channel literature and NIST KEM guidance.

Murali Chillakuru·5 articles
  1. 1
    The Side-Channel Threat Model for Post-Quantum Cryptography

    A scheme secure on paper still leaks through timing, power, and electromagnetic emanations — and post-quantum cryptography adds new leaky surfaces (sampling, the transform, rejection) that classical schemes never had.

  2. 2
    Timing and the Decapsulation Oracle: When Non-Constant-Time Handling Leaks the Plaintext

    The Fujisaki-Okamoto transform removed the chosen-ciphertext oracle in theory. A variable-time comparison or rejection in decapsulation quietly hands it back — and a few thousand timed queries recover the whole secret key.

  3. 3
    Power and Electromagnetic Attacks on the NTT and the Sampler

    The number-theoretic transform and the noise sampler are where a lattice scheme's secret is richest — and where power and electromagnetic analysis, including single-trace attacks that defeat ephemeral keys, strike.

  4. 4
    Masking and Countermeasures: Arithmetic-to-Boolean Shares and the Cost of Provable Resistance

    Masking splits each secret into random shares so no single wire carries it. Post-quantum schemes mix arithmetic and Boolean operations, forcing expensive conversions and quadratic overhead for provable side-channel resistance.

  5. 5
    Verifying Constant-Time: Tooling and Methodology to Demonstrate a Leak-Free Implementation

    A constant-time claim is worthless unless demonstrated on the actual compiled binary and hardware. Statistical timing tests, formal analysis, and leakage assessment together turn the claim into evidence.