ML-DSA vs SLH-DSA: lattice and hash-based signatures

ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) are both NIST post-quantum signature standards, but ML-DSA is lattice-based with smaller signatures while SLH-DSA is hash-based with much larger signatures and a more conservative design basis. Which one applies depends on the signature size your protocols can carry and the certificate profiles your PKI uses.

On this page

ML-DSA vs SLH-DSA: which signature standard applies to your systems

A vendor document, tender or audit request may name both ML-DSA and SLH-DSA as post-quantum signature options. ML-DSA is a lattice-based signature standard specified in FIPS 204, and SLH-DSA is a stateless hash-based signature standard specified in FIPS 205 and based on SPHINCS+. For most engineering decisions, the difference that matters first is signature size: the signatures SLH-DSA produces are much larger than those of ML-DSA, and that affects certificate chains, handshake messages and storage, not just the choice of a name.

This question usually reaches public key infrastructure teams, security architects, vendor-risk reviewers and procurement staff. It appears in X.509 certificate profiles, in TLS 1.3 signature scheme lists and in product documents that describe which algorithms a component supports. The IETF has defined ML-DSA for X.509 certificates in RFC 9881, which specifies only the pure variant of ML-DSA, and RFC 9909 defines the corresponding SLH-DSA encodings, with separate pure and HashSLH-DSA object identifiers.

Before accepting a claim that a product supports one or both algorithms, confirm the exact parameter set, the pure or pre-hash form, and the version or edition the vendor tested. RFC 9909 notes that a key's object identifier also fixes its signature variant, so a pure SLH-DSA key cannot be used for HashSLH-DSA signing. The TLS ML-DSA draft, which at the time of writing sits in the RFC Editor queue, defines the TLS 1.3 scheme values for ML-DSA and says that CertificateVerify does not use the HashML-DSA variants. Ask vendors which of these forms they implement and whether the parameter set matches the one named in your certificate or contract requirements.

A practical next step is to list, for each system, which signature role it plays (certificate issuance, TLS server authentication, code or document signing) and what the size of a signature and public key means for that role. Check the relevant encodings in the source documents, such as RFC 9881 and RFC 9909, rather than relying on summaries, and confirm sizes against the parameter set your vendor actually ships.

ML-DSA and SLH-DSA side by side: standard, defining documents, sizes and status

This table sets ML-DSA and SLH-DSA against each other on construction, standards, X.509 and TLS definitions, parameter sets, key and signature sizes and support. Read each row as a separate attribute, and check the version you run against the cited document. The main takeaway is that the two schemes differ most in signature size, and that ML-DSA is limited to the pure variant in X.509.

AttributeML-DSASLH-DSA
Type of constructionLattice-based signature schemeStateless hash-based signature scheme, based on SPHINCS+
Standard and dateFIPS 204, final on 13 August 2024FIPS 205, final on 13 August 2024
X.509 definitionRFC 9881, pure ML-DSA variant only, HashML-DSA prohibitedRFC 9909, pure and HashSLH-DSA variants, each with its own OIDs
TLS 1.3 definitiondraft-ietf-tls-mldsa-06, still an Internet-Draft in the RFC Editor queueThe sources listed on this page do not give a TLS definition for SLH-DSA
Parameter setsML-DSA-44, ML-DSA-65, ML-DSA-87Twelve pure sets and twelve HashSLH-DSA sets, with 's' (smaller signature) and 'f' (larger signature) forms
Public key size (bytes)1312 (44), 1952 (65), 2592 (87)32 (128s and 128f), 48 (192s and 192f), 64 (256s and 256f)
Signature size (bytes)2420 (44), 3309 (65), 4627 (87)7,856 (128s), 17,088 (128f), 16,224 (192s), 35,664 (192f), 29,792 (256s), 49,856 (256f)
SupportOpenSSL 3.5.0 lists ML-DSA as a new feature (8 April 2025)OpenSSL 3.5.0 lists SLH-DSA as a new feature (8 April 2025)

What ML-DSA and SLH-DSA are, and where practitioners meet them

