Funding ML-KEM Migration Around Entropy Failure
An ML-KEM migration needs an explicit answer to entropy failure before it needs faster key generation. Replacing ephemeral elliptic curve agreement changes the handshake, but preserving availability depends on how randomness, secret ownership and admission control behave together. The budget must buy demonstrable continuity under failure, with latency, connection rejection and secret retention measured against the existing stack.
Correct the seed contract first
ML-KEM key generation consumes independently generated random inputs d and z, each 32 bytes long, through an approved random bit generator. The seed d drives the underlying encryption key generation, while z supplies the secret used for implicit rejection during decapsulation. Describing this as dual seed expansion through SHAKE256 obscures the actual construction: initial expansion of d with the parameter identifier uses SHA3-512, while SHAKE256 serves other prescribed functions. Retaining the seed pair permits reconstruction of the decapsulation key, so compact storage preserves the secret rather than eliminating it. These distinctions follow the NIST key generation specification. Fund the provider integration and conformance work against measurable reductions in incompatible key encodings and failed interoperability tests, then price seed storage savings against reconstruction latency and the duration of recoverable secret exposure.
Make entropy failure a routing event
When the hardware entropy source fails its health tests, route new handshakes to independently provisioned capacity, preserve established sessions whose traffic keys remain valid, and measure both rejected admissions and recovery time before accepting the redundancy bill.
Pay for independence, then prove it
The entropy assurance branch of NIST's cryptographic guidance treats noise sources, conditioning and health testing as distinct responsibilities, so raw hardware output should not become application seed material merely because the device advertises a true random generator. Its entropy source guidance provides the assessment basis, while the implementation must connect source health to the random generator's operating policy. A previously seeded deterministic generator may continue only where its documented reseeding requirements and failure policy permit, never because the application has suppressed a health alarm. Spare workers sharing the same entropy device do not establish an independent recovery path, so justify separate provisioning by the admitted handshake capacity retained during deliberate source isolation. The painful operational cost is reserving capacity that normally earns little traffic, and the decision rule is to approve it only when a source isolation drill meets the agreed admission and latency objectives without reusing seeds or relaxing cryptographic policy.
Migrate the handshake and the secret lifetime together
Introduce ML-KEM through a maintained protocol implementation with an authenticated hybrid exchange, retaining the classical component during migration and measuring the added processor time, handshake bytes and tail latency per successful connection. Charge compatibility work against observed negotiation failures across the actual client fleet, and keep any permitted legacy cohort explicit so an entropy outage cannot silently become permission to downgrade. Ephemeral key generation also requires bounded ownership: erase d and z after their last required use, retain the decapsulation key only through the protocol's legitimate completion window, then clear temporary copies through an erasure primitive the compiler must preserve. Restricting dumps, swap exposure and secret copying consumes engineering time and reduces diagnostic convenience, so evaluate that expenditure through measured secret lifetimes and controlled memory inspection rather than a claim of zero traces. Advance deployment only when the source failure drill and secret lifetime checks pass at representative load, accepting delayed rollout if the alternative is availability purchased through reusable secrets.