NIST SP 800-227, “Recommendations for Key-Encapsulation Mechanisms”, is the NIST Special Publication that explains how to use a key-encapsulation mechanism (KEM), such as ML-KEM from FIPS 203, safely inside real protocols. It covers how key pairs are handled, how keys are derived and confirmed, how hybrid secrets are combined and how all of this ties into FIPS 140-3 validation.
For organizations running operational technology (OT) and critical infrastructure, the document matters for one reason in particular. The tunnels that link substations, plants, control centres, cloud environments and remote engineers are where post-quantum key establishment gets deployed first. This article covers the parts of SP 800-227 that bear directly on encryption gateways and VPN or TLS tunnels.
What is NIST SP 800-227 and how does it relate to FIPS 203 ML-KEM?
FIPS 203 defines the ML-KEM algorithm. SP 800-227 explains how to use any approved KEM, ML-KEM included, correctly in applications and protocols. FIPS 203 itself points readers to SP 800-227 for “additional requirements, including requirements for using ML-KEM in specific applications.”
NIST approved FIPS 203 on 13 August 2024. The algorithm is derived from the CRYSTALS-KYBER submission to the NIST Post-Quantum Cryptography Standardization Project. SP 800-227 followed a year later. Its authors are Gorjan Alagic, Elaine Barker, Lily Chen, Dustin Moody, Angela Robinson, Hamilton Silberg and Noah Waller.
| Milestone | Date | Source |
|---|---|---|
| FIPS 203 published, 3 ML-KEM parameter sets (ML-KEM-512, -768, -1024) | 13 August 2024 | NIST CSRC, FIPS 203 |
| SP 800-227 initial public draft | 7 January 2025 | NIST CSRC document history |
| NIST Workshop on Guidance for KEMs | 25 to 26 February 2025 | NIST CSRC document history |
| SP 800-227 final (about 8 months after the draft) | 18 September 2025 | NIST CSRC document history |
The practical split is simple. Algorithm correctness questions (what ML-KEM.Encaps computes) belong to FIPS 203. Usage questions (when a key may be reused, how the shared secret becomes a session key, how a hybrid is built) belong to SP 800-227.
What does SP 800-227 require when an encryption gateway uses a KEM for key establishment?
SP 800-227 requires approved components at a suitable security strength, approved random bit generation, approved key derivation from the shared secret, and implementation in line with FIPS 140-3. A gateway that negotiates tunnel keys with ML-KEM has to get each of these right, not only the KEM itself.
Randomness and component strength
Requirement RS4 states that random bits shall be generated using approved techniques from the latest revisions of NIST SP 800-90A, SP 800-90B and SP 800-90C. In OT this is a real engineering issue. Embedded and virtual gateways that start from identical images, often at boot inside isolated networks, need a properly seeded DRBG under NIST SP 800-90A and an entropy source assessed under SP 800-90B. Requirement RS3 says that the other components (hash functions, KDFs, MACs) must meet or exceed the strength of the chosen ML-KEM parameter set.
Turning the shared secret into session keys
The KEM output is a shared secret key, not the traffic key. When it is used to derive further keys, SP 800-227 requires an approved key-derivation method from SP 800-108, NIST SP 800-56C or SP 800-133. For a gateway, this means the step that turns the ML-KEM secret into the traffic encryption keys must itself be an approved KDF, such as the HMAC-based two-step derivation in SP 800-56C Rev 2.
Protecting the decapsulation key and seed
FIPS 203 allows the 64-byte seed (d, z) to be stored instead of the expanded decapsulation key. It also requires that this seed be treated with the same safeguards as a decapsulation key. Gateway designers should give stored seeds the same zeroization and access controls as private keys.
When is key confirmation needed in KEM-based key establishment for VPN and TLS tunnels?
SP 800-227 treats key confirmation as a way to improve the security properties of the overall key establishment. It is not a mandatory step for every KEM exchange. It becomes important when a party has to show that it actually holds a key, for example to prove possession of a static decapsulation key.
In SP 800-227’s examples, both parties derive a separate key-confirmation key from the KEM shared secret. One party then sends a MAC tag computed over a defined MAC_Data string. That string includes a direction label, the parties’ identifiers and the ephemeral values (the encapsulation key and the ciphertext). If the tag does not verify, the exchange aborts. The document also names key confirmation as one method for proof of possession, and notes that it works for both static and ephemeral key pairs.
For tunnels, the protocol design decides the question. Modern tunnel protocols already contain transcript-bound MACs: TLS 1.3 has its Finished messages and IKEv2 has its AUTH payloads. These play a comparable role at protocol level. The practical questions for a gateway are these:
- Is the ML-KEM ciphertext and encapsulation key bound into the transcript that gets authenticated? If not, a tampered handshake may only show up as a silent decryption failure.
- If the design uses a static KEM key to authenticate a site, how does the peer confirm that the other side really holds the matching decapsulation key?
- Is the confirmation key separate from the traffic keys, as SP 800-227’s examples derive it?
For FIPS 140-3 validation, there is some relief here. The CMVP Implementation Guidance states that there is no self-test requirement for key-confirmation functionality.
What does SP 800-227 say about static vs ephemeral KEM keys in network protocols?
The final SP 800-227 adds firm definitions: an ephemeral key pair is used for one key establishment and then destroyed, and every other key pair is static. Static keys bring extra obligations, mainly proof of possession and binding to an identity.
Gorjan Alagic, one of the co-authors, summed up the distinction at the NIST KEM workshop: “ephemeral” = use once, then destroy. He noted that anything else is static and comes “with baggage”, meaning the holder must be able to prove the key belongs to them.
| Aspect | Ephemeral KEM key pair | Static KEM key pair |
|---|---|---|
| Lifetime | One key-establishment transaction, then destroyed | Reused across sessions or peers |
| Typical tunnel role | Fresh key exchange per handshake or rekey, giving forward secrecy | Authenticating a site or server, often via a certificate |
| Extra obligations | Reliable destruction of the decapsulation key and seed | Proof of possession, certificate binding, long-term key protection |
| SP 800-227 examples | Key-confirmation example with an ephemeral key pair | Static-ephemeral and bilateral authenticated key establishment using only KEMs |
SP 800-227 also gives examples of authenticated key establishment built from KEMs alone. The static-ephemeral scheme combines a shared secret from a certified static KEM key with one from a freshly generated ephemeral KEM key pair. This gives both authentication and forward secrecy. For site-to-site gateways, the operational lesson is to rekey often with ephemeral pairs and to make sure “ephemeral” really means destroyed after use, not cached for performance. As one example of short rekey intervals, the QPN gateway from Quantum Network renews both its classical and its ML-KEM handshake every two minutes.
How does SP 800-227 treat key combiners in hybrid ECDH and ML-KEM key exchange?
SP 800-227 allows hybrid post-quantum/traditional key establishment but does not require it. It approves a concatenation-based combiner, in which the shared secrets are joined and fed into an approved key-derivation method. This is approved as long as at least one of those secrets comes from an approved key-establishment method.
The approved form is K ← KDM(S1 || S2 || … || St, OtherInput). Here the S values are the component shared secrets, for example an ECDH secret under SP 800-56A Rev 3 and an ML-KEM secret under FIPS 203. This builds on SP 800-56C Rev 2, which already allowed an approved shared secret Z to be extended with an additional secret T (Z || T) to support hybrid modes. The workshop discussions also clarified the order of inputs, that is, whether the ECDH or the ML-KEM secret comes first in the KDF input. Gateways on both ends must therefore agree on the exact order and encoding.
NIST adds an important caution in FIPS 203: “However, a combined KEM that includes ML-KEM as a component might not meet IND-CCA2 security.” Implementers are expected to assess any construction that applies SP 800-56C derivation to ML-KEM in combination with another scheme. In practice, this means including the ciphertexts and public shares in the KDF context, or in the authenticated transcript, rather than hashing the raw secrets alone.
Protocol standards now follow this model. IETF RFC 10024, which defines hybrid ECDHE and ML-KEM key agreement for TLS 1.3, explicitly refers to SP 800-227 for hybrid constructions. As one product example, Quantum Network’s QPN gateway combines a classical and an ML-KEM part into one session key. When you evaluate any hybrid gateway, ask which KDF performs the combination, in what order the secrets enter it, and what context data is bound to them.
How do SP 800-227 requirements affect FIPS 140-3 validation of gateway crypto modules?
SP 800-227 requires KEM implementations to follow FIPS 140-3 and its implementation guidance. The Cryptographic Module Validation Program (CMVP) has since folded SP 800-227 into that guidance. This includes a dedicated scenario for hybrid KEMs.
The document is explicit that implementations should be validated by the Cryptographic Algorithm Validation Program (CAVP) and the CMVP, because “mistakes in implementations can easily lead to security vulnerabilities or a loss of usability.” In April 2026 the CMVP updated FIPS 140-3 Implementation Guidance D.S (Key Encapsulation Mechanisms) with SP 800-227 guidance. The update added Scenario 2 for hybrid KEMs and new Additional Comments 6, 7 and 8. A related CMVP process document recognizes as approved those hybrids built under IG D.S Scenario 2 and SP 800-227 Section 4.6.2, using one or more ML-KEM components plus one or more non-ML-KEM components.
For gateway crypto modules, this has concrete effects:
- Self-tests: CMVP staff told the 2025 KEM workshop that separate encapsulation and decapsulation known-answer tests are required. The decapsulation test must cover both the implicit-rejection path and the normal path.
- Boundary: the KDF that combines ECDH and ML-KEM secrets, the DRBG under SP 800-90A and the key-zeroization logic all need to sit inside the validated boundary for the hybrid to count as approved.
- Procurement checks: an ML-KEM algorithm certificate from CAVP is a prerequisite, not a module validation. Look up the CMVP certificate and read the security policy to see which parameter sets, KDFs and hybrid modes are listed as approved.
What should OT and critical infrastructure teams check first?
Start with the long-lived links that carry data needing confidentiality for years, and check them against SP 800-227 before you change anything else.
- Inventory every tunnel between sites, clouds and remote users, and record its key-establishment method and rekey interval.
- For each tunnel that uses ML-KEM, confirm that the key pairs are truly ephemeral, or document proof of possession for static ones.
- Ask for the hybrid combiner specification: the KDF, the input order and the context binding.
- Check the random bit generation claims against SP 800-90A and SP 800-90B, especially for virtual gateways cloned from templates.
- Read the CMVP validation status and security policy for the actual module version you deploy.
NIST’s own transition guidance is direct about timing: organizations “must identify where vulnerable algorithms are used and plan to replace or update them.” For OT networks with long equipment lifecycles, the gateways that terminate site-to-site and remote-access tunnels are usually the most practical place to start.
Where Quantum Network fits
Quantum Network is a quantum-safe encryption gateway that protects the connections between your own locations, without replacing the network equipment you already run.
Frequently asked questions
Is NIST SP 800-227 mandatory for OT and critical infrastructure operators?
Does SP 800-227 require hybrid ECDH plus ML-KEM key exchange?
Can a gateway reuse an ML-KEM key pair across many tunnels?
Which ML-KEM parameter set should a site-to-site gateway use?
Does an algorithm certificate for ML-KEM mean the gateway is FIPS 140-3 validated?
Sources
- NIST News (2025)
- NIST SP 800-227 (final) (2025)
- NIST SP 800-227 (final), NIST publication server (2025)
- NIST CSRC announcement (2024)
- NIST FIPS 203 (2024)
- Gorjan Alagic, NIST KEM workshop presentation (2025)
- NIST Crypto Club presentation, SP 800-56 series (2025)
- NIST CMVP, FIPS 140-3 IG Announcements (2026)
- NIST CAVP/CMVP Perspective on KEMs, workshop presentation (2025)
- IETF RFC 10024 (2026)
- NIST IR 8547 (2026)

Skip to content