ML-DSA is the digital signature algorithm specified in NIST FIPS 204, which NIST published as a final standard on 13 August 2024, following a draft dated 24 August 2023. It is a lattice-based scheme, and the sources treat it as the general-purpose signature standard among the NIST post-quantum signatures. RFC 9881 defines how ML-DSA appears in X.509 certificates and CRLs for three parameter sets, ML-DSA-44, ML-DSA-65 and ML-DSA-87.

  • X.509 identifiers: RFC 9881 gives the OIDs id-ml-dsa-44 (2.16.840.1.101.3.4.3.17), id-ml-dsa-65 (2.16.840.1.101.3.4.3.18) and id-ml-dsa-87 (2.16.840.1.101.3.4.3.19).
  • Pure variant only: RFC 9881 specifies only the pure ML-DSA variant and prohibits HashML-DSA in X.509 certificates.
  • Public key and signature sizes: RFC 9881 lists 1312 and 2420 bytes for ML-DSA-44, 1952 and 3309 bytes for ML-DSA-65, and 2592 and 4627 bytes for ML-DSA-87, as public key and signature.
  • TLS 1.3 draft values: draft-ietf-tls-mldsa-06 defines SignatureScheme values mldsa44 (0x0904), mldsa65 (0x0905) and mldsa87 (0x0906). That draft is an Informational Internet-Draft in the RFC Editor queue, so the values may change before publication.
  • Context string: the draft says CertificateVerify uses ML-DSA.Sign and ML-DSA.Verify with an empty context string and not the HashML-DSA variants.

Before relying on any of these identifiers, confirm the RFC or draft revision your certificate authority, TLS library and HSM implement, and check that the values match the versions you run.

Where ML-DSA and SLH-DSA differ in practice

ML-DSA and SLH-DSA are both NIST signature standards, but they make different trade-offs in signature size, key handling and operational limits. The cards below set out where those differences show up in certificates, protocol messages and key management, so you can check each point against your own systems.

Signature size

ML-DSA-44 produces a 2420 byte signature, while SLH-DSA-128s produces a 7,856 byte signature at the same NIST security category. The size difference affects certificate chains, handshake messages and any protocol with fixed message budgets. Confirm the exact sizes for the parameter set you deploy against the RFC tables before sizing buffers or bandwidth.

SLH-DSA-128s signature
7,856 bytes
RFC 9909 sizes

OIDs tie keys to signatures

In X.509, the object identifier on a key also names its signature algorithm, so a pure SLH-DSA key cannot be used for HashSLH-DSA signing, or the reverse. Certificate profiles, CSR templates and key stores must carry the correct OID for the variant in use. Review every issuance template and HSM configuration for the OID it emits.

RFC 9881 OIDs

Signature count limit per key

RFC 9909 discusses a limit of 2^64 signatures per SLH-DSA key, which applies to the key itself rather than to a deployment. Teams that sign at very high volume or reuse one key across many systems should track signing counts and plan rotation. ML-DSA does not carry this limit, so the rotation plan may differ between the two.

RFC 9909 considerations

Small and fast parameter forms

SLH-DSA parameter sets come in an 's' form, which favors smaller signatures, and an 'f' form, which favors faster signature generation. RFC 9909 states that the SHA-2 and SHAKE variants within one set have identical sizes. Choose the form against your latency and bandwidth limits, and record the choice in the design documentation.

SPHINCS+ repository

Side-channel and fault considerations

RFC 9909 lists fault and side-channel risks as security considerations for SLH-DSA implementations. Signing code and the devices that run it should be reviewed for these exposures, especially where signing happens on shared or physically accessible hardware. Ask implementers which countermeasures they have applied and how they were tested.

RFC 9909 security

TLS 1.3 signature scheme support

The draft-ietf-tls-mldsa document defines TLS 1.3 SignatureScheme values for ML-DSA-44, ML-DSA-65 and ML-DSA-87 and says CertificateVerify uses the pure variants. The draft is an Informational document in the RFC Editor queue, not a published standard. Check whether your TLS stacks implement these code points before assuming SLH-DSA can be negotiated the same way.

