Which wolfSSL functions depend on RSA and elliptic-curve keys

In wolfSSL 5.9.4, TLS and DTLS key exchange and certificate authentication rest on RSA, ECC and DH by default. ML-KEM hybrid groups are available at build time, but calling wolfSSL_UseKeyShare alone advertises only quantum-vulnerable algorithms.

On this page

Which wolfSSL connections and logins rely on RSA and elliptic-curve keys today

Engineers and assessors recording which wolfSSL paths depend on public-key algorithms should start from the defaults. In wolfSSL 5.9.4, the latest release dated 25 September 2026 in the project's release notes, TLS and DTLS key exchange and certificate authentication rest on RSA, ECC and DH, and the wolfSSL manual lists all three as enabled by default. As of 3 December 2026, when the sources for this section were read, those are the algorithms a default build uses for the handshake and for certificate checks. Anyone who keeps that answer on file should date it to that reading.

ML-KEM is enabled by default at build time in 5.9.4 unless SHA-3 or SHAKE is disabled, and --disable-mlkem turns it off. The manual also lists hybrid groups such as X25519MLKEM768 and SecP256r1MLKEM768, which come with --enable-pqc-hybrids. Enabling those groups does not remove the classical key exchange from the handshake. The manual's own advice is that calling wolfSSL_UseKeyShare alone only advertises quantum-vulnerable algorithms, so an application that adds a key share without configuring groups should not be recorded as post-quantum.

Two groups of people need this answer. Engineers who build and run wolfSSL should check their own configuration, since the handshake a client or server negotiates depends on the build options and on any group list set with wolfSSL_CTX_set_groups or wolfSSL_set_groups. Security and vendor-risk leads recording an answer should ask the team to confirm which groups each deployed application actually offers, and to record the build flags in use. The manual's default client behavior is also worth noting: when an application configures no groups, a client sends an X25519MLKEM768 key share if Curve25519 is built in, and SecP256r1MLKEM768 otherwise, so the build itself decides what a default client offers. Where the sources do not state the outcome for a particular deployment, the reader should confirm it with a test handshake in their own environment.

Which wolfSSL 5.9.4 public-key paths are classical, which are post-quantum, and which need a build option

This table lists each public-key component in the wolfSSL 5.9.4 manual by its default build state and the option that changes it, with the source and date for each row. Read the default column first, then the option column for what a build must add or remove. The main takeaway is that the classical RSA, ECC and DH paths are on by default, while ML-DSA, SLH-DSA, LMS and XMSS need explicit options before any post-quantum signature is available.

ComponentDefault state in 5.9.4Build option that changes itSource and date
RSA, ECC and DH for key exchange and certificatesEnabled by default (classical)Not stated as a switch in the manual section citedwolfSSL manual ch. 4, as read on 2026-12-03
ML-KEM key exchangeEnabled by default unless SHA-3 or SHAKE is disabled (post-quantum)--disable-mlkem turns it offwolfSSL manual appendix on post-quantum, 5.9.4, as read on 2026-12-03
ML-DSA signaturesOff by default (post-quantum)--enable-mldsawolfSSL manual appendix on post-quantum, 5.9.4, as read on 2026-12-03
SLH-DSA signaturesOff by default (post-quantum)--enable-slhdsawolfSSL manual appendix on post-quantum, 5.9.4, as read on 2026-12-03
LMS and XMSS signaturesOff by default (post-quantum)--enable-lms and --enable-xmsswolfSSL manual appendix on post-quantum, 5.9.4, as read on 2026-12-03
Hybrid groups (SecP256r1MLKEM768, SecP384r1MLKEM1024)Enabled by default (hybrid, combines classical and post-quantum)--enable-pqc-hybrids is on by defaultwolfSSL manual appendix on post-quantum, 5.9.4, as read on 2026-12-03
Hybrid group X25519MLKEM768Needs --enable-curve25519, which is off by default--enable-curve25519 with --enable-pqc-hybridswolfSSL manual appendix on post-quantum, 5.9.4, as read on 2026-12-03
Pure ML-KEM groups (ML_KEM_512, 768, 1024)Off by default (post-quantum only)--enable-tls-mlkem-standalone; --enable-all-quantum-crypto does not turn it onwolfSSL manual appendix on post-quantum, 5.9.4, as read on 2026-12-03
FIPS 140-3 certificate #4718 coverageLists RSA, ECDSA, KAS-ECC, KAS-FFC and TLS KDF; does not list ML-KEM or ML-DSANot applicable to a build optionNIST CMVP certificate #4718, last updated 1/29/2026

