What is the discrete logarithm problem, and where do you meet it?
If you found the discrete logarithm problem in a vendor document, an RFC or a tender, it is the mathematical problem that classic Diffie-Hellman key exchange and the older signature schemes rely on to stay secure. Given a generator and a group element, computing the exponent that produced that element is believed to be hard, so an eavesdropper cannot easily recover the secret that two parties derive. The problem is defined over finite-field groups and over elliptic curve groups, and the protocol documents that use it name the parameters explicitly. Two RFCs matter most for finite-field use: RFC 3526, the More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE), and RFC 7919, which defines negotiated finite field Diffie-Hellman ephemeral parameters for TLS. For elliptic curve parameters, NIST SP 800-186 groups its recommendations under the discrete logarithm heading.
Protocol engineers meet this problem whenever they configure key exchange, choose a named group in a TLS or IKE configuration, or read a cipher suite list. Security leads and auditors meet it when they check which groups a system negotiates and whether those groups meet the strength the organization has set. RFC 7919 defines five named finite-field groups, ffdhe2048 through ffdhe8192, with modulus sizes from 2048 to 8192 bits, and lists approximate symmetric-equivalent strengths of 103 bits for ffdhe2048 and 192 bits for ffdhe8192. RFC 3526 gives two strength estimates per group and describes them as the two ends of a range, so reviewers should read both columns rather than quoting a single figure. The useful check is which named group a server actually negotiates, and whether the client and server agree on it.
The discrete logarithm problem sits in the same family as the elliptic curve discrete logarithm problem, which is why systems often negotiate either a finite-field group or an elliptic curve group during the same handshake. Both are the classical building blocks that post-quantum migration guidance focuses on, so the inventory of where these groups appear is the first step in planning. Confirm with each vendor which named groups and parameter sizes their product supports, which version and configuration you run, and how those choices are logged. The sources listed on this page do not say how a given product's defaults behave, so verify that against its own documentation before relying on it.
Which names and group identifiers refer to the discrete logarithm problem?
This table lists the group names, code points and parameter sets that the sources use for discrete logarithm-based key exchange. Read each row as the name you will meet in a TLS configuration, an IKE setting or a NIST heading, and check the defining document for the version you run. Note that the TLS 1.3 code points are the same five finite-field groups defined in RFC 7919.
| Name or identifier | Defining document | What it identifies |
|---|---|---|
| Discrete logarithm problem | NIST SP 800-186 (heading) | The hard problem behind discrete logarithm-based cryptography, which NIST groups elliptic curve domain parameters under |
| ffdhe2048 (TLS code point 256, NamedGroup 0x0100 in TLS 1.3) | RFC 7919, RFC 8446 | Finite-field Diffie-Hellman group with a 2048-bit modulus, about 103 bits of symmetric-equivalent strength |
| ffdhe3072 (TLS code point 257, NamedGroup 0x0101 in TLS 1.3) | RFC 7919, RFC 8446 | Finite-field Diffie-Hellman group with a 3072-bit modulus, about 125 bits of symmetric-equivalent strength |
| ffdhe4096 (TLS code point 258, NamedGroup 0x0102 in TLS 1.3) | RFC 7919, RFC 8446 | Finite-field Diffie-Hellman group with a 4096-bit modulus, about 150 bits of symmetric-equivalent strength |
| ffdhe6144 (TLS code point 259, NamedGroup 0x0103 in TLS 1.3) | RFC 7919, RFC 8446 | Finite-field Diffie-Hellman group with a 6144-bit modulus, about 175 bits of symmetric-equivalent strength |
| ffdhe8192 (TLS code point 260, NamedGroup 0x0104 in TLS 1.3) | RFC 7919, RFC 8446 | Finite-field Diffie-Hellman group with an 8192-bit modulus, about 192 bits of symmetric-equivalent strength |
| MODP groups 5 to 18 | RFC 3526 | Numbered Diffie-Hellman groups for IKE: group 5 (1536-bit), 14 (2048-bit), 15 (3072-bit), 16 (4096-bit), 17 (6144-bit) and 18 (8192-bit), all with generator 2 |
| MODP group 14 (2048-bit) | RFC 3526 | Each group carries two strength estimates in RFC 3526 (110 and 160 bits for group 14), which mark the ends of a range |
| NIST SP 800-186 | NIST SP 800-186 | NIST heading for discrete logarithm-based parameters, titled elliptic curve domain parameter recommendations |
Where does the discrete logarithm problem show up in real systems?
The discrete logarithm problem sits underneath Diffie-Hellman key exchange in TLS and IKE, and under elliptic curve parameters that NIST publishes. Each source below names a place where a reader will meet the term and what to check there.
TLS 1.2 named finite-field groups
RFC 7919 defines five named finite-field Diffie-Hellman groups, ffdhe2048 through ffdhe8192, for use in negotiated TLS key exchange. Each group is a fixed prime modulus with a known generator, which is what makes the discrete logarithm problem hard in that setting. When you review a TLS 1.2 server configuration, check which named groups it offers and whether the group choices match the ones this RFC defines. Note that the RFC also lists approximate symmetric-equivalent strengths for each group, which is useful when comparing them.
- Named groups defined
- 5
TLS 1.3 named group code points
RFC 8446 carries the same finite-field groups into TLS 1.3 by assigning each one a NamedGroup value in the key share extension. For a TLS 1.3 deployment, the relevant question is which of these code points a server or load balancer accepts during the handshake. Confirm the list of groups your termination component supports, because a group defined in the RFC is only usable if the implementation offers it. Check the vendor's documentation for the exact set of groups enabled by default.
RFC 8446 textIKE MODP Diffie-Hellman groups
RFC 3526 defines MODP groups 5 and 14 through 18 for Internet Key Exchange, which VPN gateways and IPsec endpoints use to negotiate shared secrets. These groups appear in IKE proposals as numbered Diffie-Hellman groups, so a gateway configuration often lists them directly. Review which group numbers are permitted in your IPsec policy, including whether older, smaller groups remain enabled. The RFC also notes that the Diffie-Hellman exponent should carry double the entropy of the overall system strength, which is worth raising with the vendor.
RFC 3526 textNIST elliptic curve domain parameters
NIST SP 800-186 groups its elliptic curve domain parameter recommendations under the heading of discrete logarithm-based cryptography. Elliptic curve Diffie-Hellman and ECDSA rely on the elliptic curve form of the same hard problem, so the curves and parameters named in this publication are the ones a system's elliptic curve operations depend on. When you inventory a system, record which curves its libraries and certificates use and check them against this publication.
SP 800-186 textVendor documents and DH group lists
Vendor product documentation, configuration guides and tender responses often list the Diffie-Hellman groups a product supports, sometimes by RFC name and sometimes by group number. Security and procurement teams should request that list as a written answer rather than assume it from marketing material. Ask the vendor to state which groups are enabled by default, which can be disabled, and the version the answer applies to. A listed group does not show that the product is compliant with any requirement.
Named groups in configuration audits
Audits of TLS and IPsec configurations check which discrete logarithm groups are accepted, usually by comparing the enabled group list against a baseline. Reviewers need the exact group names or numbers each system negotiates, not just the protocol version. Gather the negotiated group from live handshakes or configuration exports, then map each entry to the RFC that defines it. Keep the evidence dated and tied to the software version it came from.
How does the discrete logarithm problem support key exchange and signatures?
The discrete logarithm problem is the hard problem that classic Diffie-Hellman key exchange and the signature schemes built on it rely on. In key exchange, two parties each publish a value derived from a secret exponent, and then combine what they received with their own secret to arrive at the same shared key. Someone watching the open channel sees the published values but, because the exchange depends on the discrete logarithm problem being hard, cannot feed them into the same calculation to recover the key. The same hardness underpins signature schemes such as DSA and its elliptic curve variants, where a signer's private exponent is bound to a message through a published public value. For engineers, the practical point is that the security of these mechanisms rests entirely on the problem remaining infeasible for the attacker you are designing against, which is why a quantum adversary matters here.
Two IETF documents govern how the parameters for these exchanges are sized. RFC 3526 defines MODP groups for IKE and advises that the Diffie-Hellman exponent should have "double the entropy of the strength of the entire system", so a group's exponent must be chosen with that margin in mind. RFC 7919 takes a related approach for TLS: it defines the named groups ffdhe2048 through ffdhe8192 and sets its minimum exponent sizes conservatively, to cover the range between NIST's and ENISA's estimates of how hard the discrete log problem is. When you review a deployment, check which named group or MODP group the peers actually negotiate, since the exponent sizing and approximate symmetric-equivalent strength differ across them.
The relevant point for a migration is that these key exchange and signature roles are the ones a quantum attacker is expected to target, so the sources here describe the classical mechanisms as the ones to replace rather than to tune. NIST's FIPS 203 and FIPS 204 specify ML-KEM and ML-DSA as replacement standards, and NIST IR 8547 identifies which quantum-vulnerable standards products will need to move away from. Confirm with your vendors which Diffie-Hellman and signature modes their products still offer, and treat any finite-field or curve-based mode as a candidate for transition planning rather than as a long-term control.
What is the standardization and adoption status of finite-field groups?
Finite-field Diffie-Hellman groups are the older, standardized form of the discrete logarithm problem in key exchange, and their standards history runs back more than two decades. RFC 3526, a Proposed Standard dated May 2003, defines the MODP groups 5 through 18 for Internet Key Exchange, with modulus sizes from 1536 to 8192 bits and generator 2. RFC 7919, a Standards Track Proposed Standard dated August 2016, defines five named groups for TLS, ffdhe2048 through ffdhe8192, and updates RFCs 2246, 4346, 4492 and 5246. RFC 8446, the TLS 1.3 specification dated August 2018, assigns the NamedGroup values for those five groups, 0x0100 through 0x0104. NIST SP 800-186 groups elliptic curve domain parameter recommendations under the discrete logarithm heading, which shows how NIST classifies the family. Confirm the exact status of each document in the IETF Datatracker and the NIST CSRC pages before citing it in a tender or audit response.
For planning, the relevant question is what replaces these groups and when. The sources listed on this page do not name a quantum-resistant replacement for Diffie-Hellman in TLS beyond the lattice and hash-based standards FIPS 203, FIPS 204 and FIPS 205, all published as final standards on 13 August 2024. NIST IR 8547, published as a final report on 27 October 2026, identifies the quantum-vulnerable standards that products and services will need to move away from, so a finite-field deployment in an inventory should be flagged for that transition. The sources do not give adoption figures for finite-field groups in TLS or IKE deployments, and this page does not estimate them. To find out how widely a given product offers these groups, check its own documentation and configuration, and ask the vendor which named groups it enables by default.
Two points from the sources bear on how to read these groups today. RFC 7919 notes that ENISA recommends at least 3072-bit finite-field groups for future systems, which is why ffdhe3072 is intended for that use, and its strength estimates run from about 103 bits for ffdhe2048 to 192 bits for ffdhe8192. RFC 3526 gives two strength estimates per group and describes them as the ends of a range, so a single strength figure should not be taken from it. The Cryptography Incident Review Group statement of 30 November 2026 advises readers to keep migrating and to design for fast replacement, which applies to finite-field deployments as much as to any other. Confirm which group your endpoints negotiate and record it in your cryptographic inventory.
What should you do about the discrete logarithm problem in a migration?
The sequence below turns the discrete logarithm dependency into a documented inventory that your team can check against vendor support, upgrade plans and audit evidence. It does not by itself make any system compliant, and each step ends with an output you can show a reviewer.
Inventory every component that negotiates finite-field groups
Start by listing each TLS, IKE and signature component in your environment that negotiates or uses ffdhe or MODP groups. This includes load balancers, VPN gateways, web servers, application libraries, identity providers and any internal service that performs Diffie-Hellman key exchange. Assign an owner to each entry. The step is done when the list covers every network-facing and internal component you operate, reviewed by someone who did not build the list. Keep the list in a versioned location so later steps can reference it.
Record the group identifiers each component uses
For each component in the inventory, record the specific group identifiers it accepts and prefers. For TLS, these are the named groups defined in RFC 7919 (ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144 and ffdhe8192) and the TLS 1.3 NamedGroup values that RFC 8446 assigns to them. For IKE, record the MODP group numbers defined in RFC 3526, such as group 14 or group 15. Capture the configured values from the running system, not only the defaults in the documentation, since a component can accept groups its configuration does not prefer. The output is a table of component, protocol, configured groups and preferred group.
Check each vendor's documented group and hybrid support
For each component, check the vendor's own documentation for two things: which finite-field groups it supports, and whether it documents post-quantum or hybrid key exchange. Record the product, version and edition that each statement applies to, because support often differs between releases and editions. Where the documentation is silent, record that fact and ask the vendor in writing. The sources listed for this topic do not cover any vendor's product support, so this check has to come from each vendor. The output is a support matrix with a source reference and date for every entry.
Assess strength targets with the standards reference points
Compare the group sizes in use against the strength estimates that RFC 7919 and RFC 3526 publish for each group. RFC 7919 lists approximate symmetric-equivalent strengths for each ffdhe group, and RFC 3526 gives two estimates per MODP group that represent the ends of a range. Use these figures to document what each configured group is estimated to provide, and flag any component that relies on the smallest groups. Note that these are classical strength estimates. Record the estimates as they are published, and do not treat them as a measure of resistance to quantum attack. The output is a per-component note of the configured group and its published estimate.
Plan upgrades and configuration changes by component
For each component, write a change plan that names the configuration to change, the version to upgrade to if required, and the test that proves the change works. Where a vendor documents hybrid or post-quantum key exchange, plan a test deployment before production rollout. Where a vendor documents no support, plan a replacement, an isolation measure or a recorded exception with an accountable owner. Sequence the plans so that components which terminate connections for other components are changed in a controlled order. The output is a change plan per component, approved by the owner, with its test criteria.
Test changes and confirm the negotiated groups
Apply the planned changes in a test environment and confirm the groups actually negotiated by each component, using the same identifiers recorded in step two. Check that fallback behaviour is what you expect when a client does not offer the preferred group. Record the test date, the component version and the negotiated group for each test case. Repeat the check after production deployment. The output is a test record that shows each planned configuration produced the intended negotiated group, which you can compare against the inventory.
Retain the inventory and evidence for auditors
Keep the inventory, the group identifier records, the vendor support matrix, the change plans and the test records together in a version-controlled repository with dates and owners. Update them whenever a component or configuration changes. Auditors and assessors may ask to see this evidence, but an assessment is performed by an independent auditor or certification body, not by this record. The output is an evidence package that shows how the discrete logarithm dependency was identified, assessed and changed, with dates and owners on each item.
Where do the named groups sit in a TLS handshake?
The diagram starts with the client's ClientHello, which lists the named finite-field groups it supports, including ffdhe2048 (0x0100) and ffdhe3072 (0x0101) as defined in RFC 8446. The server selects one group from that list and returns its own key share, and both sides then compute the same shared secret from the Diffie-Hellman exchange. Check that both parties offer the same group, and that the chosen group matches the security level your policy requires. The named group values come from RFC 7919 and RFC 8446.
Client and server agree on a named finite-field group, then derive the same shared key.
Which confusions do security reviewers run into with this term?
Reviewers often meet the discrete logarithm problem in vendor documents, standards and tender answers, and the same few misreadings recur. Each card below names one of them and says what to check instead, so the claim you are reviewing is tied to the right group, parameter set and security property.
Mixing it with the elliptic curve variant
The discrete logarithm problem in finite fields (for example, the groups in RFC 7919) and the elliptic curve discrete logarithm problem are related but distinct, and standards sometimes group them under one heading. NIST SP 800-186, for instance, sits under the discrete logarithm heading while covering elliptic curve domain parameters. Before accepting a claim, confirm which group type the product uses, since a statement about one does not automatically carry over to the other.
NIST SP 800-186Reading RFC 3526 estimates as one number
RFC 3526 gives two strength estimates for each MODP group, for example 110 and 160 bits for group 14, and states that the two columns are the ends of a range. Reading only the higher figure overstates the protection, and reading only the lower one understates it. When a vendor cites a group from that RFC, ask which estimate its security claim uses and whether the answer is stated as a range.
RFC 3526 textTreating 103 bits as a current claim
RFC 7919 lists an approximate symmetric-equivalent strength of 103 bits for ffdhe2048. That figure describes the estimate as the RFC gives it, and it does not certify the group as sufficient for a given threat model or deployment date. Its own guidance places ffdhe3072 as the group intended for future systems, so a review of ffdhe2048 should record that choice and why it was made rather than read 103 bits as an endorsement.
RFC 7919 textAssuming the name implies post-quantum safety
The discrete logarithm problem is the hard problem behind classic key exchange and signatures, and it is the kind of problem that quantum computers are expected to affect. A name that sounds mathematical does not indicate post-quantum resistance. When a system's key exchange or signature relies on this problem, treat it as a classical scheme and check separately whether it is replaced or supplemented by a standardized post-quantum algorithm such as those in NIST FIPS 203 or FIPS 204.
NIST FIPS 203Reading DH support as hybrid or post-quantum
A vendor stating that it supports Diffie-Hellman, or finite-field groups such as ffdhe2048, describes classical key exchange and says nothing about hybrid or post-quantum key exchange. Those are separate capabilities, and a product can offer one without the other. Ask whether the vendor's documentation names a post-quantum or hybrid group, and which versions and configurations enable it. The sources listed on this page do not say how any specific product implements either.
RFC 8446 textWhat do people ask about the discrete logarithm problem?
What does discrete logarithm problem mean in plain terms?
The discrete logarithm problem is the task of recovering an exponent from a result when the operation is modular exponentiation in a finite group. Given a base g, a modulus p and a value h = g^x mod p, the problem asks you to find x. Classic key exchange and signature schemes rely on this being hard to do at the sizes used in practice, while computing the forward direction stays fast. The term appears in RFC 7919 and RFC 3526, which define the finite-field groups that carry these operations in TLS and IKE. For an engineer, the practical point is that any protocol built on this problem has its security tied to how large the group is, and that link is what the strength tables in those RFCs express.
Is the discrete logarithm problem the same as the elliptic curve discrete logarithm problem?
They are related but not the same. The discrete logarithm problem in this glossary refers to the finite-field form used by groups such as ffdhe2048 in RFC 7919 and the MODP groups in RFC 3526. The elliptic curve version runs the same kind of problem over points on an elliptic curve, which NIST groups under its discrete logarithm recommendations in SP 800-186. Both are hard for classical computers at the sizes used in practice, and both are the kind of problem that a sufficiently large quantum computer would be expected to attack. Treat them as separate entries when you read a vendor document, and confirm which group a product actually negotiates, because the two families have different parameter sizes and different strength figures.
Is the discrete logarithm problem standardized, and where?
Yes, the finite-field form is standardized across several Internet and NIST documents. RFC 3526, a Proposed Standard dated May 2003, defines MODP groups 5, 14, 15, 16, 17 and 18 for Internet Key Exchange. RFC 7919, a Standards Track Proposed Standard dated August 2016, defines the named groups ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144 and ffdhe8192 for negotiated Diffie-Hellman in TLS, and it updates RFCs 2246, 4346, 4492 and 5246. RFC 8446, dated August 2018, assigns TLS 1.3 NamedGroup values 0x0100 through 0x0104 to those same five groups. NIST SP 800-186 covers elliptic curve parameter recommendations under the discrete logarithm heading. Check each document's current status before citing it, since a later revision may supersede it.
Do products use the discrete logarithm problem, and how can I check?
Many products use it, usually through Diffie-Hellman key exchange in TLS, IKE or SSH, or through DSA and ECDSA signatures. The practical check is to read the configuration and the handshake, not the product name. For TLS, look for which named groups the server offers, such as ffdhe2048 or ffdhe3072, and which key exchange it selects for each connection. Tools such as openssl s_client can show the negotiated group for a given server. For IKE, check the configured DH group number. Record the result for each endpoint, because one product often supports several groups and the negotiated one is what matters. The sources listed here do not say which specific products default to which groups, so confirm that with each vendor's documentation or your own test results.
What changes for my systems in a post-quantum migration?
The migration usually changes the key exchange and signature layers that depend on this problem, not the whole stack. NIST FIPS 203, FIPS 204 and FIPS 205, all published as final standards on 13 August 2024, specify ML-KEM, ML-DSA and SLH-DSA as the replacements for key establishment and signatures. NIST IR 8547, published as a final report on 27 October 2026, identifies which existing standards are quantum-vulnerable and which replacements products will need to adopt. In practice, teams typically inventory every place finite-field or elliptic curve groups are negotiated, plan hybrid configurations where the protocol supports them, and budget for certificate and key replacement. The Cryptography Incident Review Group statement of 30 November 2026 advises keeping the highest security level each application supports and designing for fast replacement, which affects how you structure that inventory.
What should I ask a vendor about discrete logarithm use in their product?
Ask which named groups or parameter sizes the product offers, and which one it negotiates by default. Ask for the exact version and edition, since behavior often differs between releases. Ask whether the product supports ffdhe3072 or larger, and whether it can be restricted to those groups. Ask which signature algorithms it uses for certificates and code signing, and whether any post-quantum option is on the roadmap with a documented date. Ask how the vendor plans to support hybrid key exchange when it becomes available, and what their upgrade path looks like. Request written answers that name the version, because verbal claims are hard to check later. The strength figures in RFC 7919 (for example, approximately 103 bits for ffdhe2048 and 125 bits for ffdhe3072) give you a reference for comparing what the vendor says.
How strong is the discrete logarithm problem in bits?
Strength is commonly expressed as an approximate symmetric-equivalent number, and RFC 7919 lists about 103 bits for ffdhe2048, 125 for ffdhe3072, 150 for ffdhe4096, 175 for ffdhe6144 and 192 for ffdhe8192. RFC 3526 gives two estimates per group, for example 110 and 160 bits for group 14, and describes them as the two ends of a range. The NIST CSRC glossary defines security strength as a number associated with the amount of work an attacker needs, measured in operations. These are estimates against classical attacks, so they say nothing about a quantum attacker, who would use a different method. Use the numbers to compare groups with each other, and do not read them as a guarantee of protection over time.
How DeployOpen works on this
DeployOpen approaches the discrete logarithm problem by first finding where discrete logarithm based key exchange and signatures run in your environment, then planning the move to post-quantum replacements. Each engagement is agreed in writing before work starts, and the output is documented evidence your security and compliance teams can review.
How we scope
- Engagements are fixed-scope, with systems, deliverables and timelines agreed in writing before work starts.
- We identify which services, protocols and TLS configurations rely on finite-field or elliptic curve discrete logarithm parameters.
- Scope documents list the parameter groups in use, such as RFC 7919 ffdhe groups or RFC 3526 MODP groups, for each system.
How we build
- We configure and upgrade the components that terminate key exchange, aligning named groups with the TLS and IKE standards you run.
- Changes are tested in your own environment, including self-hosted platforms deployed inside your cloud, data center or air-gapped network.
- Where systems depend on the discrete logarithm problem, we document the planned replacement and confirm version compatibility before rollout.
How we hand over
- Handover includes configuration records, test results and an inventory of remaining discrete logarithm dependencies.
- Documentation maps each change to the relevant standard, such as NIST SP 800-186 for elliptic curve domain parameters.
- Your compliance and security teams receive evidence they can review, though independent auditors issue any formal assessment.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial engagement ends.
- Retainers can cover reviews when new TLS or IKE group recommendations are published or when your vendors update their products.
- Ask any provider to confirm which standard versions and parameter sizes their work covers before you agree to a scope.
Sources and further reading
- RFC 7919: Negotiated Finite Field Diffie-Hellman Ephemeral Parameters for TLS ↗
- RFC 3526: More Modular Exponential (MODP) Diffie-Hellman groups for IKE ↗
- RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3 ↗
- NIST SP 800-186: Recommendations for Discrete Logarithm-based Cryptography ↗
- NIST CSRC Glossary: Security Strength ↗
- NIST FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard ↗