TLS ML-DSA draft

Where ML-DSA and SLH-DSA show up in certificates, TLS and libraries

For certificates, the two signature standards are specified in separate RFCs. RFC 9881 defines ML-DSA in X.509 certificates and CRLs for ML-DSA-44, ML-DSA-65 and ML-DSA-87, and it specifies only the pure ML-DSA variant, prohibiting HashML-DSA in X.509 certificates. RFC 9909 defines SLH-DSA in X.509 with 12 pure SLH-DSA OIDs and 12 HashSLH-DSA OIDs. Because RFC 9909 states that one OID identifies both a key and its signature algorithm, a pure SLH-DSA key cannot be used for HashSLH-DSA signing or the reverse. Teams building a certificate profile should pick the pure form and confirm the exact OID for each parameter set their CA issues, using the RFCs as the reference: RFC 9881 and RFC 9909.

For TLS 1.3, the IETF draft draft-ietf-tls-mldsa-06 defines SignatureScheme values mldsa44 (0x0904), mldsa65 (0x0905) and mldsa87 (0x0906). The draft says CertificateVerify uses ML-DSA.Sign and ML-DSA.Verify with an empty context string and does not use the HashML-DSA variants. The draft is an Internet-Draft with intended status Informational and was in the RFC Editor queue at the version reviewed, so confirm its current status before relying on these values. For comparison only, RFC 8446 defines classical code points such as rsa_pss_rsae_sha256 (0x0804), ecdsa_secp256r1_sha256 (0x0403) and ed25519 (0x0807). The sources listed here do not give equivalent TLS code points for SLH-DSA, so do not assume an SLH-DSA scheme value exists in TLS; check the current TLS registry and the relevant drafts for your stack.

For libraries, OpenSSL 3.5.0, dated 8 April 2025, lists support for ML-KEM, ML-DSA and SLH-DSA as a new feature. Support in a library does not by itself mean a given TLS stack negotiates these signatures, so verify that your OpenSSL build exposes the algorithms you plan to use and that your TLS peers and certificate tooling accept the same OIDs and scheme values. Ask each vendor in your stack which versions implement the RFC 9881, RFC 9909 and draft-ietf-tls-mldsa behavior, and test a handshake end to end before committing a certificate profile to production.

How ML-DSA, SLH-DSA and their earlier names relate in the standards

The diagram starts with the NIST final standards, FIPS 204 for ML-DSA and FIPS 205 for SLH-DSA, both published on 13 August 2024. ML-DSA descends from the submission named Dilithium and SLH-DSA is based on SPHINCS+, which is why older papers and code use those names. Each standard then reaches X.509 certificates through its own profile, RFC 9881 for ML-DSA and RFC 9909 for SLH-DSA, and the TLS draft draft-ietf-tls-mldsa defines the TLS 1.3 signature schemes for ML-DSA. Check which name and which OID your software uses, since the pure and HashML-DSA or HashSLH-DSA variants are not interchangeable.

Where ML-DSA and SLH-DSA sit between their earlier names, NIST standards and certificate and TLS documents.

Whether ML-DSA and SLH-DSA are used together or one replaces the other

ML-DSA and SLH-DSA are separate signature standards with separate object identifiers, and the sources treat them as alternatives rather than components of one scheme. ML-DSA's OIDs are assigned in RFC 9881, where id-ml-dsa-44, id-ml-dsa-65 and id-ml-dsa-87 are listed at 2.16.840.1.101.3.4.3.17, 2.16.840.1.101.3.4.3.18 and 2.16.840.1.101.3.4.3.19. SLH-DSA's OIDs are assigned in RFC 9909, which defines twelve pure variants and twelve HashSLH-DSA variants. The sources state that one OID identifies both a key and its signature algorithm. A key generated for pure SLH-DSA cannot be used to produce HashSLH-DSA signatures, and the reverse is also true. A key is therefore bound to one signature algorithm from the moment it is created, and a migration plan must choose the family up front rather than switching signing modes later.