Which wolfSSL components touch RSA, DH and elliptic-curve keys

wolfSSL uses RSA, ECC and DH by default in TLS and DTLS key exchange and certificate authentication, and those keys are not post-quantum algorithms. The cards below separate the handshake, certificate, raw key and build-level components, so an assessor can see which settings change what depends on classical keys.

TLS and DTLS handshake key exchange

In TLS 1.3, cipher suites such as TLS_AES_128_GCM_SHA256 specify only the AEAD algorithm and hash. Key exchange and authentication are negotiated separately, so the groups an application enables decide what protects the session key. RSA, ECC and DH are enabled by default, and an ECDH-style key exchange is not post-quantum. Calling wolfSSL_UseKeyShare alone only advertises quantum-vulnerable algorithms, according to the manual. Check the negotiated group in a test handshake against your build.

wolfSSL manual ch. 4

X.509 certificates and private keys

Server and client authentication rely on certificates and keys handled through PKCS #1, #8 and #12 and RSA-PSS. Each certificate chain and signing key in a deployment depends on RSA or ECDSA unless the build adds ML-DSA, SLH-DSA, LMS or XMSS certificate support. Inventory every certificate and key your wolfSSL instances load, and record its algorithm and key size. Changing the key format does not change the underlying algorithm.

wolfSSL manual ch. 4

Raw public keys and Encrypted Client Hello

Raw Public Keys (RFC 7250) let a peer authenticate with a bare public key instead of a certificate, and they are enabled with --enable-rpk. Encrypted Client Hello is enabled with --enable-ech. Both options use the same classical public-key algorithms as the rest of the handshake, so enabling them does not add a post-quantum key. Confirm which of the two your build enables, because each changes which keys appear on the wire.

wolfSSL manual ch. 4

The wolfCrypt module and certificate #4718

wolfCrypt is the cryptographic module under wolfSSL, and NIST CMVP certificate #4718 covers it at FIPS 140-3 Level 1, active until 7/10/2029. The certificate lists RSA, ECDSA, KAS-ECC, KAS-FFC and TLS KDF algorithms. It does not list ML-KEM or ML-DSA, so a validated build does not cover post-quantum algorithms under that certificate. Ask the vendor for the status of a newer module before relying on any post-quantum claim.

NIST CMVP #4718

Key share groups set in code

Applications choose which groups to offer with wolfSSL_CTX_set_groups or wolfSSL_set_groups, or by name with wolfSSL_CTX_set1_groups_list. The name-based call needs the OpenSSL compatibility layer, enabled with --enable-opensslextra. A list that includes only classical groups keeps the session on RSA, ECC or DH key exchange. Review each context's group list in code, because the library default may differ from what your application sets.

wolfSSL PQ appendix

Default client key share

When an application configures no groups, a wolfSSL client sends an X25519MLKEM768 key share if Curve25519 is built in, and otherwise sends SecP256r1MLKEM768. That hybrid combines ML-KEM with an elliptic-curve key, so the classical part still depends on elliptic-curve math. X25519MLKEM768 needs --enable-curve25519, which is off by default, so a default build usually sends SecP256r1MLKEM768. The WOLFSSL_KEY_SHARE_DEFAULT_GROUP macro selects a different default, so confirm the value in your build.

wolfSSL PQ appendix

How the answer changes for default builds, hybrid builds and FIPS builds

