FIPS 203 vs FIPS 204: key establishment and signatures

FIPS 203 specifies ML-KEM, a key-encapsulation mechanism for establishing a shared secret, while FIPS 204 specifies ML-DSA, a digital signature algorithm. They solve different problems and are usually both needed.

On this page

What FIPS 203 and FIPS 204 each cover, and which one your system needs

FIPS 203 specifies ML-KEM, a key-encapsulation mechanism for establishing a shared secret key, while FIPS 204 specifies ML-DSA, a set of algorithms for digital signatures. The key distinction is key establishment versus signing: ML-KEM lets two parties agree on a secret over a public channel, which can then support symmetric-key tasks such as encryption and authentication, and ML-DSA is used to detect unauthorized changes to data and to authenticate the signer. The two standards solve different problems, so a system that needs one does not automatically need the other.

You are likely to meet this question when a vendor document lists both names under post-quantum support, when a tender asks which of NIST's standards a product implements, or when an auditor requests evidence for a specific function. In those documents, a claim about encryption or TLS key exchange points to ML-KEM, while a claim about signing software, certificates, firmware or documents points to ML-DSA. Read the vendor statement for the function it names, not only for the standard number, and check whether the product supports one, the other, or both.

Before you decide, confirm which operations your system performs and which version of each standard the product implements. FIPS 203 defines three parameter sets, ML-KEM-512, ML-KEM-768 and ML-KEM-1024, and FIPS 204 defines its own family of parameter sets, so ask the vendor which ones are supported. Certificate profiles are defined separately in IETF RFCs, so verify the certificate format in use. Where a claim is unclear, ask for the specific function, parameter set and version, and check them against the standard itself.

FIPS 203 and FIPS 204 side by side: algorithm, purpose, parameter sets and sizes

This table sets the two federal lattice-based standards against each other on the attributes the sources give: what each algorithm does, its parameter sets, its byte sizes and its X.509 identifiers. Read across each row to see where key establishment (FIPS 203, ML-KEM) and signatures (FIPS 204, ML-DSA) differ. The main takeaway is that the two standards use different sizes, output types and certificate key usages, so they cannot be swapped in a system design.

AttributeFIPS 203 (ML-KEM)FIPS 204 (ML-DSA)
Algorithm nameML-KEM, a key-encapsulation mechanismML-DSA, a digital signature algorithm
TitleModule-Lattice-Based Key-Encapsulation Mechanism StandardModule-Lattice-Based Digital Signature Standard
Publication date13 August 2024, final standard13 August 2024, final standard
PurposeLets two parties establish a shared secret over a public channelGenerates and verifies signatures to detect changes and authenticate the signer
Parameter setsML-KEM-512, ML-KEM-768, ML-KEM-1024ML-DSA-44, ML-DSA-65, ML-DSA-87
Key and output sizes in bytes512: encapsulation key 800, decapsulation key 1632, ciphertext 768. 768: 1184, 2400, 1088. 1024: 1568, 3168, 1568. Shared secret 32 at every level (RFC 9935 Table 1)44: signature 2420, public key 1312, expanded private key 2560. 65: 3309, 1952, 4032. 87: 4627, 2592, 4896. A private key may instead be stored as a 32-byte seed (RFC 9881 Table 2)
Defining RFC for X.509RFC 9935, Standards Track, published March 2026RFC 9881, Standards Track, published October 2025
X.509 OIDs2.16.840.1.101.3.4.4.1 (512), .4.2 (768), .4.3 (1024)2.16.840.1.101.3.4.3.17 (44), .18 (65), .19 (87)

What FIPS 203 is for and what FIPS 204 is for

FIPS 203 specifies ML-KEM, a key-encapsulation mechanism. It lets two parties establish a shared secret key over a channel that anyone can observe. That shared secret can then support symmetric-key tasks such as encryption and message authentication. ML-KEM is therefore a key establishment standard: it answers the question of how two endpoints agree on keys, not how a document or a certificate is signed.

  • Three parameter sets: ML-KEM-512, ML-KEM-768 and ML-KEM-1024, listed in order of increasing security strength and decreasing performance.
  • Byte sizes: RFC 9935 gives the sizes. ML-KEM-768 uses a 1184-byte encapsulation key, a 2400-byte decapsulation key and a 1088-byte ciphertext, with a 32-byte shared secret at every level.
  • Certificates: RFC 9935, a Standards Track document published in March 2026, defines ML-KEM identifiers and key conventions for X.509 certificates. The only key usage bit it allows is keyEncipherment.
  • TLS and OpenSSL: OpenSSL 3.5.0, released on 8 April 2025, added ML-KEM and its default TLS supported-groups list includes hybrid post-quantum KEM groups, with X25519MLKEM768 and X25519 as default keyshares.
  • Guidance: NIST SP 800-227, published as final on 18 September 2025, gives recommendations for implementing and using KEMs.