The sources listed on this page do not describe a hybrid or pairing that combines ML-DSA and SLH-DSA in a single certificate or signature. The TLS draft draft-ietf-tls-mldsa-06 defines the ML-DSA SignatureScheme values mldsa44, mldsa65 and mldsa87 and uses ML-DSA with an empty context string, but it does not describe SLH-DSA in TLS or a combined use of the two families. RFC 9881 and RFC 9909 each cover their own algorithm in X.509 and do not describe joint use either. Whether a product offers both families, or uses one for certificates and the other for something else, is a vendor decision that these sources do not address. Ask the vendor directly which algorithm and OID each key, certificate and signing path uses, and whether any hybrid or composite mode is offered.

For a security team, the practical question is usually whether to pick one family for a given use case or to run both in parallel. Because the keys are not interchangeable, running both means generating and managing two separate key sets, each with its own certificate profile, its own verifier support and its own inventory entry. Check that every system in the scope can verify the family you choose, since TLS and X.509 support is specified per algorithm. Record the OID in the inventory so that a later audit can tell which algorithm protects which system. Confirm these details against the specifications and the vendor's documentation for the versions in use, because support for either family differs across libraries and products.

How to work out which signature standard applies to your systems

This sequence takes you from the contract language and the signatures in your environment through to the exact OIDs and TLS code points your configuration uses. The result is a written record of which ML-DSA or SLH-DSA variant each system needs, and which vendor documentation confirms it.

  1. Check the contract or tender for named algorithms

    Read the contract, tender or customer security requirements for any named signature algorithm and parameter set, such as ML-DSA-65 or SLH-DSA with a SHA-2 or SHAKE variant. Record each named item with the document and clause that names it. This step is complete when every requirement that names a signature algorithm is listed in one place, and any requirement that names only a family, such as 'post-quantum signatures', is flagged for clarification with the customer or procurement team.

  2. Inventory where signatures are used

    Work with platform, PKI and application owners to list every place your organization creates or verifies a signature. Typical locations include TLS and client certificates, certificate revocation lists, code signing, signed documents, and firmware or update images. For each location, record the owner, the current algorithm, and whether the signature is made inside your environment or by a vendor. This step is complete when each entry has an owner and a current algorithm, and entries with unknown algorithms are marked for follow-up.

  3. Check the signature size your protocols can carry

    For each protocol and certificate chain in the inventory, compare the signature and public key sizes of the candidate algorithm against the size limits your protocol stack, load balancers, hardware and certificate tooling actually accept. The RFC 9881 and RFC 9909 documents give the published sizes for ML-DSA and SLH-DSA parameter sets, and the sizes differ by a wide margin between the two families. Note any system where the chain or handshake size is a constraint. This step is complete when each protocol path has a recorded size check and any path with a known limit is flagged for testing.

  4. Read the vendor's documentation for the profile implemented

    Ask each vendor, library and appliance owner which ML-DSA or SLH-DSA version and profile their product implements, and whether it supports the pure variant or the pre-hash variant. Read the vendor documentation rather than relying on the algorithm name alone, because RFC 9881 prohibits HashML-DSA in X.509 certificates and RFC 9909 treats pure and HashSLH-DSA keys as distinct. Record the version number and the date of the documentation. This step is complete when every product in the inventory has a written statement of the implemented version and variant, or is marked as unconfirmed.

  5. Confirm OIDs and TLS code points in your configuration

    In your own certificate profiles, signing configuration and TLS settings, confirm the object identifiers and signature scheme code points that appear in use. The published values for ML-DSA are the OIDs in RFC 9881 and, for TLS, the SignatureScheme values in the IETF draft draft-ietf-tls-mldsa, which is not yet a final RFC. Compare each value in your configuration against the source documents, and confirm the match with a test certificate or handshake in a non-production environment. This step is complete when each configured OID and code point has been matched to a source document and tested, with the results recorded.