A default wolfSSL 5.9.4 build keeps TLS 1.2 and TLS 1.3 enabled, along with the public-key algorithms that handshakes and certificates rely on. RSA, ECC and DH are on by default, so connection authentication and key exchange still depend on them. ML-KEM is also on by default at build time unless SHA-3 or SHAKE is disabled, but the manual's advice is that advertising a post-quantum key share alone does not remove the classical dependencies. ML-DSA, SLH-DSA, LMS and XMSS are off by default.

  • TLS versions: TLS 1.2 and TLS 1.3 are enabled, while SSL 3.0, TLS 1.0 and TLS 1.1 need extra build options.
  • Classical public keys: RSA, ECC and DH are enabled by default, and certificate authentication still uses them.
  • ML-KEM: Enabled by default in 5.9.4 unless SHA-3 or SHAKE is disabled, and --disable-mlkem turns it off.
  • Signatures: ML-DSA, SLH-DSA, LMS and XMSS are off by default and need their own --enable- options.
  • Default group: Without configured groups, a client sends X25519MLKEM768 when Curve25519 is built in, otherwise SecP256r1MLKEM768.

Check the cipher suite list your build reports, for example with ./examples/client/client -e, and confirm which key exchange and certificate types each connection actually negotiates.

Where a wolfSSL TLS 1.3 handshake takes its key exchange and certificate algorithms

The diagram starts with the client's ClientHello, where the application's cipher suite list and key share groups are set through wolfSSL_CTX_set_cipher_list and the group configuration. The cipher suite supplies only the AEAD and hash, so the key share group carries key exchange and the server certificate signature carries authentication. In a default build the key share is classical, and the manual says an X25519MLKEM768 share is sent when none is configured and Curve25519 is built in. Check the group list, the certificate key type and the build flags, because calling wolfSSL_UseKeyShare alone only advertises quantum-vulnerable algorithms.

Key exchange and certificate signatures are negotiated separately from the cipher suite.

What to check in each wolfSSL build before recording an answer

This sequence confirms which wolfSSL version and build options are in use, which key exchange groups and certificate types result, and whether a FIPS certificate covers the build. The output is a dated record of what the deployed build actually does, which is the basis for any answer about RSA, Diffie-Hellman and elliptic-curve dependencies.

  1. Confirm the wolfSSL version in use

    The engineer who runs the product records the version actually deployed, not only the latest release. The most recent release on the wolfSSL GitHub releases page was 5.9.4, with release notes dated 25 September 2026, as read on 2026-12-03. Check the version string in the build tree or the installed package, then compare it with the release notes for that version. This step is done when the version is written down next to the date it was read, because the answer applies only to that version.

  2. List the cipher suites the build contains

    In the build directory, run ./examples/client/client -e to list the cipher suites compiled into that binary. The wolfSSL manual says the available suites depend on build options, so the output is specific to this build and not to the project in general. Record which suites are present, especially any TLS 1.3 suites, which specify only the AEAD and hash and leave key exchange and authentication to be negotiated. This step is done when the list is saved with the build identifier.

  3. Check which key exchange groups the application sets

    Search the application source for calls to wolfSSL_CTX_set_groups, wolfSSL_set_groups and wolfSSL_CTX_set1_groups_list. Note which groups each call sets and whether the call sits on the client, the server or both. If no call exists, the application uses the library default: the manual says a client sends X25519MLKEM768 when Curve25519 is built in, and otherwise SecP256r1MLKEM768, unless WOLFSSL_KEY_SHARE_DEFAULT_GROUP changes this. Record the resulting group list, since hybrid groups still depend on elliptic-curve key exchange. This step is done when every group that can be negotiated is written down.

  4. Check the hybrid and Curve25519 configure flags

    Review the configure options used for the build and confirm whether --enable-curve25519, --enable-pqc-hybrids and --enable-mldsa were set. The manual says --enable-pqc-hybrids is on by default, while --enable-curve25519 is off by default and X25519MLKEM768 needs it. It also says --enable-mldsa is off by default. Keep in mind that a flag being set does not mean a group is negotiated, so compare these results with the group list from the previous step. This step is done when each of the three flags is recorded as set or not set, with the configure command saved.

  5. Determine whether certificates are RSA or ECDSA

    Inspect the certificates and private keys the server and client load, and record the key type of each: RSA, ECDSA or another type. Use the certificate's public key algorithm field to confirm the type. Certificate authentication in wolfSSL rests on these public-key algorithms, and the manual lists RSA, ECC and DH as enabled by default. If ML-DSA, SLH-DSA, LMS or XMSS certificates are present, note them separately, because the manual says LMS and XMSS can appear in X.509 certificates but are not available as TLS handshake signature algorithms. This step is done when every certificate in the deployment has a recorded key type.

  6. Check whether the build is a FIPS build and its certificate

    Determine whether the build uses the FIPS module, and if it does, record the certificate number it cites. The NIST CMVP entry for certificate #4718 covers wolfCrypt at FIPS 140-3 Level 1, active until 7/10/2029, and lists RSA, ECDSA, KAS-ECC, KAS-FFC and TLS KDF algorithms. It does not list ML-KEM or ML-DSA, and the wolfSSL roadmap says a post-quantum FIPS submission is in process or planned, without a confirmed certificate date. Check the module version against the certificate, and do not assume a certificate covers post-quantum algorithms. This step is done when the build's FIPS status and the cited certificate are recorded and matched to the CMVP entry.

