# Elliptic curve cryptography: how ECC works and why P-256 is in the news

> ECC secures HTTPS, SSH, passkeys and Bitcoin with 256-bit keys. This week Chrome and OpenSSH both moved a default off a 256-bit curve.

URL: https://claudegpt.si/news/elliptic-curve-cryptography-explained  
Published: 2026-12-06T03:00:27.970Z  
Author: ClaudeGPT Si Newsroom  
Section: Research  
Topics: Cryptography, Encryption, Cybersecurity, Quantum computing, Research  
Publisher: ClaudeGPT Si

## Key takeaways

- Elliptic curve cryptography uses points on a curve as keys, and NIST rates a 256-bit elliptic curve key as strong as a 3,072-bit RSA key.
- Chrome intends to stop trusting ECDSA P-256 certificate authority keys on March 15, 2027, and an OpenSSH commit changes the default key type from Ed25519 to ECDSA P-384.
- Anthropic and OpenAI say their models found weaknesses in some internet cryptography but name no algorithm, and they say NIST's post-quantum standards are not affected.

Elliptic curve cryptography (ECC) is a kind of public-key cryptography whose keys are points on a mathematical curve. It does the same jobs as RSA, agreeing on a secret key and signing things, with far smaller keys: a 256-bit elliptic curve key is rated as strong as a 3,072-bit RSA key in [NIST's key management guidance](https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final). It is built into HTTPS, SSH, passkeys and Bitcoin.

It is also in the news. In the first week of December 2026, Chrome said it will stop trusting one kind of elliptic curve key, OpenSSH changed the key type it generates by default, and Anthropic and OpenAI said their unreleased models had found weaknesses in cryptography they did not name. The details are further down, with what each source says and what none of them say.

## How elliptic curve cryptography works

Start with the curve. For the common curves it is the set of points (x, y) that satisfy an equation of the form y² = x³ + ax + b, where the arithmetic is done modulo a large prime number instead of over ordinary numbers. Bitcoin's curve, secp256k1, is about the simplest case: y² = x³ + 7, according to the [SEC 2 standard](https://www.secg.org/sec2-v2.pdf) that defines it.

Points on the curve can be added. There is a rule that takes two points and gives a third point on the same curve. Add a point G to itself over and over, k times in all, and the result is written kG. This is point multiplication, and a computer does it quickly even when k is a 256-bit number.

Going backward is the hard part. Given G and the result Q = kG, find k. That is the elliptic curve discrete logarithm problem, and the [SEC 1 standard](https://www.secg.org/sec1-v2.pdf) says the security of every ECC scheme relies on it.

So a private key is the number k, picked at random. The public key is the point Q. Everyone knows the curve and the starting point G, which are fixed by the standard. Publishing Q is safe as long as nobody can work back to k.

SEC 1 says no general shortcut is known for the problem (in its terms, no subexponential algorithm). The best general attack it lists, Pollard's rho method, takes about the square root of πn/2 steps, where n is the number of points in play. For a 256-bit curve that is roughly 2 to the power 128 steps. That is where the "128-bit security" label for these curves comes from.

The idea dates to 1985, when Koblitz and Miller first proposed building cryptography on elliptic curves, per SEC 1.

## What it is used for: ECDH, ECDSA and Ed25519

ECC is used for two things.

The first is key agreement, called ECDH (elliptic curve Diffie-Hellman). Each side makes a private number and sends the other its public point. Each then multiplies the point it received by its own private number. Both land on the same point, and an eavesdropper who saw only the public points can't compute it. X25519 is ECDH on Curve25519, specified in [RFC 7748](https://www.rfc-editor.org/rfc/rfc7748), with 32-byte keys.

The second is signatures. ECDSA is the older scheme, specified in NIST's [FIPS 186-5](https://csrc.nist.gov/pubs/fips/186-5/final). Ed25519 is the newer one, from [RFC 8032](https://www.rfc-editor.org/rfc/rfc8032): 32-byte public keys, 64-byte signatures, and, per the RFC, no need for a unique random number for each signature. ECDSA needs a secret number for every message it signs. FIPS 186-5 approved both in February 2023 and dropped the older DSA for new signatures. Our [ECDSA vs Ed25519 comparison](https://claudegpt.si/news/ecdsa-vs-ed25519) goes through the differences.

Where it shows up:

| Where | What it uses | Source |
| --- | --- | --- |
| HTTPS (TLS 1.3) | Key exchange on P-256 is mandatory and X25519 is recommended; ECDSA P-256 signatures are mandatory | [RFC 8446](https://www.rfc-editor.org/rfc/rfc8446), section 9.1 |
| SSH keys | ECDSA on 256, 384 or 521-bit curves, or Ed25519 | [ssh-keygen manual](https://man.openbsd.org/ssh-keygen) |
| Passkeys | ES256, which is ECDSA on P-256, and EdDSA on Ed25519, next to RSA | [WebAuthn Level 3](https://www.w3.org/TR/webauthn-3/) |
| Bitcoin | ECDSA on secp256k1 | [Bitcoin developer guide](https://developer.bitcoin.org/devguide/transactions.html) |

## Why elliptic curve keys are so much shorter than RSA keys

For elliptic curves the best known general attack is the square-root one above, so the key only has to be about twice as long as the security level wanted. RSA keys have to be far longer for the same strength, and the gap widens as the strength goes up.

Table 2 of NIST SP 800-57 Part 1 (Revision 5, May 2020) puts the two side by side:

| Security strength | Symmetric cipher | RSA key | Elliptic curve key |
| --- | --- | --- | --- |
| 112 bits | 3TDEA | 2,048 bits | 224 to 255 bits |
| 128 bits | AES-128 | 3,072 bits | 256 to 383 bits |
| 192 bits | AES-192 | 7,680 bits | 384 to 511 bits |
| 256 bits | AES-256 | 15,360 bits | 512 bits or more |

At the 128-bit level the RSA key is 12 times as long. At 192 bits it is 20 times. Our [RSA explainer](https://claudegpt.si/news/rsa-encryption-explained-can-ai-break-it) covers the other side of the table.

The table has a footnote on both the RSA and ECC columns. It says the estimates will change significantly once quantum computing becomes practical.

## The named curves: P-256, P-384, Curve25519 and secp256k1

Software picks from a short list of standard curves.

| Curve | Also known as | Rated strength | Notes |
| --- | --- | --- | --- |
| P-256 | secp256r1 | 128 bits | NIST curve; the one TLS 1.3 requires |
| P-384 | secp384r1 | 192 bits | NIST curve, the next strength level up |
| Curve25519 | X25519 for key exchange; Edwards25519 for Ed25519 | 128 bits | From RFC 7748, added to NIST's list in 2023 |
| secp256k1 | | 128 bits | SEC 2 curve; used by Bitcoin |

The strengths for the first three are from [NIST SP 800-186](https://csrc.nist.gov/pubs/sp/800/186/final), the February 2023 document that lists the curves recommended for US government use. RFC 7748 itself is a shade more modest and puts Curve25519 slightly under the 128-bit level. secp256k1 is not in NIST's table of recommended curves. SP 800-186 allows it for blockchain applications, and SEC 2 rates it at 128 bits.

One line in RFC 7748 is worth knowing about. Explaining why it also defines the larger Curve448, the 2016 document says some designers want to "hedge against some amount of analytical advance against elliptic curves."

## Why elliptic curve cryptography is in the news

Four things happened between December 2 and December 5. None of the four documents says elliptic curve cryptography is broken.

On December 2, the Office of the National Cyber Director, the NSA and CISA put out a [joint statement](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities) saying AI companies had disclosed discoveries that affect the security of some cryptography in use. The agencies judged that these do not pose an immediate and widespread threat, and urged a faster move to post-quantum cryptography. The statement names no algorithm, curve or key size.

On December 3, Chrome's security team [said](https://blog.google/security/keeping-https-connections-safe-in-chrome) Chrome intends to stop trusting certificate authority keys that use ECDSA P-256 as of March 15, 2027. Sites whose certificates chain to such a key will get a full-page warning after that date unless they install a replacement. The deadline covers CA keys. Google also urges site operators to move their own server keys off P-256 and to turn on a hybrid key agreement called X25519MLKEM768, but sets no date for that. The post says the urgency has increased and does not say what is wrong with P-256. We covered the deadline in [Chrome will stop trusting ECDSA P-256 CA keys](https://claudegpt.si/news/chrome-ecdsa-p-256-ca-distrust-march-2027).

Also this week, OpenSSH's portable repository took a [commit](https://github.com/openssh/openssh-portable/commit/5b63da24d393ec5f08ec4371e09b692fc86587a8) that switches the default key type `ssh-keygen` generates to ECDSA on NIST P-384. It changes two constants in `ssh-keygen.c`: the default type goes from `ed25519` to `ecdsa`, and the default ECDSA size from 256 bits to 384. The upstream OpenBSD revision in the diff is dated December 3. The commit message gives no reason. This is a source change, and OpenBSD's online manual page still listed Ed25519 as the default on December 6.

On December 5, Anthropic and OpenAI published a [joint statement](https://www.anthropic.com/news/joint-statement-cryptography) saying researchers at each company, testing unreleased models, had separately found "weaknesses in some of the cryptography that protects the internet." They say the weaknesses are in the underlying mathematics, have always existed, are not an immediate threat to the public, and do not affect NIST's post-quantum standards. They are not publishing their methods or the timeline. The statement does not name an algorithm, and the words "elliptic curve" do not appear in it. More in [our report on the statement](https://claudegpt.si/news/openai-anthropic-cryptography-weaknesses-statement).

The two concrete changes have one thing in common. Both move a default off a 256-bit curve, and neither leaves elliptic curves behind: Chrome names only P-256 CA keys and recommends a hybrid with X25519 in its name, and OpenSSH picked a bigger elliptic curve. That reading comes from what the projects did. Neither Google's post nor the OpenSSH commit ties its change to the labs' findings, so treat it as a guess about cause.

Not known as of December 6: which algorithms the labs' findings touch, whether curve size matters, whether Curve25519 or secp256k1 are affected at all, and whether anyone outside the labs and the government can do what the models did.

## Shor's algorithm and what replaces ECC

There is a second, older threat, and it should not be confused with this week's. Shor's algorithm, run on a large enough quantum computer, solves the discrete logarithm problem directly. NIST's transition report, [IR 8547](https://csrc.nist.gov/pubs/ir/8547/final), finalized in October 2026, says ECDSA, EdDSA and ECC key establishment are all vulnerable to it. A bigger curve is no fix here. RFC 7748 says a large quantum computer would break both of its curves, the 448-bit one included.

NIST's 2024 announcement described such machines as something researchers are still working to build. Its plan anyway is to deprecate ECDSA and EdDSA after 2030 and disallow them after 2035.

The replacements were [finalized in August 2024](https://www.nist.gov/news-events/news/2024/08/nist-releases-first-3-finalized-post-quantum-encryption-standards). FIPS 203 (ML-KEM) takes over key agreement from ECDH. FIPS 204 (ML-DSA) takes over signatures from ECDSA and Ed25519. FIPS 205 (SLH-DSA) is a backup signature scheme built on hash functions, in case the lattice math under the first two turns out to have a problem. None of them uses elliptic curves. Our [post-quantum cryptography explainer](https://claudegpt.si/news/post-quantum-cryptography-explained) covers how they work.

For anyone running servers, the first hard date is Chrome's: March 15, 2027, for certificates that chain to a P-256 CA key.

## Frequently asked questions

### Is elliptic curve cryptography broken?

No public source says so as of December 6, 2026. Anthropic and OpenAI said on December 5 that their models found weaknesses in some internet cryptography, but named no algorithm. Chrome is dropping trust in ECDSA P-256 certificate authority keys on March 15, 2027, without saying what is wrong with them.

### Elliptic curve cryptography vs RSA: which is stronger?

At the same key length, elliptic curve cryptography is much stronger. NIST SP 800-57 Part 1 rates a 256-bit elliptic curve key and a 3,072-bit RSA key at the same 128-bit security strength, and a 384-bit curve the same as 7,680-bit RSA.

### Does Bitcoin use elliptic curve cryptography?

Yes. Bitcoin's developer guide says it uses ECDSA signatures on the secp256k1 curve. A private key is a 256-bit random number and the public key is derived from it.

### Is elliptic curve cryptography safe from quantum computers?

No. NIST says ECDSA, EdDSA and elliptic curve key establishment are vulnerable to Shor's algorithm on a large enough quantum computer. NIST plans to deprecate them after 2030 and disallow them after 2035, replacing them with ML-KEM (FIPS 203), ML-DSA (FIPS 204) and SLH-DSA (FIPS 205).

## Sources

- [SP 800-57 Part 1 Rev. 5, Recommendation for Key Management: Part 1 - General](https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final), NIST
- [SP 800-186, Recommendations for Discrete Logarithm-based Cryptography: Elliptic Curve Domain Parameters](https://csrc.nist.gov/pubs/sp/800/186/final), NIST
- [FIPS 186-5, Digital Signature Standard (DSS)](https://csrc.nist.gov/pubs/fips/186-5/final), NIST
- [SEC 1: Elliptic Curve Cryptography, version 2.0](https://www.secg.org/sec1-v2.pdf), Standards for Efficient Cryptography Group
- [SEC 2: Recommended Elliptic Curve Domain Parameters, version 2.0](https://www.secg.org/sec2-v2.pdf), Standards for Efficient Cryptography Group
- [RFC 7748: Elliptic Curves for Security](https://www.rfc-editor.org/rfc/rfc7748), IETF
- [RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA)](https://www.rfc-editor.org/rfc/rfc8032), IETF
- [RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3](https://www.rfc-editor.org/rfc/rfc8446), IETF
- [Joint statement from Anthropic and OpenAI on recent advances in cryptography](https://www.anthropic.com/news/joint-statement-cryptography), Anthropic
- [Keeping HTTPS Connections Safe in Chrome](https://blog.google/security/keeping-https-connections-safe-in-chrome), Google
- [upstream: switch default key type generated to ECDSA NISTP384](https://github.com/openssh/openssh-portable/commit/5b63da24d393ec5f08ec4371e09b692fc86587a8), OpenSSH
- [Joint Statement on Recent Advances in Cryptographic and Cybersecurity Capabilities](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities), CISA
- [NIST IR 8547, Transition to Post-Quantum Cryptography Standards](https://csrc.nist.gov/pubs/ir/8547/final), NIST
- [NIST Releases First 3 Finalized Post-Quantum Encryption Standards](https://www.nist.gov/news-events/news/2024/08/nist-releases-first-3-finalized-post-quantum-encryption-standards), NIST
- [ssh-keygen(1) manual page](https://man.openbsd.org/ssh-keygen), OpenBSD
- [Web Authentication: An API for accessing Public Key Credentials, Level 3](https://www.w3.org/TR/webauthn-3/), W3C
- [Transactions, Bitcoin developer guide](https://developer.bitcoin.org/devguide/transactions.html), Bitcoin.org