Common mix-ups between ML-DSA, SLH-DSA and their earlier names

ML-DSA and SLH-DSA each carry an earlier name, a hashed variant and a parameter naming scheme, and these are easy to confuse in vendor documents and certificate profiles. The cards below separate each pair so that a reviewer can match the name, OID and parameter set in front of them to the standard that defines it.

SLH-DSA is not SPHINCS+ as submitted

SLH-DSA is standardized in FIPS 205, which states that it is based on SPHINCS+, but the standardized scheme is not the same artifact as the SPHINCS+ submission. Parameter names, encodings and identifiers can differ between a SPHINCS+ implementation and an SLH-DSA one, so a library that advertises SPHINCS+ does not establish conformance to FIPS 205. Check the parameter set names and the standard the implementation claims to follow before treating the two as interchangeable.

FIPS 205 text

ML-DSA is not Dilithium as submitted

ML-DSA is the standardized form of the Dilithium design, published as FIPS 204 on 13 August 2024. The submitted Dilithium scheme and ML-DSA differ in ways that affect keys and code, so a key or signature produced under one name may not verify under the other. Treat Dilithium references in older code, test vectors or vendor notes as a prompt to confirm which version the software implements.

FIPS 204 text

Pure and hashed OIDs are separate algorithms

RFC 9881 specifies only the pure ML-DSA variant for X.509 and prohibits HashML-DSA in certificates, while RFC 9909 defines both pure and HashSLH-DSA OIDs for SLH-DSA. The same OID identifies a key and its signature algorithm, so a pure SLH-DSA key cannot be used for HashSLH-DSA signing or the reverse. When reviewing a certificate profile, confirm that the OID in the key and the OID in the signature match the pure or hashed form the profile requires.

RFC 9909 text

The 's' and 'f' forms are parameter sets

The 's' and 'f' suffixes in SLH-DSA names, such as 128s and 128f, denote parameter sets within one algorithm rather than different algorithms. RFC 9909 states that the 's' sets carry smaller signatures and the 'f' sets larger signatures, and the SPHINCS+ README describes the same small-signature and fast-signing split. Selecting between them is a settings decision with a trade-off in signature size and signing speed, and the choice should be recorded explicitly in the configuration.

RFC 9909 text

A 'post-quantum' label is not a standards claim

A vendor describing a product as post-quantum has not, by that statement alone, shown that it implements FIPS 204, FIPS 205 or a particular RFC. The reader should ask which algorithm, parameter set, OID and standard version the product uses, and whether any independent validation covers that exact configuration. Vendor-risk reviews should record the specific names in the answer rather than accept the general label.

NIST PQC project

Questions people ask about ML-DSA and SLH-DSA

Are ML-DSA and SLH-DSA the same thing?

No. They are two different digital signature algorithms standardized by NIST. ML-DSA is specified in FIPS 204 and is based on lattice mathematics. SLH-DSA is specified in FIPS 205 and is a stateless hash-based scheme that the standard says is based on SPHINCS+. Both are signature algorithms, so they sign data and verify signatures, but they use different designs, different key and signature sizes, and different identifiers in certificates and protocols. An object identifier or code point for one will not work for the other.

Which one is newer, ML-DSA or SLH-DSA?

Neither is newer by standardization date. NIST published FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) as final standards on the same day, 13 August 2024. ML-DSA's draft predates the final, with a draft dated 24 August 2023. SLH-DSA is the one that is described as derived from the earlier SPHINCS+ submission, so the name SPHINCS+ may appear in older material. For the timing of your own deployment, the dates that matter are the ones in your product's release notes and the RFCs you implement, not the NIST date alone.

Which one does a rule or customer require?

The sources listed on this page do not say that any rule or customer requires either algorithm by name. What they do show is where each is specified for specific uses: RFC 9881 defines ML-DSA for X.509 certificates and CRLs, and RFC 9909 defines SLH-DSA for X.509. The TLS draft draft-ietf-tls-mldsa defines ML-DSA signature schemes for TLS 1.3. Check the specific requirement in your contract, tender or policy, and confirm which algorithm and parameter set it names. Ask the customer to state the algorithm in the requirement wording.