Check which parameter set and hybrid group your TLS stack actually negotiates, and confirm the version of your library, since defaults differ between releases.

Which differences matter in practice for systems and configurations

FIPS 203 and FIPS 204 cover different jobs, so the choice between them follows from what a system must do: establish a shared secret or sign and verify data. The cards below set out where that split shows up in certificates, parameter sizes, TLS negotiation and validation prerequisites.

One standard establishes keys, the other signs

FIPS 203 specifies ML-KEM, a key-encapsulation mechanism that lets two parties agree on a shared secret over a public channel. FIPS 204 specifies ML-DSA, which generates and verifies digital signatures to detect changes to data and authenticate the signer. A system that encrypts a session needs ML-KEM, while a system that signs code, documents or certificates needs ML-DSA. Check which operation each component performs before assigning either algorithm.

FIPS 203 text

Separate certificate key usage and OIDs

RFC 9935 defines ML-KEM certificates with OIDs 2.16.840.1.101.3.4.4.1, .4.2 and .4.3, and allows only the keyEncipherment key usage bit. RFC 9881 defines ML-DSA certificates and CRLs with OIDs 2.16.840.1.101.3.4.3.17, .18 and .19. A certificate issued for one algorithm family cannot be reused for the other, so PKI teams must plan separate profiles and confirm that their CA software issues each with the correct OID and usage.

RFC 9935 text

Parameter sets drive key and signature size

ML-KEM-768 uses a 1184-byte encapsulation key and a 1088-byte ciphertext, while ML-DSA-65 produces a 3309-byte signature with a 1952-byte public key. Signatures are considerably larger than the key exchange messages, which affects handshake sizes, certificate chain weight and storage. Compare the sizes for each chosen parameter set in the relevant RFC tables before sizing buffers, packets or certificate stores.

RFC 9881 tables

TLS negotiates key exchange, not signatures

In a TLS handshake, ML-KEM is negotiated as a key exchange group, while the server's authentication uses a signature algorithm chosen separately. OpenSSL 3.5.0 added ML-KEM and ML-DSA support and prefers hybrid groups such as X25519MLKEM768 by default. Configuring a post-quantum key exchange group does not make the server's certificate post-quantum, so review the group list and the certificate chain as two separate settings.

OpenSSL 3.5 notes

Validation prerequisites differ by algorithm

The CAVP prerequisites page lists SHA3-256, SHA3-512, SHAKE128 and SHAKE256 for ML-KEM validation, but only SHAKE128 and SHAKE256 for ML-DSA. SP 800-140C lists ML-DSA under approved security functions and does not mention ML-KEM. A module that validates for one algorithm therefore cannot be assumed to cover the other, so ask the vendor for the validation entries for each function you intend to use.

CAVP prerequisites

The standards do not substitute for each other

ML-KEM and ML-DSA are not interchangeable: an ML-DSA key cannot perform key establishment, and an ML-KEM key cannot sign. A system that needs both confidentiality and authentication must deploy both, with each key stored, rotated and certified for its own purpose. Confirm in architecture reviews that each use case names the standard it relies on, so that gaps are not hidden by a general reference to post-quantum cryptography.

FIPS 204 text

Where ML-KEM and ML-DSA show up in protocols, certificates and products

ML-KEM and ML-DSA appear in different places in a system, so the first step is to map which component handles each function. ML-KEM (FIPS 203) is a key-encapsulation mechanism, so it is the part that establishes a shared secret. In TLS, that role falls to the key exchange group. OpenSSL 3.5.0, released on 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA support, and its default TLS supported-groups list now includes and prefers hybrid post-quantum KEM groups, with default keyshares of X25519MLKEM768 and X25519. Engineers running OpenSSL should check the Groups and keyshare settings in their own configuration, and confirm that the peers they talk to negotiate the same group, since the defaults in the release notes do not show what a given deployment actually offers.

