Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Vendor: wolfSSL · https://www.wolfssl.com/ · pkg:github/wolfssl/wolfssl · Last reviewed 2026-12-05 · History

Summary

  • ML-KEM is default at build time since 5.9.1, and the hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024 are built by default; an unconfigured client sends a SecP256r1MLKEM768 key share, or X25519MLKEM768 when Curve25519 is built in (off in a default ./configure).123
  • Pure ML-KEM groups (ML_KEM_512, ML_KEM_768, ML_KEM_1024) are available with --enable-tls-mlkem-standalone, off by default.12
  • ML-DSA (-44, -65, -87) and SLH-DSA are available for TLS 1.3 and DTLS 1.3 handshakes, both off in a default build.142
  • Classical algorithms can be disabled at run time with wolfSSL_CTX_set1_groups_list() or at build time; since 5.9.4 a TLS 1.3 build with no RSA, ECC or DH is supported.156
  • The latest release is 5.9.4 (2026-09-25); SLH-DSA and ML-DSA code is native wolfCrypt, with liboqs integrations removed in 5.9.2.78

To build without classical algorithms, configure TLS 1.3 with --disable-rsa --disable-dh --disable-ecc --disable-curve25519 and --enable-mlkem=1024,make,enc,dec --enable-tls-mlkem-standalone --disable-pqc-hybrids --enable-mldsa=87,sign,verify.6

Cryptographic operations

  • TLS 1.3 key agreement (client or server): groups known at commit e00e6f9 (2026-12-05) include the three hybrids, the pure ML-KEM groups and extra Open Quantum Safe hybrids.3
  • Standard hybrids come with --enable-pqc-hybrids (on by default); X25519MLKEM768 also needs --enable-curve25519. Pure ML-KEM needs --enable-tls-mlkem-standalone.12
  • Extra hybrids (SecP256r1MLKEM512, SecP384r1MLKEM768, SecP521r1MLKEM1024, X25519MLKEM512, X448MLKEM768) need --enable-experimental --enable-extra-pqc-hybrids and are not in FIPS v7 builds.1
  • Server preference order starts X25519MLKEM768, SecP384r1MLKEM1024, SecP256r1MLKEM768; the client’s speculative key share is a standard hybrid using X25519 or P-256, then P-256, X25519, P-384.3 Manual: “If the application does not configure any groups, a wolfSSL client sends an X25519MLKEM768 key share when Curve25519 is built in, and a SecP256r1MLKEM768 key share otherwise.”1
  • Authentication: code points include ML-DSA-44, -65, -87 (0x0904 to 0x0906) and twelve SLH-DSA sets (0x0911 to 0x091C, draft-reddy-tls-slhdsa).9 “SLH-DSA can sign TLS 1.3 and DTLS 1.3 handshakes per draft-reddy-tls-slhdsa”; the example uses an ML-DSA-65 leaf under an ML-DSA-87 CA with SecP384r1MLKEM1024.1
  • Dual-algorithm certificates are experimental (--enable-experimental --enable-dual-alg-certs).7
  • Other: ML-DSA in PKCS#7/CMS SignedData (RFC 9882) added in 5.9.4;7 Falcon (levels 1 and 5) and FrodoKEM are experimental (--enable-experimental).1

Versions

Dates are changelog heading dates.

Change Version Date Package URL Source
Experimental Kyber, --enable-experimental --enable-kyber 5.7.0 2024-03-20 pkg:generic/wolfssl@5.7.0 7
ML-DSA (Dilithium) implementation, ML-DSA-44/65/87 5.7.2 2024-07-08 pkg:generic/wolfssl@5.7.2 7
Kyber and Dilithium updated “to final specification” 5.7.4 2024-10-24 pkg:generic/wolfssl@5.7.4 7
Hybrid groups combining ML-KEM with X25519 and X448, for Chromium and Firefox compatibility; Kyber APIs renamed to ML-KEM 5.8.0 2025-04-24 pkg:generic/wolfssl@5.8.0 7
SLH-DSA (FIPS 205) in wolfCrypt 5.9.0 2026-03-18 pkg:generic/wolfssl@5.9.0 7
“Enabled PQC algorithm ML-KEM (FIPS203) on by default” 5.9.1 2026-04-08 pkg:generic/wolfssl@5.9.1 7
liboqs integrations removed for native code; client key share default decoupled from preference list (WOLFSSL_KEY_SHARE_DEFAULT_GROUP) 5.9.2 2026-06-23 pkg:generic/wolfssl@5.9.2 7
SLH-DSA authentication for TLS 1.3 and DTLS 1.3; TLS 1.3 builds with only post-quantum algorithms; ML-DSA in PKCS#7/CMS; native Falcon 5.9.4 2026-09-25 pkg:generic/wolfssl@5.9.4 71

Not determined: the release that first offered ML-DSA authentication in a TLS handshake, and the one that first built the hybrid groups by default (the configure script at the checked commit has them on).2

Configuration

Enabling PQC

Build with ML-KEM, ML-DSA and SLH-DSA:1

./configure --enable-mlkem --enable-mldsa --enable-slhdsa=yes,sha2

Select groups by name in the application:5

wolfSSL_CTX_set1_groups_list(ctx, "X25519MLKEM768:SecP256r1MLKEM768:SecP384r1MLKEM1024");

The call also accepts MLKEM512, MLKEM768 and MLKEM1024; the example client’s --pqc <group> sends one post-quantum key share only; pure ML-KEM needs --enable-tls-mlkem-standalone.1