Can an organization need both ML-DSA and SLH-DSA?

Yes, the sources allow for it, but they do not state a rule that requires both. The two algorithms are standardized separately and use different OIDs and identifiers, so each must be configured where it is used. Key and signature choices differ: a pure SLH-DSA key cannot be used for HashSLH-DSA signing, and ML-DSA and SLH-DSA keys are not interchangeable. A system that signs with both would need to track which key and algorithm each certificate or signature uses. Confirm the requirement with your own inventory before deciding.

Which signature is smaller, ML-DSA or SLH-DSA?

ML-DSA is much smaller in the sizes listed in the sources. RFC 9881 gives an ML-DSA-44 signature of 2420 bytes with a 1312 byte public key, ML-DSA-65 at 3309 bytes with a 1952 byte public key, and ML-DSA-87 at 4627 bytes with a 2592 byte public key. RFC 9909 lists SLH-DSA signatures from 7,856 bytes (128s) up to 49,856 bytes (256f), with public keys between 32 and 64 bytes. Within SLH-DSA, the 's' parameter sets have smaller signatures and the 'f' sets have faster signing. Check the exact parameter set your product uses before sizing certificates or handshakes.

What should I ask a vendor about ML-DSA or SLH-DSA support?

Ask which exact parameter set they implement (ML-DSA-44, -65 or -87, or the SLH-DSA variants), whether they use pure or HashML-DSA and HashSLH-DSA forms, and which RFC or draft they follow for X.509 and TLS. Ask which OpenSSL or library version carries the implementation, and whether the signing path uses an empty context string. Ask how keys are generated, stored and rotated, and whether SLH-DSA signing counts or limits are documented. Request the test results or interoperability evidence the vendor holds, and ask what they will do when a standard or draft changes.

Is ML-DSA or SLH-DSA quantum-proof?

No, neither should be called quantum-proof, and the sources do not describe either that way. NIST states that it will deprecate and ultimately remove quantum-vulnerable algorithms from its standards by 2035, which is a statement about the classical algorimths being phased out, not a guarantee about any new algorithm. NIST's standards for ML-DSA and SLH-DSA are final, but the sources do not make a security claim beyond the standards themselves. Check NIST's current guidance and your own threat model rather than relying on a product label.

How DeployOpen works on this

DeployOpen helps teams decide where ML-DSA and SLH-DSA signatures fit in their systems and then configures them in the client's own infrastructure. The work follows a written scope, produces documented configuration and handover material, and can continue as a retainer for upgrades and testing.

How we scope

  • We list the systems that sign certificates, tokens, code or documents and record which signature algorithm each one uses today.
  • We confirm which protocol profiles the client needs, such as X.509 certificates or TLS 1.3 CertificateVerify, before choosing a signature standard.
  • Engagements are fixed-scope, so the written scope states which ML-DSA or SLH-DSA variants, systems and deliverables are included.

How we build

  • We configure ML-DSA or SLH-DSA in the client's chosen open-source platforms, using the OIDs and parameter sets in the relevant RFCs and FIPS documents.
  • We check signature and key sizes against the client's certificate chains, handshake limits and storage budgets before rollout.
  • We test the configuration, including pure versus pre-hash variant handling and key-use separation, and document each result for review.

How we hand over

  • Handover includes configuration records, the signature algorithm and parameter set chosen for each system, and the reasons behind each choice.
  • We document how to confirm compatibility for the library and OpenSSL versions the client actually runs, since support differs by release.
  • Operators receive runbooks covering key generation, rotation, and what to check when a stateless SLH-DSA key or signature limit matters.

How we support

  • Ongoing support is available as a retainer for upgrades when libraries, protocol drafts or standards change.
  • Continuous testing can recheck signing configurations after updates, so drift from the agreed design is caught early.
  • Questions from security reviewers and vendor-risk teams can be answered from the documented configuration and test records.

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.