ML-DSA (FIPS 204) is a signature algorithm, so it shows up in certificates and CRLs rather than in key exchange. RFC 9881, a Standards Track document published in October 2025, defines ML-DSA use in X.509 certificates and CRLs, with OIDs 2.16.840.1.101.3.4.3.17, .18 and .19 for ML-DSA-44, ML-DSA-65 and ML-DSA-87. RFC 9935, a Standards Track document published in March 2026, defines ML-KEM identifiers and key conventions for X.509 certificates, with OIDs .4.1, .4.2 and .4.3 for the three parameter sets, and it allows only the keyEncipherment key usage bit. Certificate authorities, PKI teams and product owners should confirm that their issuance and validation tooling supports these OIDs before planning any change.

Before a product can be deployed in a regulated environment, the cryptographic module behind it needs validation evidence. The CAVP prerequisites page lists SHA3-256, SHA3-512, SHAKE128 and SHAKE256 as prerequisites for ML-KEM validation, and SHAKE128 and SHAKE256 for ML-DSA keyGen, sigGen and sigVer. The SP 800-140C page, updated 4 December 2026, lists ML-DSA under approved security function heading 6.2.3.1 and does not mention ML-KEM, so the sources do not establish the same approved-function status for both. Procurement and compliance teams should ask vendors for the specific CAVP certificates and the approved function list for each algorithm, rather than assuming parity between the two.

How to work out which standard applies to your system

This sequence sorts each system into one of two roles: where keys are established, which points to FIPS 203 and ML-KEM, and where data is signed, which points to FIPS 204 and ML-DSA. Each step records what to check and the evidence that closes it, so the answer can be reviewed later.

  1. Check the requirement or contract

    Start with the text that binds the system: the internal security policy, the customer contract, or the federal requirement that names a standard. Read the wording for the named standard, FIPS 203, FIPS 204 or both, and note which function it attaches to, such as key establishment, digital signatures or both. Record the clause reference and the date of the document you read. This step is done when you can state, in one sentence per requirement, which standard it names and for what function. If the requirement names neither standard, record that and move on, because the later steps still apply.

  2. Map keys established versus data signed

    Walk your cryptographic inventory and mark every place a system does one of two things: agrees a shared secret key over a channel, or produces a signature that detects changes or authenticates a signer. Key establishment usually sits in TLS handshakes, VPN tunnels and key wrapping. Signing usually sits in code signing, document signing, firmware updates and certificate issuance. Label each entry with its function. Most systems do both, so a single component can appear under two labels. This step is done when every inventory line carries one of the two labels or is marked as neither.

  3. Read vendor documentation for algorithm identifiers

    For each component that performs key establishment or signing, open the vendor documentation and find the algorithm identifiers it lists as supported. Look for names such as ML-KEM-512, ML-KEM-768, ML-KEM-1024, ML-DSA-44, ML-DSA-65 and ML-DSA-87, and note the version that carries them. Check whether the vendor states that a feature is enabled by default or must be configured. Record the version number and the identifiers exactly as written. This step is done when each component has a list of supported identifiers tied to a version. Do not assume that a listed name means the feature is turned on in your deployment.

  4. Check certificate profiles for usage bits and OIDs

    Where certificates carry these algorithms, compare the certificate profile in use against the profile the standards define. For key establishment, the ML-KEM profile in RFC 9935 allows only the keyEncipherment key usage bit, and the object identifiers differ for each parameter set. For signatures, the ML-DSA profile in RFC 9881 uses separate object identifiers for each parameter set, and the certificate must carry them. Compare the usage bits and object identifiers in your issued or planned certificates against these profiles, and note any mismatch. This step is done when you have a written comparison for each certificate type, with each difference flagged.

  5. Confirm validation prerequisites for your module

    Identify the cryptographic module each system uses and check whether the module must be validated for the standard that applies. Read the prerequisites list on the NIST validation program pages, which name the supporting algorithms needed before ML-KEM or ML-DSA can be validated, such as the SHA-3 and SHAKE functions. Then check whether the module's approved security function list includes the relevant algorithm. Ask the module vendor for the validation certificate number and the version it covers. This step is done when you know, for each module, whether validation covers the algorithm you need, and where you have a gap, you have an open question for the vendor.

  6. Record the mapping and confirm with the owner

    Gather the results from the earlier steps into one table with one row per system. Each row should give the required standard, the function, the supported identifiers, the certificate profile status and the validation status. Send the table to the system owner and to the compliance reviewer, and ask each to confirm the entries that fall within their responsibility. Store the table with a date and a version number so it can be checked at the next review. This step is done when each row has a named owner who has confirmed it, and every open question has an assigned contact and a due date.