What wolfSSL has not published about classical key replacement, and what to ask

The wolfSSL project documents post-quantum algorithms and build options in detail, but the researched sources leave several deployment and certification questions open. Each card below names one gap and the specific question to put to the vendor before relying on wolfSSL for post-quantum key exchange or signatures.

Default post-quantum group selection

The wolfSSL 5.9.4 manual explains what a client sends when an application configures no groups: X25519MLKEM768 if Curve25519 is built in, otherwise SecP256r1MLKEM768. It does not state whether a default production build negotiates a post-quantum group at all, or which group a server selects. Ask the vendor which group a default configuration selects in production, and whether an application that never calls a group API still advertises a hybrid key share.

wolfSSL PQC appendix

CMVP status of ML-KEM and ML-DSA

NIST CMVP certificate #4718 for wolfCrypt, FIPS 140-3 Level 1 and active until 7/10/2029, lists RSA, ECDSA, KAS-ECC, KAS-FFC and TLS KDF algorithms. It does not list ML-KEM or ML-DSA. A February 2026 wolfSSL post says the formal CMVP submission covering ML-KEM, ML-DSA, SLH-DSA, and LMS and XMSS verification is in process. Ask for the current status of that submission, including the module version it covers and the date it was filed.

CMVP certificate #4718

Submission date for module v7.0.0

The wolfSSL FIPS 140-3 roadmap lists module v6.0.0 as submitted to CMVP on 12 Sep 2025. It lists module v7.0.0, covering FIPS 203, 204 and 205, as a roadmap item with no submission date. Ask the vendor for a committed submission date for v7.0.0, and whether ML-KEM, ML-DSA and SLH-DSA in that module would be validated in the same certificate.

FIPS 2026 roadmap

SLH-DSA in TLS 1.3 handshake authentication

The wolfCrypt post-quantum roadmap lists SLH-DSA for TLS 1.3 handshake authentication as a planned item. The 5.9.4 manual says SLH-DSA can already sign TLS 1.3 and DTLS 1.3 handshakes under draft-reddy-tls-slhdsa, so the open question is what the roadmap entry adds. Ask whether handshake authentication with SLH-DSA is supported in a release today, and if not, which release and date the vendor has committed to.

wolfCrypt PQC roadmap

LMS and XMSS in certificate authentication

The manual states that LMS and XMSS can appear in X.509 certificates under RFC 9802 since wolfSSL 5.9.2, but are not available as TLS handshake signature algorithms. A certificate-based login that uses a hash-based signature therefore has no documented handshake path in wolfSSL. Ask the vendor how certificate-based authentication with LMS or XMSS would change the handshake, which release would add it, and whether stateful key management would be needed.

wolfSSL PQC appendix

Certificate key types by product release

