← Back to section · Research & Analysis

Post-Quantum Randomness and the Entropy Source Problem: Upstream of Every Key

Post-quantum algorithms have a larger appetite for randomness: key generation, sampling noise and signature randomisation all rest on entropy quality. This report traces the history of randomness failures, and surveys the SP 800-90 framework and the state of entropy-source engineering in the post-quantum era.

Published 22 November 2026 · 5 min read · PQ Frontier

Post-Quantum Randomness and the Entropy Source Problem: Upstream of Every Key
AI-generated site artwork
Video explainer · Special Reports: Systematic Single-Theme Studies

Scope: The Overlooked Foundation

This report discusses the least conspicuous yet most fatal dependency of post-quantum cryptography: randomness. The generation of every ML-KEM key pair, the noise in every lattice sampling, the random masks in ML-DSA signatures — all need high-quality random bits. There is an old saying in cryptography: security proofs for algorithms assume perfect randomness, while the incident history of real systems is written largely in the randomness chapter. A post-quantum migration that changes algorithms without looking at entropy sources is like fitting a new lock with a copying machine for the old key.

The standard architecture of random number generation is defined by the NIST SP 800-90 series: a physical or system entropy source (whose evaluation 90B specifies) injects unpredictability into a seed, which a deterministic random bit generator (the DRBG mechanisms of 90A) expands into an output stream of arbitrary length, with 90C specifying the overall construction. Every link in this chain has well-defined failure modes, and failures are usually silent — keys generated from bad randomness are indistinguishable in appearance from good keys, until someone computes the private key.

Incident History: Three Ways Entropy Failure Kills

The first way to die is an entropy source weakened by human hands. In the Debian OpenSSL defect disclosed in 2008, a distribution maintainer, to silence memory-checker warnings, commented out the key code that mixed data into the entropy pool, collapsing the key space generated on that platform over two years to something enumerable from process IDs alone — the algorithms were impeccable, yet the keys could be rebuilt in bulk.

The second way is a weakness planted in the generator itself. Dual_EC_DRBG was once listed in SP 800-90A; its elliptic-curve parameters contained a mathematical structure allowing a knowing party to predict all output. After the relevant documents were disclosed in 2013, NIST removed it from the standard in 2014. The incident established a principle still in force: the origin of a random number generator’s parameters must be verifiable, and no “black-box constant” is acceptable.

The third way is a structural flaw in a key generation implementation. In the 2017 ROCA vulnerability, the public keys produced by one vendor’s RSA key generation library carried a special mathematical fingerprint that made them efficiently factorable — the problem was not the entropy of the random source, but bias in the method of prime generation. Three incidents, three different shapes, one conclusion: the randomness subsystem needs the same intensity of scrutiny as the algorithms.

What Changes in the Post-Quantum Era

Post-quantum algorithms amplify both the scale and the sensitivity of randomness demand. If the randomness of the sampling process in lattice key generation is predictable, an attacker can reconstruct the secret directly; the ML-DSA specification therefore explicitly provides a randomised (hedged) signing option, feeding the message hash together with randomness into mask generation, so that a brief entropy-source failure is still backstopped by message diversity — the formal adoption, inside a standard, of the idea of “not fully trusting one’s own entropy source”, philosophically complementary to deterministic signatures (such as the RFC 6979 line): one hedges with dual sources, the other eliminates randomness dependence by determinism.

The engineering state of play is layered: general computing platforms enjoy a mature ecosystem of operating-system entropy pools mixed with hardware instructions (mechanisms of the RDRAND class); the true risk band lies in embedded and IoT devices — the old problem of entropy starvation at early boot, with no disk and no user input, only sharpens as post-quantum key sizes grow. Against this, the marketing language of “quantum random number generators” deserves a cool head: quantum processes can supply entropy, but provable randomness comes from SP 800-90B-style health testing and entropy assessment, not from the word “quantum” itself.

The Entropy Problem in the Virtualisation Age

Cloud and virtualisation bring failure modes of entropy engineering that the classical era did not have. Rolling back a virtual machine snapshot also rolls back the DRBG’s internal state: the same state is used twice, the output stream after it repeats exactly, and session keys and signature randomness generated from it become predictable — structurally the same accident as state reuse in stateful hash-based signatures. When VMs are deployed in bulk from clones whose seed material is copied with the image, batches of devices share the same random sequence, and real products have suffered keys derivable from one another because of it. Countermeasures are gradually landing at the platform layer: mechanisms such as virtual machine generation ID (VMGenID) notify the guest to reseed on snapshot restoration and cloning, and mainstream operating systems and cryptographic libraries have adopted them; but in self-built virtualisation and edge device images, this notification chain often breaks.

The practical conclusion for deployers: the environment in which post-quantum keys are generated must list “the lifecycle of entropy sources and DRBG state” on its review checklist, at the same level as algorithm selection. The entropy conditions under which a key was generated decide whether it is truly unpredictable over the coming decades — not an attribute that can be repaired after the fact.

Defences are not without tools: SP 800-90B requires entropy sources to run health tests continuously at start-up and during operation — statistical sentinels such as the repetition count test and the adaptive proportion test can raise the alarm and block key generation when a source degenerates into constant output or severe bias. These tests cost almost nothing, yet in a large share of consumer and embedded products they are omitted, or implemented without anyone ever reviewing the logs when they fire. The entropy-source engineering gap is less a technology gap than a gap in actually carrying existing specifications through.

Open Questions

Three open questions dominate. First, feasible implementations of online entropy health monitoring on low-cost devices are still immature; most devices never re-examine their entropy source once in their lifetime. Second, the entropy evidence requirements for post-quantum key generation in certification evaluation (such as FIPS 140-3) are still being worked out, and evaluation laboratories’ practice has not converged. Third, the boundary for extending deterministic and hedged designs to more algorithms — they reduce entropy dependence, but introduce new attack surfaces under fault injection (deterministic signatures are more sensitive to fault attacks). Entropy is the one link in a cryptosystem that mathematics cannot backstop; the attitude toward it in the post-quantum era should shift from “presumed fine” to “continuously evidenced”.

Tags: RandomnessEntropy SourcesDRBGSpecial Report