On the Secrecy of the Encapsulation Coin in ML-KEM
Shows the ML-KEM encapsulation coin can be recovered or made predictable across six libraries and a reference implementation, via injection or build-time RNG substitution.
Schemes: ML-KEM, FIPS 203, Dual_EC_DRBG
Findings (quotes checked against the source text)
-
The ML-KEM shared secret is a deterministic function of the public key and the coin, so a known coin reveals the key.
The shared secret is a deterministic function of the public key and this coin, so a known coin is a recovered key.
-
Coin recovery is reachable in all six tested unmodified libraries and a from-scratch reference; only the guard around it differs.
On six unmodified libraries (OpenSSL 3.5, wolfSSL 5.9, AWS-LC, Go 1.26, Bouncy Castle 1.83, and CIRCL), and a from-scratch reference, the coin-recovery is reachable in every one; what differs is the guard, from a test-walled package in Go to an ordinary production call in wolfSSL.
-
A build-time generator substitution makes ordinary encapsulation predictable, while the public re-seed interface refuses to be.
A second path needs no injection function at all: substituting the generator at build time makes the ordinary encapsulation predictable, while the public re-seed interface correctly refuses to.
-
Outside the validated FIPS-140-3 configuration, coin secrecy depends on convention rather than construction.
Outside the validated FIPS-140-3 configuration that most deployments do not yet use, the coin's secrecy rests on convention, not construction.
For builders
Treat the ML-KEM encapsulation coin as a secrecy-critical input: audit the RNG and build configuration of any KEM library you ship, not just the algorithm.
Limits
Based on the ePrint abstract only, not the full text. Claims reachability of the coin, not a backdoor; no quantitative results are given in the abstract.