ECC protects key exchange and digital signatures across most institutional estates. A cryptographically relevant quantum computer would break it, so migration starts with finding out where it's used.
Elliptic curve cryptography (ECC) is the public-key cryptography that underpins most of the secure connections and digital signatures we use today. It’s used to agree session keys in TLS and SSH, to sign certificates and software, and to protect the keys held in hardware security modules (HSMs), payment systems and identity cards. It’s efficient and, against classical computers, very strong.
It’s also one of the main targets of a future quantum computer. Shor’s algorithm, run on a cryptographically relevant quantum computer, would be able to recover an elliptic curve private key from its public key. This guide looks at what ECC is, where it sits in an institutional estate, why a quantum computer would break it and what replaces it.
What is elliptic curve cryptography?
An elliptic curve is the set of points that satisfy an equation of the form y² = x³ + ax + b. In cryptography the curve is defined over a finite field, so we’re dealing with a large but finite set of points rather than the smooth curve you’d normally see illustrated. Points on the curve can be “added” with a simple geometric rule: draw a line through two points, find where it meets the curve a third time, then reflect that point in the x-axis.
Adding a point to itself many times is called scalar multiplication. Given a starting point P and a secret number k, computing Q = kP is fast. Going the other way (given P and Q, recovering k) is the elliptic curve discrete logarithm problem. The best known classical attacks on it take exponential time, which is why ECC can get away with such short keys. According to the NIST recommendations cited by Roetteler et al., a 256-bit elliptic curve offers classical security similar to a 3,072-bit RSA modulus.
ECC does two jobs in practice:
Key agreement: Elliptic Curve Diffie-Hellman (ECDH), usually in its ephemeral form ECDHE, lets two parties agree a shared secret over a public network. The most common curves are X25519 and NIST P-256.
Digital signatures: ECDSA and EdDSA (Ed25519, for example) prove who signed a message, a certificate or a piece of software. Both are specified in FIPS 186-5.
Where ECC sits in an institutional estate
Hardly anyone chooses ECC on purpose. You get it because it’s built into the protocols, libraries, appliances and cloud services you already run, which is exactly why it’s so hard to find. These are the places it usually turns up:
TLS: modern TLS handshakes use ECDHE to agree keys, usually over X25519 or P-256. Many server and client certificates are also signed with ECDSA.
Certificates and code signing: your enterprise PKI, document signing, software releases and firmware update checks frequently run on ECDSA or EdDSA keys.
SSH: key exchange methods such as curve25519-sha256 and ecdh-sha2-nistp256, plus Ed25519 and ECDSA host and user keys. Our SSH post-quantum warning guide covers the key exchange side in detail.
HSM-held signing keys: a lot of root and issuing CA keys, code-signing keys and transaction-signing keys are elliptic curve keys sitting in HSMs. They tend to live a long time and they’re a pain to rotate.
Payment and identity systems: smart cards, national identity documents, mobile wallets and passkeys commonly use elliptic curve keys. So do blockchains, which we cover in our on-chain quantum security guide.
Why Shor’s algorithm breaks elliptic curve cryptography
Back in 1994 Peter Shor described polynomial-time quantum algorithms for factoring integers and computing discrete logarithms. The discrete log one carries over to elliptic curve groups. Run it on a big enough fault-tolerant quantum computer and it would get the private key k from the public key Q. ECDH, ECDSA and EdDSA all go down with it.
Making the keys longer isn’t a practical defence. Roetteler and colleagues note that scaling up the parameters of these schemes enough to make Shor’s algorithm infeasible would most likely lead to highly impractical instantiations. The NSA makes the same point in plainer terms: widely used algorithms such as RSA and ECC are vulnerable to attacks by quantum computers.
Nobody can put a reliable date on Q-day, the point at which such a machine actually exists. Rather than guess, our regulatory clock tracks the deadlines regulators have actually set.
Is ECC an easier target than RSA?
Smaller keys are why ECC is so attractive today, but they also mean a quantum attack would need less hardware. In a 2017 study, Roetteler, Naehrig, Svore and Lauter built and simulated the circuits for Shor’s algorithm on elliptic curves. They estimated that breaking NIST P-256 would need about 2,330 logical qubits and roughly 1.26 × 10¹¹ Toffoli gates. For comparison, they cite estimates of 6,146 qubits and 1.86 × 10¹³ Toffoli gates for factoring a 3,072-bit RSA modulus.
Their conclusion, in line with earlier work by Proos and Zalka, is that at comparable classical security levels ECC is an easier target than RSA. Two caveats matter. First, these are logical qubits: each one has to be built from many physical qubits using quantum error correction, which is the hard engineering problem. Second, these are 2017 estimates under specific assumptions, not a timetable. So the practical lesson is narrower: don’t assume ECC will outlast RSA just because its keys are newer or shorter.
Two different risks: harvested traffic and forged signatures
ECC’s two jobs fail in different ways, so they need different priorities.
Key agreement is exposed now. An attacker can record an ECDHE handshake and the encrypted traffic that follows, store it and then decrypt it at a later date once a quantum computer is able to recover the ephemeral secret. Forward secrecy is of no use in this scenario as the attack works on each individual handshake. RFC 10024 states this outright: any passive observer with access to a cryptographically relevant quantum computer can recover the ECDH ephemeral scalar. Data that is required to remain confidential for years is therefore in danger today. How to prioritise it is covered in our harvest now, decrypt later guide.
Signatures are exposed later, but take longest to fix. A quantum computer wouldn’t be able to go back and read data that was protected by a signature. Once one exists though it could forge signatures from public keys. Think fake certificates, malicious software updates that would still verify correctly and fraudulent transactions. That’s what the NSA refer to as “trust now, forge later”. The problem is that the verification keys are often baked into devices, roots of trust and long-lived documents, so you’d be looking at years of work to replace them.
What replaces elliptic curve cryptography
NIST has standardised replacements for both jobs:
ML-KEM (FIPS 203) replaces ECDH for key establishment.
ML-DSA (FIPS 204) is the replacement for ECDSA and EdDSA for general-purpose signatures.
SLH-DSA (FIPS 205) is a hash-based signature scheme with conservative security assumptions and larger signatures.
For key exchange the normal first port of call is hybrid. RFC 10024 (IETF, August 2026) defines X25519MLKEM768 for TLS 1.3. This is a hybrid of X25519 ECDHE with ML-KEM-768, so the connection remains secure as long as either of those two components holds. It is the only one of the three hybrid groups in that RFC that is marked as recommended in the IANA registry. SecP256r1MLKEM768 and SecP384r1MLKEM1024 are defined for environments that need FIPS-approved curves.
The problem with the hybrids is size. An X25519MLKEM768 client share is 1,216 bytes, X25519 alone being 32 bytes. So test your load balancers, middleboxes and constrained clients before you go live with it. SSH has its own variant (mlkem768x25519-sha256) and that’s already the default in OpenSSH.
Signatures are the tricky bit. There’s no drop-in hybrid in most PKI out there, the certs and signatures get a lot bigger and you can’t rely on a new signing key until every verifier has been updated. For US National Security Systems, CNSA 2.0 specifies the highest ML-KEM and ML-DSA parameter sets and recommends the stateful hash-based schemes LMS and XMSS for software and firmware signing.
Deadlines for retiring ECC
NIST: NIST IR 8547 (finalised October 2026) deprecates ECDSA, EdDSA and elliptic curve Diffie-Hellman after 2030 and disallows them under NIST standards and guidelines after 2035. That’s for the parameter sets in use today (112 bits of classical security and above, or 128 bits for EdDSA). RSA is on the same schedule. US federal high-value and high-impact systems are on an earlier timetable: PQC key establishment by 31 December 2030 and PQC signatures by 31 December 2031.
NSA: CNSA 2.0 will effectively deprecate ECDH and ECDSA in National Security Systems. Software and firmware signing should be using CNSA 2.0 exclusively by 2030, and web browsers, servers and cloud services by 2033, with the whole transition complete by 2035.
NCSC: the UK migration timelines ask organisations to complete their discovery and initial plan by 2028, finish their highest-priority migrations by 2031 and complete migration by 2035. The NCSC expects many banking and financial services firms to be focusing on migration earlier.
Practical steps by sector
Financial services: work out where ECDHE is running on your customer-facing and partner TLS, your API gateways and your CDNs and switch on X25519MLKEM768 wherever your stack and your providers can support it. If your TLS terminates in an HSM or an appliance then you need to check that it can actually negotiate hybrid groups, as some of them can’t. Then list the ECDSA keys in your HSMs (payment tokens, document signing, code signing) and the lifetime of each one, and ask your HSM vendors when they’re going to have validated ML-KEM and ML-DSA support. Traffic that needs to be kept confidential for a long period of time goes first.
Aerospace and defence: firmware and software signing is the priority. You need to go through and find every elliptic curve verification key that’s embedded in your long-lived platforms, your bootloaders and your ground systems and work out how you’d replace it in the field. Where National Security Systems apply you need to align your product roadmaps with the CNSA 2.0 dates (that includes LMS or XMSS for firmware). Put the same requirements in your supplier contracts. Your exposure is going to be determined by your weakest verifier.
Public services: work out which of your citizen identity systems, government PKI, smart cards and outsourced identity providers are using ECC. The NCSC suggests you ask the suppliers for a statement of intent and a dated roadmap. Do that. Then go and check how many of your clients and services actually negotiate post-quantum key exchange. Some will be silently falling back on classical ECDHE.
Whatever sector you’re in, write down each finding. Note the algorithm and the curve, what it’s for (key agreement or signature), where the private key is and who owns it. Note how long the data or signature has to be trusted for and what would have to change first. Do that and the urgent key agreement fixes will separate out from the slower signature work, and you end up with a plan you can actually defend.
Elliptic curve cryptography is everywhere, so start by finding it
ECC will continue to do its job against classical attackers and you can add quantum resistance via hybrid key exchange without having to rip it out overnight. A cryptographically relevant quantum computer would break ECDH and ECDSA outright though. Any traffic that’s been harvested is already exposed. The organisations that migrate smoothly will be the ones that know precisely where their elliptic curve keys are.
Sources
NIST IR 8547: Transition to Post-Quantum Cryptography Standards
NSA: Announcing the Commercial National Security Algorithm Suite 2.0
IETF RFC 10024: Post-Quantum Traditional Hybrid Key Agreement Mechanisms for TLS 1.3
Find out what a quantum computer could break in your estate
QuantSec scans your on-chain and off-chain systems for cryptography a quantum computer could break, including the elliptic curve keys in your protocols, certificates and signing systems, then delivers a digitally signed report with a prioritised migration plan. When you are ready to act, our team can carry out the post-quantum migration with you.
Follow QuantSec on LinkedIn for research and quantum security updates.





