Which rustls functions depend on RSA and elliptic-curve keys today
As of rustls 0.23.48, released 3 December 2026, key exchange uses ECDH on X25519, P-256 and P-384, and with the aws-lc-rs provider the hybrid X25519MLKEM768 group is preferred regardless of crate features. Server and client authentication use RSA, ECDSA or Ed25519 keys and certificates. Rustls does not use finite-field Diffie-Hellman for key exchange. This answer is dated 3 December 2026 and is written for security assessors and vendor-risk reviewers who need to record what the library depends on today.
The practical split is between two layers. Key exchange, which protects session keys, is done with elliptic-curve Diffie-Hellman in the classical groups, and with the hybrid group when the aws-lc-rs provider is in use. Authentication, which proves the identity of the server or of a client, relies on the signature algorithm of the certificate key, which may be ECDSA, Ed25519 or RSA depending on how the deployment is configured. Assessors should record these two dependencies separately, because a deployment may change one without the other. The kx_groups list of the installed CryptoProvider determines the key exchange groups offered, and the certificate chain and private key determine the authentication algorithm.
Confirm the following in your own environment before recording an answer: the exact rustls version and crate features in Cargo.lock, which provider is installed with install_default(), and the key exchange group reported by negotiated_key_exchange_group on live connections. The ring provider does not offer post-quantum key exchange, and the 0.23.48 release notes deprecate its default provider function. Ask the vendor or project to confirm which signature algorithms your certificates use.
Which rustls functions use which public-key algorithm, by version and provider
This table compares the key exchange groups and signature algorithms that rustls can use, by provider and by release. Read each row as a question of whether a given algorithm is available or on by default in the named provider and release. Only rows the sources cover carry a status; rows the sources leave open are marked for confirmation. The main takeaway is that the aws-lc-rs provider is the only one of the two first-party providers that offers post-quantum algorithms, and that standalone ML-KEM and ML-DSA have settings the sources describe separately.
| Algorithm | Role | aws-lc-rs provider | ring provider |
|---|---|---|---|
| X25519 | Key exchange (ECDHE) | Available and used by default, per the defaults manual | Available; default order changed in 0.23.48 (3 December 2026) |
| SECP256R1 (P-256) | Key exchange (ECDHE) | Available; no post-quantum component | Available; default order changed in 0.23.48 (3 December 2026) |
| SECP384R1 (P-384) | Key exchange (ECDHE) | Available; preferred over X25519 and P-256 from 0.23.48 (3 December 2026) | Available; preferred over X25519 and P-256 from 0.23.48 (3 December 2026) |
| X25519MLKEM768 | Hybrid key exchange (classical plus ML-KEM) | Available; preferred regardless of crate features from 0.23.48 (3 December 2026) | Not supported; the project states ring has no post-quantum algorithms |
| MLKEM768 | Post-quantum key encapsulation | Available separately; not in the default group list | Not supported |
| MLKEM1024 | Post-quantum key encapsulation | Available; the sources do not say whether it is in the default group list | Not supported |
| ECDSA | Server and client authentication signature | Supported; the sources do not give a version of introduction | Supported, per the features manual |
| Ed25519 | Authentication signature | Supported; not accepted by the WebPKI for publicly trusted certificates | Supported; not accepted by the WebPKI for publicly trusted certificates |
| RSA | Server and client authentication signature | Supported, per the features manual | Supported, per the features manual |
| ML-DSA | Post-quantum signature for certificates | Enabled by default in 0.23.44 (7 September 2026); private hierarchies only, not the public web PKI | Not supported; the sources do not say otherwise for ring |
Which rustls key exchange functions depend on elliptic-curve keys
Key exchange in rustls does not use finite-field Diffie-Hellman. The rustls features manual lists discrete-log Diffie-Hellman as a non-feature, so the classical exchange is ephemeral ECDH on elliptic curves: X25519, which the aws-lc-rs provider documents as ephemeral ECDH on curve25519 per RFC 7748, and the NIST curves P-256 (SECP256R1) and P-384 (SECP384R1). Any connection that completes a classical exchange therefore depends on elliptic-curve keys for forward secrecy, and the features manual lists ECDHE on curve25519, nistp256 or nistp384 as the supported set. The rustls defaults manual says X25519 alone is already the default group, so most deployments depend on curve25519 unless the configured kx_groups change that order.
The rustls CryptoProvider documentation says the first entry in kx_groups is the default key share algorithm, and that in TLS 1.3 a key share for that group is sent in the ClientHello. Whichever group sits first in the provider's list determines the elliptic-curve key the client generates up front, so changing that order changes what the handshake offers before the server responds. The 0.23.48 release notes of 3 December 2026 say P-384 is now preferred over X25519 and P-256 in the default order for both the aws-lc-rs and ring providers, so a team that depends on the default ordering should confirm the first entry against that release before drawing conclusions about its key share.
The negotiated_key_exchange_group method on CommonState returns the group agreed with the peer, which is the practical way to confirm which elliptic-curve group a live connection used. Per the rustls CommonState documentation, it returns None while the handshake is still running, and it also returns None when a TLS 1.2 connection was resumed, because no key exchange took place in that case. Assessors should treat a None result as no information about the exchange rather than as evidence that none occurred, and should confirm the logging path that records the group on a completed, non-resumed connection in their own environment.
Which rustls components touch RSA, ECDSA or Ed25519 signatures
In rustls, public-key algorithms do two different jobs: key exchange sets up the session keys, and signatures prove the identity of a server or client through its certificate. The cards below separate the two so you can record which component depends on which algorithm family for your configuration.
TLS 1.3 and 1.2 key exchange
ECDHE key exchange on X25519, P-256 and P-384 sets up session keys in both TLS 1.3 and TLS 1.2, and these are key exchange rather than signatures. rustls does not use finite-field Diffie-Hellman. The default key share is the first entry in the provider's kx_groups, and the hybrid X25519MLKEM768 group is available with the aws-lc-rs provider. Check which group was actually negotiated for each server name rather than assuming the default.
rustls features manualServer authentication with ECDSA, Ed25519 or RSA
On the client side, the server proves its identity with a signature made by its certificate key. rustls supports ECDSA, Ed25519 and RSA for this. Ed25519 is not supported by the WebPKI for publicly trusted certificates, so a public-facing server should expect ECDSA or RSA certificates. Confirm the key type of each certificate in use rather than relying on the library's list of supported types.
rustls features manualClient authentication signatures
When a server requests a client certificate, the client signs the handshake with its private key, using ECDSA, Ed25519 or RSA. This is a signature operation, not key exchange, so it is separate from the session key setup above. Inventory which clients present certificates to your rustls servers and what key type each uses, because those keys must be replaced in any later upgrade.
OCSP stapling and raw public keys
OCSP stapling has the server attach a signed revocation response to the handshake, so the response signature is made with an RSA or elliptic-curve key of the responder. RFC 7250 raw public keys replace the certificate chain with a bare public key for TLS 1.3, and the key is then used directly for authentication. Check whether either feature is enabled on your servers, since each adds a public-key dependency you must inventory separately.
The sign module key parsers
In the aws-lc-rs sign module, any_ecdsa_type and any_eddsa_type parse a DER key as the first ECDSA or EdDSA key type that works, and any_supported_type parses any supported key encoding or type. These functions decide which algorithm a loaded private key is treated as, so a misparsed key changes which signature scheme is used. Review the key loading code in your application to see which of these functions it calls.
ML-DSA certificates in private hierarchies
Since release 0.23.44, the aws-lc-rs provider enables ML-DSA certificates by default. The release notes say these are not supported in the public web PKI but can be used with private certificate hierarchies. The sources do not name which ML-DSA parameter sets are supported, and they do not mention SLH-DSA, so confirm the parameter set with the project before relying on it. Treat this as a signature option for private PKI only.
0.23.44 release notesWhich dependencies apply to aws-lc-rs and ring builds of rustls
The aws-lc-rs provider is the default in the rustls crate, enabled through the aws_lc_rs crate feature, and the project names rustls-aws-lc-rs as its recommended first-party crypto provider. It is the only first-party provider the project says offers a complete feature set including post-quantum algorithms. Key exchange here uses ephemeral elliptic-curve Diffie-Hellman on SECP256R1, SECP384R1 and X25519, and the provider's kx_group module also lists the standalone MLKEM768 and MLKEM1024 groups and the hybrid X25519MLKEM768 and SECP256R1MLKEM768 groups. Rustls 0.23.48 notes say the hybrid X25519MLKEM768 group is preferred regardless of crate features.
- Default key share: the first entry in
kx_groupsis the default key share, and in TLS 1.3 a key share for it is sent in the ClientHello. - Hybrid default:
DEFAULT_KX_GROUPSdoes not include standalone MLKEM768, which is offered only in hybrid with X25519 by default. - Signatures: ECDSA, Ed25519 and RSA are the server and client authentication algorithms listed in the features manual, and Ed25519 is not supported by the WebPKI for publicly trusted certificates.
- ML-DSA certificates: release 0.23.44 enabled ML-DSA certificates by default in this provider, but the notes say they are not supported in the public web PKI and apply only to private certificate hierarchies.
- FIPS: the FIPS manual says the aws-lc-rs module is covered by FIPS 140-3 certificate #4816 and that rustls itself is not claimed as certified.
Confirm with the rustls release you deploy which key exchange groups and signature types are in its kx_groups and provider configuration, because defaults have changed between releases.
The ring provider is an optional second first-party provider, enabled through the ring crate feature rather than being the default. The rustls 0.23.48 release notes deprecate rustls::crypto::ring::default_provider() because ring does not support post-quantum algorithms. A ring-backed setup therefore offers no post-quantum key exchange and no post-quantum signature support, and the classical key exchange groups it does offer follow the same updated default order as aws-lc-rs.
- Deprecated default:
default_provider()is marked deprecated in 0.23.48, so a build that calls it should be reviewed. - No post-quantum key exchange: the project states that rustls-ring does not support post-quantum algorithms, so ML-KEM and hybrid groups are not available through it.
- Classical groups: ring-backed builds use the same ECDHE curves and RSA or ECDSA signatures as the other provider, with P-384 preferred over X25519 and P-256 in the default order since 0.23.48.
- Feature selection: the
ringfeature is optional and is not enabled by default, so it appears in a build only when a dependency or the application turns it on. - Ring documentation: the rustls ring provider docs describe the classical configuration and do not list post-quantum groups.
For each application, confirm whether the ring provider is compiled in and whether default_provider() is still called, since either choice means the connection has no post-quantum key exchange.
The custom-provider crate feature turns off implicit use of the built-in providers, so the application must install its own CryptoProvider. This suits builds that use a different provider, a FIPS-approved configuration or a changed key exchange order. The rustls CryptoProvider docs say each process has one implicit default provider, which the application sets once with install_default() early in startup, and that install_default() succeeds at most once per process. The third-party provider list says those providers have not been evaluated by the rustls maintainers and makes no post-quantum or FIPS statements about them.
- Application responsibility: the application, not rustls, determines which key exchange groups, cipher suites and signature algorithms are offered.
- Single install: a second
install_default()call fails, so startup order matters when libraries also try to set a provider. - FIPS configuration: the FIPS manual describes
default_fips_provider()as the process default and requires thefipsfeature, which is built on aws-lc-rs. - Key exchange order: the 0.23.48 release notes say a custom
CryptoProvideris the route for a different key exchange order. - Third-party providers: the PROVIDERS.md list is not an endorsement, and post-quantum status must come from each provider's own documentation.
Record the exact CryptoProvider the application installs, its version, and the groups in its kx_groups list, because the rustls defaults do not apply to a custom build.
The prefer-post-quantum crate feature previously controlled key exchange group priority with the aws-lc-rs provider. In rustls 0.23.48 it is documented as obsolete with no effect. Assessors who find it in a Cargo.toml or a build script should not record it as a control that changes post-quantum behavior, because the current release does not use it to set the order.
- No effect in 0.23.48: the crate docs describe the feature as obsolete, so enabling or disabling it does not change the groups offered.
- Current control: the aws-lc-rs provider prefers the hybrid X25519MLKEM768 group regardless of crate features, according to the 0.23.48 release notes.
- Older builds: builds from releases before 0.23.48 may depend on the feature, so the exact version in use decides which behavior applies.
- Standalone MLKEM768: the rustls defaults manual says it is available separately but is not enabled by default out of conservatism, and that users may see unexpected connection failures when it is enabled.
- Evidence: record the rustls version from the lockfile, not only the presence of the feature name.
Check the resolved rustls version in Cargo.lock before relying on any feature name in the manifest to describe the key exchange in use.
Where public-key operations sit in a rustls TLS 1.3 handshake
The handshake starts with the client's ClientHello, which carries the first key share from the default key exchange group, either the hybrid X25519MLKEM768 or X25519 depending on the provider and version. The server answers with a ServerHello that completes the key exchange, and both sides derive the session keys from that shared secret. The server then sends its certificate with a signature made using ECDSA, RSA or Ed25519, which the client verifies before sending Finished. Check which steps are key exchange and which are signature, because a post-quantum key exchange does not change the certificate signature step.
Key exchange happens in the first two messages; certificate signatures are checked afterward.
Which stronger rustls settings exist and what the sources say about them
The stronger key exchange settings in rustls depend on which crypto provider is in use. With the aws-lc-rs provider, the hybrid X25519MLKEM768 group is the one rustls prefers, and according to the 0.23.48 release notes of 3 December 2026 it is preferred regardless of crate features. Its classical half is X25519 and its post-quantum half is ML-KEM-768, so the handshake is only as strong as the post-quantum exchange if both halves are kept. The aws-lc-rs kx_group module also lists a standalone MLKEM768 group and a standalone MLKEM1024 group, which the NIST security category 5 level describes. The standalone MLKEM768 group is not in DEFAULT_KX_GROUPS, and the defaults manual says it is left out of the default list out of conservatism, with users possibly seeing unexpected connection failures if they enable it against peers that do not support it. The same release notes say P-384 is now preferred over X25519 and P-256 in the default order for both aws-lc-rs and ring.
Changing any of these choices means building a custom CryptoProvider rather than relying on the default, because the order and membership of the key exchange groups come from the provider's kx_groups list. The first entry in that list is the group whose key share is sent in the ClientHello, so the order matters as much as the membership. The prefer-post-quantum crate feature is documented in 0.23.48 as obsolete and having no effect, so it should not be treated as a switch. The rustls-ring provider is deprecated in this release because it offers no post-quantum key exchange, so a ring-backed build cannot use any of these hybrid or ML-KEM groups. The step-by-step configuration of a custom provider is covered on the configuration page for rustls, so the steps are not repeated here.
For an assessment, the thing to record is which provider and which kx_groups order a given deployment actually uses, and to confirm that with the running build and its configuration rather than from the defaults alone. The sources listed here do not say how each setting interacts with every peer in production, so compatibility testing against the clients and servers that connect is the step to confirm with the vendor and in the reader's own environment. The negotiated group can be checked at runtime through the negotiated key exchange group accessor on the common connection state, which returns no value while the handshake is still running.
Which checks a security assessor should run on a rustls deployment
This sequence lets an assessor establish which key exchange and authentication algorithms a rustls deployment actually negotiates, whether the GHSA-w44r-93j7-qv28 condition applies, and what the vendor has and has not stated about ML-DSA. Each step ends with a recorded output that goes into the assessment file.
Confirm the rustls version and provider
The engineer who owns the build checks the rustls version in Cargo.toml and in the lock file, and confirms it is 0.23.48 or later, the latest release listed as of 3 December 2026. The same step records which crypto provider is in use: rustls-aws-lc-rs, the recommended first-party provider, or rustls-ring, which the release notes say offers no post-quantum key exchange. Check that the provider is installed explicitly with install_default() where the custom-provider feature is set. Done when the assessor has the version, provider name and feature flags written in the evidence file.
Check negotiated key exchange group in test traffic
The engineer runs test handshakes against each production-like endpoint and reads the key exchange group reported by negotiated_key_exchange_group on the connection state. The method returns the group agreed with the peer, and returns None while the handshake is still running or when a TLS 1.2 session was resumed without a key exchange, so those cases need a separate note. Record the group for each endpoint and client type. Expect X25519 or the hybrid X25519MLKEM768 on the aws-lc-rs provider, and P-256 or P-384 where the peer does not offer the hybrid group. Done when every tested path has a recorded group and any None results are explained.
Confirm whether key exchange groups are stored per server name
The engineer checks whether any client or server built on rustls keeps the key exchange group chosen in a ServerHello and reuses it for later ClientHellos to the same server name. Advisory GHSA-w44r-93j7-qv28 describes this condition: an attacker on the network could make later handshakes offer only an X25519 share, and a server that accepts it without a HelloRetryRequest completes classical-only key exchange with no error. The advisory states that servers sending a HelloRetryRequest, clients with session resumption disabled, and connections to a different server name are not affected. The assessor records whether each component meets one of those conditions, confirms the advisory status for the version in use, and notes the rating of Low with CVSS 3.7 and no CVE assigned. Done when each client and server has a recorded yes or no with the reason.
Record authentication key types in use
The engineer lists every certificate and signing key used for server authentication and client authentication, and records its algorithm: ECDSA, Ed25519 or RSA. The assessor notes that the rustls features manual states Ed25519 is not supported by the WebPKI for publicly trusted certificates, so any Ed25519 use is private. The engineer also checks which key parsing functions the code calls, such as any_ecdsa_type, any_eddsa_type or any_supported_type, because these determine which key types the application accepts. Done when the inventory lists each key, its algorithm, its role and the parsing function that loads it.
Ask the vendor about ML-DSA parameter set support
The assessor sends the rustls project, or the vendor of the wrapping product, a written question about which ML-DSA parameter sets are supported, such as ML-DSA-44, ML-DSA-65 or ML-DSA-87, and whether SLH-DSA is planned. The release notes for 0.23.44 say ML-DSA certificates are enabled by default in the aws-lc-rs provider, but the rustls pages checked do not state which parameter sets are supported and do not mention SLH-DSA, so the assessor should not record either as confirmed. The assessor also notes that ML-DSA certificates are not supported in the public web PKI and apply only to private certificate hierarchies. Done when the vendor's written answer, with its date, is attached to the evidence file, or the gap is recorded as open.
Which rustls dependency questions the sources do not answer
The rustls sources cover key exchange and certificate signing well, but several questions about post-quantum signatures, FIPS coverage and project plans are left open. Each card below names one gap and what to ask the project or maintainers before relying on rustls for a security assessment.
Supported ML-DSA parameter sets
Release 0.23.44 enabled ML-DSA certificates by default in the aws-lc-rs provider, but the notes and the features manual do not name which ML-DSA parameter sets, such as ML-DSA-44, ML-DSA-65 or ML-DSA-87, are supported. Ask the maintainers which sets the aws-lc-rs provider accepts for certificates and keys, and whether any set is excluded. Your assessment should record the answer against the exact rustls version you deploy.
0.23.44 release notesSLH-DSA support status
The sources reviewed do not mention SLH-DSA at all, so the presence or absence of support in rustls cannot be confirmed from them. Ask the maintainers whether SLH-DSA signatures are implemented in any provider, and if so which crate version and feature flag enables them. Until they confirm, treat SLH-DSA as unverified in your inventory.
Features manualML-KEM under FIPS certificate #4816
The rustls FIPS manual says the aws-lc-rs module is covered by FIPS 140-3 certificate #4816, but it does not mention ML-KEM, so the sources do not say whether ML-KEM falls under that certificate. Ask the maintainers, and check the certificate's listed algorithms directly with the aws-lc-rs module, whether ML-KEM key exchange is within the validated boundary. Do not record ML-KEM as FIPS-covered until that is confirmed in writing.
FIPS manualML-DSA use in the public web PKI
The 0.23.44 notes say ML-DSA certificates are not supported in the public web PKI and can be used only with private certificate hierarchies. The sources do not say whether that limit is expected to change or what would need to happen first. Ask the maintainers whether they plan to support ML-DSA certificates for publicly trusted chains, and which external standards or CA changes they are waiting on.
0.23.44 release notesPublished timeline for ML-KEM or ML-DSA work
The rustls roadmap lists experimental X25519Kyber768Draft00 support and FIPS certification of the default library as delivered, but names no ML-KEM or ML-DSA milestones. Ask the maintainers whether they have a published or internal timeline for further post-quantum work, and what they will announce in release notes or security advisories. Record the date of their answer, since plans can change between releases.
Project roadmapWhich risks come from downgrades and classical-only fallbacks
The main downgrade question for rustls is advisory GHSA-w44r-93j7-qv28, which describes a case where a handshake can complete with classical key exchange only, with no error raised. The advisory is rated Low, with a CVSS v3.1 base score of 3.7, and it has no CVE. The advisory states there is no key compromise and no authentication bypass. Its concern is confidentiality of recorded sessions: if a session completes classically, the recorded traffic could later be exposed to a future quantum decryption attack. Assessors should record the advisory with its rating and its stated scope, and should not read it as a compromise of the key exchange itself.
The mechanism works as follows. A client stored the key exchange group chosen in a ServerHello per server name before the server was authenticated. A network attacker could therefore cause later ClientHellos to that server name to offer only an X25519 share. If the server accepts that share without sending a HelloRetryRequest, the handshake completes classically. The advisory says servers that send a HelloRetryRequest are not affected, and neither are clients with session resumption disabled or connections to a different server name. Teams should check whether their rustls clients resume sessions and whether any affected server name is reached over connections where a downgrade could occur, and should confirm the details with the rustls project against the advisory text.
Two related points affect planning. First, a rustls build on the ring provider offers no post-quantum key exchange, because the project says rustls-ring does not support post-quantum algorithms, so a ring-backed client cannot be upgraded to a hybrid group by configuration alone. Second, the default hybrid group X25519MLKEM768 can cause unexpected connection failures when a peer does not support it, and the defaults manual says so directly. Before enabling hybrid groups in a test environment, teams should check that their peers handle the larger key share and the negotiation, and should confirm the behavior of any peer they cannot control.
Which questions security assessors ask about rustls key dependencies
Is rustls quantum safe?
The sources do not support calling rustls quantum safe, and this page does not make that claim. What the sources do say is narrower: rustls can negotiate the hybrid X25519MLKEM768 key exchange group, which combines a classical X25519 exchange with an ML-KEM exchange, but only when it is built with the aws-lc-rs provider. Its default key exchange is X25519 alone, and server and client authentication still depend on ECDSA, Ed25519 or RSA signatures and certificates. Assessors should record which key exchange groups and signature types a specific build actually negotiates, and not treat the library as a whole as meeting a post-quantum standard. Confirm the exact behavior of your version against the rustls features manual.
Which rustls version is needed for post-quantum key exchange?
The sources do not name a single minimum version for post-quantum key exchange in rustls. The project's earliest listed post-quantum work is experimental X25519Kyber768Draft00 support delivered in 0.23.2, and the 0.23.48 release of 3 December 2026 changed the aws-lc-rs provider to prefer the hybrid X25519MLKEM768 group regardless of crate features. The latest release listed as of 3 December 2026 is 0.23.48. Because version history changes key exchange defaults, assessors should confirm the version in use, the provider in use and the negotiated group in a test handshake, rather than relying on a version number alone. The rustls releases page lists the changes per version.
Does enabling hybrid key exchange in rustls cost extra?
The sources do not give any cost, fee or effort figure for enabling hybrid key exchange, so no price is stated here. The technical cost the sources describe is different: the hybrid group needs the aws-lc-rs provider, which is the recommended first-party provider, and rustls-ring does not support post-quantum algorithms. Teams that build on ring would need to change providers before they could negotiate the hybrid group. Teams should ask engineering to estimate the work of a provider change, the testing of handshakes with clients and the ongoing maintenance of a dependency update. Those costs depend on the codebase and are not supplied by the sources.
Does enabling hybrid key exchange in rustls break clients?
The sources say it can. The rustls defaults manual notes that standalone MLKEM768 is available but not enabled by default out of conservatism, and that users may see unexpected connection failures when they enable post-quantum groups. The default key share in TLS 1.3 is the first entry in the key exchange list, sent in the ClientHello, so the group order affects which clients connect without a retry. Teams should test handshakes with each client type they serve, including older libraries and embedded devices, before changing the group order in production. Watch for the failure mode in your own logs and confirm the negotiated group on each path.
What should we ask the rustls project about post-quantum support?
Ask the project which key exchange groups and signature types the current release negotiates by default, and whether that default changed between the versions you run. Ask whether the aws-lc-rs provider's hybrid group is supported in your target configuration, and whether ring will gain post-quantum algorithms, since the 0.23.48 release notes deprecate its default provider for this reason. Ask for the status of ML-DSA certificates, which the 0.23.44 release enabled by default in aws-lc-rs but which are not supported in the public web PKI, and whether the project plans parameter sets beyond those it documents. Ask for the project's written commitments on these points, because the roadmap page names no ML-KEM or ML-DSA work. Track answers in the rustls GitHub repository.
Can our team check which rustls key exchange groups we use?
Yes. Your team can check the negotiated group in its own environment. The rustls CommonState method negotiated_key_exchange_group returns the group agreed with the peer, and it returns None while the handshake is still running, or when a TLS 1.2 connection was resumed because no key exchange took place. Read the value after the handshake completes, log it per server name and client type, and run this across the traffic your systems actually see. Also record which provider is installed with install_default(), since that call succeeds at most once per process. The check gives evidence for your inventory, but it does not replace a review of your dependency versions.
Does the FIPS certificate for rustls cover ML-KEM?
The sources do not say that it does. The rustls FIPS manual states that the aws-lc-rs module it uses is covered by FIPS 140-3 certificate #4816, that later aws-lc-rs releases may be covered by later certificates or may be pending certification, and that the manual does not claim rustls itself is certified. The FIPS manual does not mention ML-KEM, so it does not say whether ML-KEM is within that certificate's scope. Assessors should check the certificate's security policy for the approved algorithm list, and confirm with the rustls project and the aws-lc-rs module documentation before recording ML-KEM as FIPS-covered.
How DeployOpen helps teams review rustls key dependencies
DeployOpen helps security and platform teams map where rustls depends on RSA, elliptic-curve and hybrid key exchange, and where it depends on signatures and certificates. The work produces an inventory tied to the exact rustls version, crypto provider and configuration your systems run.
How we scope
- Confirm which rustls versions, crypto providers (aws-lc-rs or ring) and feature flags each system in scope uses.
- Agree in writing which connections, logins and signing paths are included, such as client, server, mTLS and OCSP stapling.
- Record the scope and deliverables before work starts, since engagements are fixed-scope with timelines agreed in advance.
How we build
- Trace each rustls handshake to its negotiated key exchange group, using the negotiated_key_exchange_group method on live connections.
- Check the configured kx_groups order and cipher suites in your build, since the default order changed in rustls 0.23.48.
- Test certificate and signature paths (ECDSA, Ed25519, RSA) and note where ML-DSA certificates would apply, such as private hierarchies only.
How we hand over
- Deliver a dependency inventory listing each key exchange, signature and certificate type with the rustls version it was observed on.
- Document which systems use the aws-lc-rs provider and which use ring, which currently offers no post-quantum key exchange.
- Flag facts the sources do not settle, such as ML-DSA parameter sets and FIPS coverage of ML-KEM, for confirmation with the rustls project.
How we support
- Rerun the inventory after rustls upgrades or provider changes, since key exchange defaults have changed between releases.
- Retest after configuration changes to confirm the negotiated group matches what your policy requires for each endpoint.
- Offer ongoing support and continuous testing as a retainer, with scope and fees quoted from the written engagement scope.