The sources describe which algorithms a build can use, but they do not list which key types a given release uses for the certificates it generates or accepts by default. Certificate and key handling is documented through PKCS and RSA-PSS support, yet the default key type per release is not stated. Ask the vendor for a per-release list of certificate key types used by default, and the list of key types each release accepts in its example certificates.

Latest release checked
5.9.4
wolfSSL manual ch. 4

What goes wrong when classical keys stay in place or a hybrid group is misconfigured

The most common failure is a wolfSSL deployment that looks post-quantum but negotiates only classical key exchange. The manual says that calling wolfSSL_UseKeyShare alone only advertises quantum-vulnerable algorithms, so a client or server configured that way does not negotiate a hybrid, whatever ML-KEM support is compiled in. Assessors should check the key share actually sent in a handshake trace, not the presence of the API call. Where an application sets no groups, the manual says a wolfSSL client sends an X25519MLKEM768 key share when Curve25519 is built in, and otherwise SecP256r1MLKEM768, unless WOLFSSL_KEY_SHARE_DEFAULT_GROUP selects a different default. Confirm which of these applies to the build in use before assuming a hybrid is offered.

Explicit group configuration creates a second risk. Applications restrict or choose groups with wolfSSL_CTX_set_groups or wolfSSL_set_groups, or by name with wolfSSL_CTX_set1_groups_list, which needs the OpenSSL compatibility layer such as --enable-opensslextra. An application that sets its group list to classical groups only will exclude the hybrid groups entirely, and no build option can restore them. The hybrid groups also depend on build settings: SecP256r1MLKEM768, SecP384r1MLKEM1024 and X25519MLKEM768 come with --enable-pqc-hybrids, which is on by default, but X25519MLKEM768 also needs --enable-curve25519, which is off by default. Pure ML-KEM groups (ML_KEM_512, 768 and 1024) need --enable-tls-mlkem-standalone, which --enable-all-quantum-crypto does not turn on. A build can therefore look ready and still offer neither the group an application expects nor a pure ML-KEM option. Check the compiled group list with the client example output and the group configuration in code.

Version and identifier stability also matter for any deployed configuration. wolfSSL's release notes record fixes to ML-KEM implicit rejection under CVE-2026-6330 and CVE-2026-10097, fixed in 5.9.1 and 5.9.2 respectively, so deployments should run a release at or after 5.9.2, and the current release on the vendor's releases page is 5.9.4. The manual also states that some OIDs and codepoints are temporary and expected to change, and that Falcon and FrodoKEM are experimental and need --enable-experimental. A configuration tested against one codepoint may fail against a later build, so record the wolfSSL version and build flags with each deployment and retest after any upgrade.

Common questions about wolfSSL RSA and elliptic-curve dependencies

Is wolfSSL quantum safe?

No product can be called quantum safe on the strength of its version alone. What the sources support is narrower. The wolfSSL 5.9.4 manual says that TLS and DTLS key exchange and certificate authentication still rest on RSA, ECC and DH, which are enabled by default and are not post-quantum algorithms. Post-quantum options exist in the same release: ML-KEM is enabled by default at build time unless SHA-3 or SHAKE is disabled, and ML-DSA, SLH-DSA, LMS and XMSS are off until you enable them. Whether a given connection uses these depends on the groups and signature algorithms your application configures, and the manual advises that enabling a key share alone only advertises quantum-vulnerable algorithms. The vendor's own FIPS post-quantum validation for these algorithms was still in process as of the dates the sources give, so confirm validation status directly with wolfSSL Inc.

Which wolfSSL version should I check for post-quantum support?

Start with wolfSSL 5.9.4, which the GitHub releases page showed as the latest release when read on 2026-12-03 (release notes dated 25 September 2026). The post-quantum fixes that matter most landed earlier in the 5.9 line: SLH-DSA was first added in 5.9.0, and the ML-KEM and ML-DSA fixes came in 5.9.1 and 5.9.2, including CVE-2026-6330 and CVE-2026-10097 for ML-KEM implicit rejection. ML-KEM and ML-DSA APIs were added in 5.8.4. Confirm the exact version in your build with the library's version output, and check your own release process, since a vendor or distribution package may lag behind the project release.