How ML-KEM and ML-DSA sit in a TLS handshake and certificate chain

The diagram starts with a client and a server opening a TLS connection. During the handshake, the parties use ML-KEM (FIPS 203) as a key-encapsulation mechanism to establish a shared secret. Separately, the server's certificate chain carries ML-DSA (FIPS 204) signatures, which the client verifies against the certificate authority's public key. Check that each step names the parameter set in use, since the key sizes differ by level. The two algorithms do different jobs: one establishes the session key, the other authenticates the certificate. Confirm both are supported by your TLS library version before relying on them.

ML-KEM sets up the session key while ML-DSA authenticates the certificate chain.

Whether ML-KEM and ML-DSA are used together, and how hybrid groups fit

ML-KEM from FIPS 203 and ML-DSA from FIPS 204 do different jobs, so they are not alternatives to each other. ML-KEM is a key-encapsulation mechanism: it lets two parties establish a shared secret over a public channel, which then supports symmetric-key work such as encryption. ML-DSA produces and verifies digital signatures, which detect unauthorized changes to data and authenticate the signer. A system that encrypts sessions and signs certificates or software will often need both, and the two standards commonly appear together in one deployment. The sources listed on this page do not describe either standard replacing the other.

In TLS, the key exchange side and the authentication side are handled separately, so a reader should check each path on its own. OpenSSL 3.5.0, released on 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA support, and its default TLS supported-groups list includes and prefers hybrid post-quantum KEM groups. The default keyshares are X25519MLKEM768 and X25519, so a hybrid group that combines a classical elliptic curve exchange with ML-KEM is the expected first choice for key exchange in that release. Signatures and certificates follow a different path, governed by the certificate profile RFC 9881 defines for ML-DSA in X.509.

Confirm the exact combinations for the versions you run before planning a migration. Check which key exchange groups and signature algorithms your TLS library, load balancers, identity providers and private certificate authority negotiate and issue, and whether a hybrid group is preferred or only offered. Read the OpenSSL 3.5 release notes for the defaults in that release, and check your vendors' documentation for theirs, since a version that supports ML-KEM does not necessarily prefer the same groups as OpenSSL 3.5.0.

Common mix-ups between ML-KEM, ML-DSA and their FIPS numbers

Is FIPS 203 the same thing as ML-KEM?

Yes, FIPS 203 is the NIST standard that specifies ML-KEM, a key-encapsulation mechanism. The document number and the algorithm name refer to the same specification, but they are not interchangeable in every context. Engineers reading a vendor document should check which name it uses, because some product documentation cites the algorithm, some cites the FIPS number, and some cites the RFC that defines its X.509 identifiers. FIPS 203 is titled Module-Lattice-Based Key-Encapsulation Mechanism Standard and was published on 13 August 2024. When a configuration file or certificate profile names ML-KEM, confirm which parameter set (512, 768 or 1024) it selects.

Does every TLS handshake use both ML-KEM and ML-DSA?

No. ML-KEM is used for key establishment, and ML-DSA is used for digital signatures, so the two perform different jobs in a protocol. A TLS handshake can negotiate a post-quantum key exchange without any post-quantum signature, and a certificate can be signed with ML-DSA while the session key is established by a classical group. OpenSSL 3.5.0, released on 8 April 2025, added support for both algorithms and lists hybrid key exchange groups such as X25519MLKEM768 as defaults. Whether a given connection uses ML-DSA depends on the certificate chain your endpoints present, so check the certificate and the negotiated groups separately.

Do parameter sets 512, 768 and 1024 map directly to security levels?