Disabling classical algorithms

  • Run time: wolfSSL_CTX_set1_groups_list(), wolfSSL_set1_groups_list(), wolfSSL_CTX_set_groups() or wolfSSL_set_groups(); an end user can do this only if the application exposes it. Peer behaviour with no listed group was not tested.5
  • Build time: an algorithm not compiled in cannot be negotiated. As of 5.9.4 you can build TLS 1.3 “with nothing but post-quantum algorithms: ML-KEM for the key exchange, ML-DSA or SLH-DSA for authentication, and no RSA, ECC or DH.”1 The wolfSSL blog (2026-12-03) gives a CNSA 2.0 style build, pure ML-KEM-1024 with ML-DSA-87, not hybrid:6
./configure \
  --enable-tls13 --disable-oldtls \
  --disable-rsa --disable-dh --disable-dsa --disable-psk \
  --disable-ecc --disable-curve25519 --disable-ed25519 \
  --disable-chacha --disable-poly1305 --disable-aescbc \
  --enable-sha384 --disable-sha512 \
  --enable-mlkem=1024,make,enc,dec \
  --enable-tls-mlkem-standalone --disable-pqc-hybrids \
  --enable-mldsa=87,sign,verify \
  CFLAGS="-DHAVE_SUPPORTED_CURVES"
  • “You can’t downgrade to an algorithm if it isn’t built into the binary.”6 The configure script refuses a build that disables both hybrids and standalone ML-KEM while ML-KEM is enabled.2

Vendor commitments

  • 2026-12-03, wolfSSL blog: “In both wolfCrypt and wolfCrypt-FIPS we have all the algorithms you’ll need for CNSA 2.0 compliance”, listing ML-KEM-1024 and ML-DSA-87; no target date.6
  • Manual: “wolfSSL’s upcoming post-quantum FIPS submission covers ML-KEM, ML-DSA, LMS, XMSS and SLH-DSA.” No date.1

Open work

Checked 2026-12-05; not in any release.

  • Unreleased changelog: ML-KEM (FIPS 203) key OIDs, SubjectPublicKeyInfo and PKCS#8 encoding, X.509 certificate support.7
  • PR 12394 (2026-12-04): “Add experimental HQC KEM (v5.1) to wolfCrypt”.10
  • PR 12381 (2026-12-03): “Bind ML-DSA and Falcon TLS 1.3 signature schemes to the key level”.11
  • PR 12146 (2026-11-16): “Drive non-blocking ML-DSA and ML-KEM from the TLS 1.3 handshake and fix encapsulate-only ML-KEM servers”.12

References

  1. wolfSSL Manual, appendix I, “Experimenting with Post-Quantum Cryptography”. https://www.wolfssl.com/documentation/manuals/wolfssl/appendix09.html (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14

  2. wolfSSL configure.ac at commit e00e6f9 (--enable-mlkem, --enable-pqc-hybrids, --enable-tls-mlkem-standalone, --enable-mldsa, --enable-slhdsa). https://github.com/wolfSSL/wolfssl/blob/e00e6f9aa51ef7fd3af66e352596edf37ace6c63/configure.ac (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6

  3. wolfSSL src/tls.c at commit e00e6f9 (preferredGroup[], WOLFSSL_KEY_SHARE_DEFAULT_GROUP). https://github.com/wolfSSL/wolfssl/blob/e00e6f9aa51ef7fd3af66e352596edf37ace6c63/src/tls.c (accessed 2026-12-05) ↩ ↩2 ↩3

  4. wolfSSL Manual, chapter 10, wolfCrypt usage, “Post-Quantum Cryptography” (“ML-DSA … is disabled by default”). https://www.wolfssl.com/documentation/manuals/wolfssl/chapter10.html (accessed 2026-12-05) ↩

  5. wolfSSL src/ssl_api_ext.c at commit e00e6f9 (wolfSSL_CTX_set1_groups_list). https://github.com/wolfSSL/wolfssl/blob/e00e6f9aa51ef7fd3af66e352596edf37ace6c63/src/ssl_api_ext.c (accessed 2026-12-05) ↩ ↩2 ↩3

  6. wolfSSL blog, “NSA and NCSC Both Push for Immediate PQC Migration”, 2026-12-03. https://www.wolfssl.com/nsa-and-ncsc-both-push-for-immediate-pqc-migration/ (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5

  7. wolfSSL ChangeLog.md, release headings 5.7.0 to 5.9.4 and unreleased section. https://github.com/wolfSSL/wolfssl/blob/master/ChangeLog.md (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12

  8. wolfSSL release v5.9.4-stable, 2026-09-25. https://github.com/wolfSSL/wolfssl/releases/tag/v5.9.4-stable (accessed 2026-12-05) ↩

  9. wolfSSL wolfssl/internal.h at commit e00e6f9 (ML-DSA and SLH-DSA signature algorithm code points). https://github.com/wolfSSL/wolfssl/blob/e00e6f9aa51ef7fd3af66e352596edf37ace6c63/wolfssl/internal.h (accessed 2026-12-05) ↩

  10. wolfSSL pull request 12394. https://github.com/wolfSSL/wolfssl/pull/12394 (accessed 2026-12-05) ↩

  11. wolfSSL pull request 12381. https://github.com/wolfSSL/wolfssl/pull/12381 (accessed 2026-12-05) ↩

  12. wolfSSL pull request 12146. https://github.com/wolfSSL/wolfssl/pull/12146 (accessed 2026-12-05) ↩


Edit: wolfSSL

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.