← Back to section · Hardware & Chips

Secure Chips and Side Channels: The Attack Surface Beyond the Algorithm

How secure elements and TPMs guard keys, how power, electromagnetic, and timing side channels bypass mathematical strength, and what PQC implementation research and certification actually tell us.

Published 22 November 2026 · 6 min read · PQ Frontier

Secure Chips and Side Channels: The Attack Surface Beyond the Algorithm
AI-generated illustration by PQ Frontier
Video explainer · Secure chips: a hardware vault for keys

Security proofs for cryptographic algorithms assume a black box: the attacker sees inputs and outputs, nothing else. A real chip is not a black box. Current flows through its transistors, electromagnetic waves radiate outward, and the time each instruction takes varies with the data being processed — and all of these physical traces can correlate with secrets. Secure chip design therefore has two jobs: place keys inside a controlled boundary, and reduce how much those traces reveal. This article reviews both sides: what secure elements and TPMs do, how side channels work, where post-quantum implementations stand, and what certification does and does not establish.

Secure elements and TPMs: a hardware boundary for keys

A Secure Element (SE) is a standalone tamper-resistant chip, familiar from payment cards, eSIMs, and mobile devices. Its job is deliberately narrow: generate and store private keys, perform signing or decryption inside the chip, and return only the result — never the key itself. A key is born, used, and destroyed without leaving the chip. If the host system is compromised, an attacker can at most borrow the chip’s operations; the key cannot be copied out. This is precisely why hardware wallets and high-assurance identity credentials rely on secure elements.

A TPM (Trusted Platform Module) addresses a different problem: platform integrity. During boot, it measures hashes of firmware and bootloader stages into Platform Configuration Registers (PCRs), producing a boot record that cannot be forged after the fact. Combined with remote attestation, this lets a server prove to a verifier that it is running the expected software stack. TPMs also provide sealing: a disk-encryption key can be bound to specific PCR values so it is released only when the boot chain matches expectations — swap the bootloader and the data stays locked. The two chips differ in emphasis — the SE isolates key operations, the TPM vouches for whole-machine state — but the shared principle is the same: move the root of trust out of software and into hardware.

Three classic side channels

Power analysis is the most mature family. A chip’s instantaneous power consumption depends on the data it processes. Simple power analysis (SPA) reads operation structure directly from a power trace; differential power analysis (DPA), published by Kocher and colleagues in the late 1990s, collects many traces and statistically extracts weak secret-dependent signals from noise. It has been a central concern in smartcard security ever since.

Electromagnetic analysis follows the same logic with a different signal: the chip’s radiated electromagnetic field. Probes need no contact with the board, can localize emissions to specific regions of the die, and sometimes carry finer-grained information than a power trace.

Timing analysis exploits the fact that execution time varies with secret data: cache hits and misses on table lookups, data-dependent branches, and early termination in arithmetic all produce measurable timing differences. Timing leakage needs no physical access and can be exploited remotely, which is why cryptographic libraries are expected to be constant-time.

A fourth family, fault attacks, perturbs rather than listens: voltage glitches, clock manipulation, or laser injection induce errors in a computation, and the faulty outputs can be analyzed to recover secrets. Fault attacks are frequently combined with the measurement techniques above.

Where PQC implementation research stands

As post-quantum algorithms have been standardized, attack research has shifted from mathematics toward implementation. The published academic literature includes studies targeting implementations of ML-KEM (standardized from Kyber) and ML-DSA (from Dilithium), covering both reference and optimized code: researchers have demonstrated template attacks, power analysis, and fault attacks, showing that in implementations without countermeasures, leakage of intermediate values can support key-recovery-style analysis. This does not mean the algorithms themselves are broken — what is attacked is the physical and timing behavior of a specific implementation, and most results are best stated in general terms: leakage exists, countermeasures work, and they cost. Specific findings and experimental conditions vary widely; consult the original papers rather than any summary, including this one, for numbers.

The countermeasure toolbox is well understood. Masking splits sensitive intermediate values into multiple random shares so that leakage at any single point does not directly reveal the secret. Randomization — shuffling message and polynomial processing order, for instance — breaks the attacker’s statistical alignment. Constant-time implementation removes data-dependent branches and memory access patterns. The costs are equally real: higher masking orders multiply computation and randomness consumption, and on a constrained secure chip the performance overhead can be substantial. Protection level trades against throughput, area, and power; it is not a free patch. For deployers, the practical consequence is that choosing PQC now means asking implementation questions too: has this implementation been evaluated for side-channel resistance, what masking order does it use, and what did leakage testing on the target platform conclude?

What certification does and does not say

Common Criteria (CC, ISO/IEC 15408) is the most common certification framework for secure chips. Its Evaluation Assurance Levels, EAL1 through EAL7, describe the depth and rigor of the evaluation: how much design documentation was reviewed, how thorough the penetration testing was, and how far formal methods were applied. An EAL rating measures how carefully the product was examined — not that it is unbreakable. Under the same EAL, products differ in actual protective scope, and that scope is defined by each product’s Security Target document: which functions were evaluated, what attacker capabilities were assumed, and which interfaces fall outside the evaluation. Reading only the EAL number and not the Security Target is like judging an exam by how strict the proctor was rather than by what was on the paper.

Three practical recommendations follow for PQC migration. First, keep key generation and private-key operations inside an evaluated hardware boundary wherever possible, so side-channel resistance becomes the chip’s problem rather than the application’s. Second, for software implementations, choose libraries that offer constant-time and masked options, and confirm the algorithms you need are within the evaluated configuration. Third, treat certification as a screening threshold, not a conclusion: read the Security Target, check the evaluation technical report summary, and verify that version and configuration match the certified object — certification binds to a specific version and configuration, and a firmware update may already fall outside it.

References

Tags: secure chipsside channelsTPMPQC implementation security