They are related but not identical. FIPS 203 lists ML-KEM-512, ML-KEM-768 and ML-KEM-1024 in order of increasing security strength and decreasing performance. RFC 9935 associates ML-KEM-512 with level 1, ML-KEM-768 with level 3 and ML-KEM-1024 with level 5. ML-DSA uses a different numbering: RFC 9881 associates ML-DSA-44 with level 2, ML-DSA-65 with level 3 and ML-DSA-87 with level 5. The number in the name is not a bit count or a level on its own, so a 768 and a 65 do not describe the same thing. Confirm the level each standard and RFC assigns before writing a policy that depends on it.

Are ML-KEM key sizes the same as ML-DSA signature sizes?

No. The two algorithms have different objects with different byte lengths, and they are easy to confuse in capacity planning. RFC 9935 gives ML-KEM-768 an encapsulation key of 1184 bytes, a decapsulation key of 2400 bytes and a ciphertext of 1088 bytes, with a 32-byte shared secret at every level. RFC 9881 gives ML-DSA-65 a signature of 3309 bytes, a public key of 1952 bytes and an expanded private key of 4032 bytes. A private key for ML-DSA can also be stored as a 32-byte seed. When sizing certificates, handshakes or storage, read the field that matches the object you are measuring.

Do the FIPS 203 and FIPS 204 errata mean the algorithms changed?

The sources do not describe a change to algorithm behavior from either errata note. The NIST FIPS 203 page carries a planning note dated 17 November 2025 saying an identified issue will be corrected in a future update or revision, with details in an errata spreadsheet. The FIPS 204 page says several minor errata will be corrected in a future update or revision. Read the errata spreadsheet and the revision history before deciding whether a finding affects your implementation. Confirm that your library or module version reports the revision it implements, and retest interoperability if your vendor documentation names a specific revision.

Does a FIPS number mean a product is validated?

No. A FIPS number names a standard, and it does not show that a product implements it correctly or has been tested. Algorithm conformance is checked through the NIST Cryptographic Algorithm Validation Program (CAVP), which lists prerequisites such as SHA3-256 and SHAKE128 for ML-KEM and ML-DSA. Module-level validation is a separate process under FIPS 140-3. Ask the vendor for a CAVP certificate number and a CMVP module entry that name the exact version, and do not accept a statement that the product is compliant with FIPS 203 or FIPS 204 on its own.

Which document tells me how to use ML-KEM in an application?

NIST SP 800-227, Recommendations for Key-Encapsulation Mechanisms, is a final publication dated 18 September 2025, and it gives guidance on implementing and using KEMs. FIPS 203 defines the algorithm itself, so it answers what ML-KEM computes rather than how an application should call it. For X.509 certificates that carry ML-KEM keys, RFC 9935 defines the identifiers and sets keyEncipherment as the only permitted key usage bit. Engineers should read the standard for the algorithm, the guidance for usage, and the RFC for certificate encoding, and confirm which of these their vendor follows.

How DeployOpen works on this

DeployOpen approaches FIPS 203 and FIPS 204 by first identifying which of your systems need a key establishment mechanism and which need a digital signature, since the two standards cover different functions. We then plan, implement and document changes in your own infrastructure, so your security and compliance teams can review the decisions and evidence directly.

How we scope

  • We identify which systems perform key establishment with ML-KEM under FIPS 203 and which perform signing with ML-DSA under FIPS 204.
  • Each engagement is fixed-scope, with the systems, deliverables and timelines agreed in writing before work starts.
  • We confirm which parameter sets are in use, such as ML-KEM-768 or ML-DSA-65, and record them in the written scope.

How we build

  • We configure the components that terminate encryption and sign data, checking each against the FIPS 203 or FIPS 204 requirements that apply to it.
  • We check certificate and key encodings against RFC 9935 for ML-KEM and RFC 9881 for ML-DSA before deployment.
  • We test the configured systems and report the results against the agreed scope, so you can confirm the changes behave as intended.

How we hand over

  • We document each configuration decision, including which standard governs each function and which parameter set was chosen.
  • We deliver the evidence your auditors and assessors will ask for, organized so your teams can check it without us present.
  • We hand over runbooks and configuration records so your own engineers can operate and update the deployed systems.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial handover.
  • We track updates to FIPS 203 and FIPS 204 errata and revisions, and confirm whether your deployed configuration is affected.
  • Ask us to confirm validation status for your specific module and version, since DeployOpen does not issue certifications.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.