Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

ECC

Direct answer

ECC (elliptic-curve cryptography) gives the same security as RSA with much shorter keys — a 256-bit curve roughly matches 3072-bit RSA — so it is faster and used in TLS, SSH and modern certificates.

When to use this

Use this when using elliptic-curve cryptography.

First 30 seconds

1. ECC gives equal security with smaller keys (P-256 ≈ RSA 3072).

2. Curves: P-256/384, Curve25519/Ed25519.

3. Faster.

4. Validate points (libraries do).

5. Not quantum-safe.

Operational verification

curve + private scalar → public point

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • ECDSA with a weak or reused nonce, which reveals the private key (PlayStation 3 signing key, 2010).
  • Using curves with doubtful parameters or non-standard curves.
  • Mixing up Ed25519 (signatures) and X25519 (key exchange).
  • Libraries without constant-time implementations.
Platform / version applicability
Cryptography, PKI and secrets
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCryptography, PKI and secrets
Scope / prerequisiteUse this when using elliptic-curve cryptography.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • 256-bit ECC ≈ 3072-bit RSA.
  • Common curves: P-256, P-384, Curve25519.
  • Faster and smaller than RSA.
Key checks
  • openssl ecparam -list_curves | head — curves
  • openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -out ec.pem — generate
  • openssl pkey -in ec.pem -noout -text — inspect
ReferenceWhy it matters1 section · depth on demand

Curves and key sizes

CurveSecurityUse
P-256 (secp256r1)~128-bitTLS, certificates, FIPS
P-384~192-bitCNSA, government
Curve25519 / X25519~128-bitKey exchange (TLS 1.3, SSH, WireGuard)
Ed25519~128-bitSignatures (SSH, modern apps)

openssl ecparam -name prime256v1 -genkey -noout -out ec.key or ssh-keygen -t ed25519. ECC, like RSA, is broken by large quantum computers.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Elliptic Curve Cryptography (ECC) provides public-key cryptography based on the algebra of elliptic curves. It achieves the same security as RSA with much smaller keys, making it faster and more efficient — important for TLS, mobile devices and IoT.

Security levelRSA keyECC key
128-bit3072 bits256 bits (P-256, Curve25519)
192-bit7680 bits384 bits (P-384)

Common uses: ECDHE key exchange in TLS, ECDSA and EdDSA (Ed25519) signatures for certificates and SSH keys. Like RSA, ECC is vulnerable to large future quantum computers; post-quantum algorithms (ML-KEM, ML-DSA) are being deployed in hybrid modes.

ReferenceConfiguration & state1 section · depth on demand

Commands

openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -out ec.key
openssl genpkey -algorithm ed25519 -out ed.key
ssh-keygen -t ed25519 -C "patrick@laptop"

Documented example, not captured output. A 256-bit ECC key gives about the same security as RSA-3072.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCryptography, PKI and secrets current

Authoritative/upstream documentation reviewed for bounded claims in Asymmetric Cryptography → ECC. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/fips/186-5/final · confidence 94%
Confirmation

Confirm action

Continue?