Does enabling post-quantum support in wolfSSL cost extra?

The license page lists commercial licenses for wolfSSL and wolfCrypt at $7,500 USD per end product or SKU as of 2026-12-03, and that figure is the only price the sources give. Whether you pay it depends on whether you distribute your product under GPLv3 or need a commercial license. The sources give no effort figure for the build change itself, so ask wolfSSL Inc. for a quote covering licensing, any support terms, and whether the FIPS-validated post-quantum module carries additional cost. Your own costs will include build and test time, interoperability testing with clients, and certificate work, and those depend on your product and environment.

What breaks if I enable hybrid key exchange groups in wolfSSL?

Hybrid groups such as X25519MLKEM768 and SecP256r1MLKEM768 are negotiated per connection, so a peer that does not offer the group falls back to a group both sides support. That fallback can leave the connection on classical key exchange, so a configuration that looks post-quantum may not be on every session. Build requirements matter too: X25519MLKEM768 needs --enable-curve25519, which is off by default, and the extra hybrid groups need experimental builds that are not available in FIPS v7 builds. Test each client and server pair you depend on, and log which group was actually negotiated. Pure ML-KEM groups need --enable-tls-mlkem-standalone, which the all-quantum option does not turn on.

What should I ask the vendor about wolfSSL's post-quantum plans?

Ask for the specific gaps the vendor's own materials leave open, and get answers in writing. The sources do not establish a formal validation date for the post-quantum FIPS module (the submission was described as in process, and the FIPS 140-3 v7 roadmap item had no submission date), so ask for the current CMVP status and the certificate number once issued. Ask whether SLH-DSA can authenticate TLS 1.3 handshakes in your build and whether LMS and XMSS are available in TLS handshake signatures or only in certificates. Ask which algorithms are on the roadmap and which are experimental. The gaps section of this page lists the points to request.

Can my team review and configure wolfSSL post-quantum settings alone?

Your team can run the review and the configuration steps, provided it has someone comfortable with TLS builds, certificates and interoperability testing. The core steps are: inventory every wolfSSL build and the key exchange and signature settings it uses, confirm the version and build options, set the groups and signature algorithms explicitly with wolfSSL_CTX_set_groups or the equivalent, and then test each peer and record the negotiated group. Where the work crosses several products, or a validated configuration is required, outside help can speed it up. DeployOpen plans and tests such changes in the client's own environment, including interoperability checks, and hands over the configuration and test evidence for your review.

How DeployOpen helps teams check and configure wolfSSL key dependencies

DeployOpen works through wolfSSL key dependencies in three steps: we confirm which connections, logins and signatures in your wolfSSL builds use RSA, Diffie-Hellman or elliptic-curve keys, then document what each build supports today. Engagements are fixed-scope, with the scope agreed in writing before work starts.

How we scope

  • Confirm which wolfSSL versions, builds and editions are in use, starting with the latest release you run.
  • List the TLS, DTLS, certificate and signing functions that your applications call in each build.
  • Agree in writing which configurations, devices and protocols are in scope and what deliverables you will receive.

How we build

  • Check the cipher suites, key exchange groups and authentication methods each build negotiates, using the build's own listing.
  • Record which RSA, ECDSA, ECDH and Diffie-Hellman settings are enabled by default and which are changed in your configuration.
  • Test whether post-quantum key exchange options such as ML-KEM groups are present in your builds before anything is changed.

How we hand over

  • Deliver a written inventory of public-key dependencies per build, with the version and build options each finding applies to.
  • Document the settings your team would need to change to enable any post-quantum option, labelled as what to confirm rather than as a claim of support.
  • Walk your engineers and security leads through the findings so the inventory can be reviewed and kept current.

How we support

  • Ongoing support and continuous review are available as a retainer, covering new wolfSSL releases and changed builds.
  • Retesting after a wolfSSL upgrade or configuration change can be scoped as a follow-on engagement.
  • Ask for the written scope, deliverables and retainer terms when requesting a quote, since DeployOpen does not publish prices.

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.