ECDSA vs EdDSA: two elliptic-curve signature families

ECDSA and EdDSA are both elliptic-curve signature families, but they are defined by different documents, use different encodings and follow different TLS rules. This page explains where each appears and which one applies to your systems.

On this page

ECDSA vs EdDSA: what each signature family is and where it differs

A vendor document, a cryptographic inventory or an audit request may list both ECDSA and EdDSA, and the distinction that matters most is how each one is defined, encoded and treated by TLS. ECDSA is the elliptic-curve Digital Signature Algorithm specified in NIST FIPS 186-5, the NIST Digital Signature Standard published on February 3, 2023. EdDSA is the Edwards-curve Digital Signature Algorithm described in RFC 8032, with Ed25519 and Ed448 as its two instances. Both are elliptic-curve signature families, but they are separate algorithms with separate specifications, so an inventory that records only "ECC signatures" will not tell a reviewer which one is in use.

Security leads, engineers and inventory owners meet this question wherever a signature algorithm is recorded: in certificates, in TLS configuration, and in the cryptographic inventory that migration planning depends on. The encodings differ in ways that show up during an audit. RFC 5480 defines the ECDSA signature value as an ASN.1 SEQUENCE of two INTEGERs, r and s, while RFC 8410 assigns separate object identifiers to Ed25519 and Ed448 in X.509. The TLS rules also differ by version: in TLS 1.2 and earlier, RFC 8422 says Ed25519 keys must use the ed25519 signature algorithm and must not be used with ECDSA. Confirm for each system which algorithm identifier its certificates and TLS configuration actually carry, and record the TLS version that governs it, rather than recording the curve family alone.

ECDSA and EdDSA side by side: definitions, sizes and dates

This table sets ECDSA and EdDSA against each other on the attributes the sources give, including defining documents, sizes, hash functions, determinism, certificate OIDs and TLS code points. Where a value is not given on this page, the cell says so, so check the cited standard or your own environment before relying on it. The main takeaway is that EdDSA has fixed, published sizes and OIDs in these sources, while ECDSA sizes must be confirmed against your curve and encoding.

AttributeECDSAEdDSA (Ed25519 and Ed448)
Defining document and dateSpecified in NIST FIPS 186-5, published February 3, 2023, which supersedes FIPS 186-4Described in RFC 8032; NIST SP 800-186, published February 2023, adds two Edwards curves to its recommended set
What the family isElliptic-curve digital signature algorithm defined in the NIST Digital Signature StandardEdwards-curve digital signature algorithm, with Ed25519 and Ed448 as its two instances
Public key and signature sizesNot given on this page; confirm against FIPS 186-5 and the curve in useEd25519: 32-byte public key, 64-byte signature. Ed448: 57-byte public key, 114-byte signature (RFC 8032)
Signature value encodingASN.1 SEQUENCE of two INTEGERs, r and s (RFC 5480)Not given on this page; confirm in RFC 8032 and RFC 8410
Hash function usedNot given on this page; confirm against FIPS 186-5 for your curve and hash choiceEd25519 uses SHA-512; Ed448 uses SHAKE256 (RFC 8032)
DeterminismNot given on this page; confirm against FIPS 186-5Signatures are deterministic (RFC 8032)
Certificate OIDsNot given on this page; confirm against the ECDSA entries in RFC 5480id-Ed25519 is 1.3.101.112 and id-Ed448 is 1.3.101.113 (RFC 8410)
TLS code pointsecdsa_secp256r1_sha256 is 0x0403 (RFC 8446)ed25519 is 0x0807 (RFC 8446). In TLS 1.2 and earlier, Ed25519 must not be used with ECDSA (RFC 8422)

What ECDSA is and what EdDSA is

ECDSA, the Elliptic Curve Digital Signature Algorithm, is the elliptic-curve variant of the Digital Signature Standard. NIST FIPS 186-5, published February 3, 2023 and superseding FIPS 186-4, specifies the suite of algorithms for generating and verifying digital signatures that ECDSA belongs to. RFC 5480 defines how ECDSA public keys and signatures are carried in X.509 certificates, and it encodes the signature value as an ASN.1 SEQUENCE of two INTEGERs, named r and s. Because the signature is those two numbers, a verifier must parse both values before checking the signature, and a certificate or protocol message that carries ECDSA signatures will show that r and s structure in its encoding.

  • Standard definition: ECDSA is specified in NIST FIPS 186-5 for the signature algorithm, and RFC 5480 governs its use in X.509 certificates.
  • Signature value: RFC 5480 defines the signature as an ASN.1 SEQUENCE of two INTEGERs, r and s.
  • Where you meet it: ECDSA signatures appear in many X.509 certificates, in TLS certificate authentication, and in signing features of common cryptographic libraries.
  • Named curves: ECDSA is always used with a specific elliptic curve, so the curve name in a certificate or configuration determines the key and signature sizes.
  • Random input: ECDSA signing depends on a per-signature random value, so implementations need a sound source of randomness.

Check which curve and certificate profile each system uses, and confirm with the library or device vendor how their ECDSA signatures are encoded and which versions of FIPS 186 and RFC 5480 they follow.

Six differences between ECDSA and EdDSA that change systems and decisions

ECDSA and EdDSA both sign with elliptic curves, but they differ in the bytes they produce, the nonce behavior, the hash functions, the identifiers they carry and the TLS rules that apply to them. Each difference affects a parser, a configuration or an inventory entry, so each is worth checking before you assume two signatures are interchangeable.

Signature encoding differs in structure

An ECDSA signature value is an ASN.1 SEQUENCE containing two INTEGERs, r and s, as defined in RFC 5480. An EdDSA signature is a fixed-length byte string: 64 bytes for Ed25519 and 114 bytes for Ed448, per RFC 8032. Code that parses or validates signatures must handle each format separately. A verifier that expects one encoding will reject valid signatures in the other, so check the parser for each algorithm your systems accept.

RFC 5480 text

EdDSA signatures are deterministic

RFC 8032 specifies that EdDSA signatures are deterministic, so the same key and message always produce the same signature. ECDSA depends on a per-signature random or derived nonce, and a faulty nonce can expose the private key. For systems that log, deduplicate or compare signatures, this means EdDSA output is reproducible, while ECDSA output must be tested against nonce generation in your signing component.

RFC 8032 text

Hash functions are fixed by the curve

RFC 8032 says Ed25519 uses SHA-512 and Ed448 uses SHAKE256. ECDSA does not fix a single hash in the same way, because the hash is chosen alongside the curve and the signature parameters in the protocol using it. Hash-related checks, such as configuration reviews and hash allow-lists, therefore need to name the specific EdDSA instance rather than assuming a generic SHA-2 setting applies.

RFC 8032 text

Separate OIDs and code points

RFC 8410 assigns id-Ed25519 the OID 1.3.101.112 and id-Ed448 the OID 1.3.101.113, and these identify the signature algorithm in X.509 certificates. TLS 1.3 assigns ecdsa_secp256r1_sha256 the code point 0x0403 and ed25519 the code point 0x0807. Certificate profiles, inventory tools and TLS allow-lists must match on these identifiers, because a rule written for ECDSA will not match an Ed25519 certificate.

RFC 8410 text

Ed25519 is barred from ECDSA in TLS 1.2

RFC 8422 says that in TLS 1.2 and earlier, Ed25519 keys must use the ed25519 signature algorithm and must not be used with ECDSA. A TLS 1.2 deployment that offers or accepts an Ed25519 key under an ECDSA signature algorithm is out of conformance with that rule. Check the signature algorithm lists in TLS 1.2 server and client configurations, and confirm the library version handles the rule correctly.

RFC 8422 text

No prehash variants in TLS

RFC 8422 states that Ed25519ph and Ed448ph are not defined for TLS. A configuration that expects a prehashed EdDSA mode, or a library option that selects it, will not correspond to any TLS-defined behavior. When reviewing TLS settings or vendor documentation, confirm that only the pure Ed25519 and Ed448 signature algorithms are enabled for TLS, and do not assume the prehash forms exist there.

RFC 8422 text

Where ECDSA and EdDSA show up: certificates, TLS, libraries and vendor documents

Both families appear in the places an inventory usually reaches first: X.509 certificates, TLS handshakes and the signature algorithms that libraries expose. For X.509, RFC 8410 assigns the object identifier 1.3.101.112 to id-Ed25519 and 1.3.101.113 to id-Ed448, and the same identifiers name the signature algorithm, so a certificate carrying one of them is signed with EdDSA. ECDSA signature values are a different structure: RFC 5480 defines them as an ASN.1 SEQUENCE of two INTEGERs, r and s. When you inventory certificates, record the algorithm identifier in each certificate and each certificate chain, since the two families are distinguished by these identifiers rather than by curve name alone.

In TLS 1.3, RFC 8446 assigns the code point 0x0403 to ecdsa_secp256r1_sha256 and 0x0807 to ed25519. Those values are what a server or client advertises in its signature algorithms extension, so a packet capture or configuration review can confirm which signature schemes are offered. TLS 1.2 is more restrictive. RFC 8422 states that Ed25519 keys must use the ed25519 signature algorithm in TLS 1.2 and earlier, that they must not be used with ECDSA, and that Ed25519ph and Ed448ph are not defined for TLS. Any system that still negotiates TLS 1.2 needs a separate check of which signature schemes it actually accepts.

The sources listed on this page do not cover which vendor products, load balancers, HSMs, libraries or operating systems support either family, or which versions do. Treat those as open questions. Check each vendor's documentation for the exact versions you run, and confirm the certificate OIDs and TLS code points your products emit against the RFCs above before you rely on them in a migration plan.

How ECDSA and EdDSA relate in a TLS 1.3 handshake and certificate chain

The diagram follows a TLS 1.3 server presenting an X.509 certificate during the handshake. The certificate's signature algorithm is either ECDSA, identified in TLS 1.3 by the code point ecdsa_secp256r1_sha256 (0x0403), or EdDSA, identified by ed25519 (0x0807). Each branch points to the RFC that defines its encoding: RFC 5480 for the ECDSA signature value as a SEQUENCE of two INTEGERs, and RFC 8410 for the Ed25519 object identifier 1.3.101.112 in X.509. The client checks the signature scheme that the server selected against the schemes it offered, and the reader should confirm that both ends support the chosen scheme. This is a simplified view and omits key exchange, extensions and chain validation.

Simplified view of how the server's certificate signature algorithm enters a TLS 1.3 handshake.

Whether ECDSA and EdDSA are used together or one replaces the other

ECDSA and EdDSA are not a replacement pair in the sources. Both are defined side by side in current standards, and neither document names the other as obsolete. NIST FIPS 186-5, published February 3, 2023 and superseding FIPS 186-4, is the NIST Digital Signature Standard and specifies a suite of algorithms that includes both families. RFC 8032 describes EdDSA, with Ed25519 and Ed448 as its two instances, while RFC 5480 defines the ECDSA signature value. NIST SP 800-186, published February 2023, adds two Edwards curves to the NIST-recommended curve set and states that they are interoperable with curves specified by the IETF's CFRG. Your inventory should therefore expect both families to appear, often in the same environment.

Coexistence is constrained at the protocol level, so the practical question is which pairings are permitted. RFC 8422 says that in TLS 1.2 and earlier, Ed25519 keys must use the ed25519 signature algorithm and must not be used with ECDSA. TLS 1.3 handles this differently by assigning separate code points to ecdsa_secp256r1_sha256 (0x0403) and ed25519 (0x0807) in RFC 8446. Confirm which TLS version each server and client negotiates before assuming a given key type will work. Certificate tooling should also be checked, since RFC 8410 assigns separate X.509 object identifiers to Ed25519 and Ed448 (1.3.101.112 and 1.3.101.113).

Neither family is named as a replacement in the sources listed here. NIST IR 8547, in its final version dated October 27, 2026, identifies existing quantum-vulnerable cryptographic standards and the quantum-resistant standards that products need to adopt, but the sources on this page do not list ECDSA and EdDSA as a replacement pair. Both families appear in the quantum-vulnerable category discussed in NIST guidance, so plan for migration of both, using the post-quantum signature standards FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA). Read IR 8547 directly to confirm how it classifies each algorithm for your use case.

How to work out whether ECDSA or EdDSA applies to your systems

This sequence establishes which elliptic-curve signature family each system uses, where that choice is set, and which vendor components need confirmation. It produces a per-system record that shows where ECDSA, EdDSA or both appear in your environment.

  1. Check standards and contracts for named algorithms

    Start with the standards, internal security policies and customer or federal contracts that govern your systems, and note any that name ECDSA, EdDSA, Ed25519 or Ed448 explicitly. The relevant starting points include NIST FIPS 186-5, the NIST Digital Signature Standard, and NIST SP 800-186, which adds two Edwards curves to the NIST-recommended curve set. Your owner for this step is usually the compliance or security policy lead. It is complete when you have a list of each requirement, the document that states it, and the systems it covers.

  2. Read the certificate profile your PKI issues

    Review the certificate profile in your public key infrastructure, or the profile your certificate authority publishes, to see which key types and signature algorithms it issues. Confirm whether the profile permits ECDSA keys, EdDSA keys, or both. The PKI or certificate operations team owns this step. It is complete when you have written down the permitted algorithms for each issuing profile and the certificate authorities that use them.

  3. Inventory TLS configurations and minimum protocol versions

    Record the TLS configuration on each service that terminates TLS, including the minimum protocol version it accepts. The minimum version matters because RFC 8422 says that in TLS 1.2 and earlier, Ed25519 keys must use the ed25519 signature algorithm and must not be used with ECDSA. Where TLS 1.3 is the minimum, RFC 8446 assigns separate code points to ecdsa_secp256r1_sha256 and ed25519. Your network or platform engineering team should own this inventory. It is complete when each endpoint has its minimum version and the signature algorithms it advertises.

  4. Check the signature algorithm field of each certificate

    For each certificate in use, read the signature algorithm field and the subject public key info to confirm which family it uses. ECDSA signatures are encoded as an ASN.1 SEQUENCE of two INTEGERs, r and s, as RFC 5480 defines. EdDSA certificates carry the OIDs that RFC 8410 assigns, which are 1.3.101.112 for Ed25519 and 1.3.101.113 for Ed448. A short script or the output of an inspection tool can list these fields across a certificate set. It is complete when every certificate in scope is labelled with its family and key type.

  5. Ask each vendor which family and version they support

    Send each product vendor a written question asking which elliptic-curve signature family the product supports, which curves and key types it uses for signing, and the version and build that these statements apply to. Ask separately about TLS libraries, hardware security modules and embedded components, since support can differ by version. The vendor's security or product team should answer in writing. It is complete when every product in scope has a dated written answer that names a version. Confirm compatibility for the versions you run, because the sources here do not establish that a given product interoperates with another.

  6. Record findings against each system

    Combine the results from the earlier steps into one record per system that lists the standards that apply, the certificate profile, the minimum TLS version, the certificate algorithms in use and the vendor answer. Mark any system where the record is incomplete or where requirements and configuration disagree. The security lead or compliance owner should review the record before it is used for planning. It is complete when every in-scope system has one reviewed record and each gap has a named owner.

Common mix-ups between ECDSA, EdDSA and the post-quantum signature standards

ECDSA and EdDSA are both elliptic-curve signature families, and both appear in the same inventories as the post-quantum standards ML-DSA and SLH-DSA. Most planning errors in this area come from treating these names as interchangeable or assuming that one family shares properties with another.

Treating Ed25519 and P-256 as one algorithm

Ed25519 and P-256 are different algorithms. Ed25519 is an instance of EdDSA, defined in RFC 8032, with 32-byte public keys and 64-byte signatures, and it uses SHA-512 with deterministic signatures. P-256 is a curve used with ECDSA, and an ECDSA signature is encoded as an ASN.1 SEQUENCE of two INTEGERs, r and s, as RFC 5480 defines. Inventories should record the algorithm name and OID for each key, not just the curve name, because the two families use different signature formats.

RFC 8032 text

Assuming EdDSA is post-quantum

EdDSA is not a post-quantum signature standard. RFC 8032 defines EdDSA as a classical elliptic-curve scheme. The post-quantum signature standards NIST published are FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), both dated August 13, 2024. Systems that use Ed25519 or ECDSA belong in the migration inventory as quantum-vulnerable until a post-quantum scheme is deployed. Confirm the algorithm in each certificate and signing key rather than relying on the family name.

FIPS 204 record

Confusing key exchange curves with signature algorithms

A curve used for key exchange is not the same as a curve used for signatures. X25519 and P-256 can be used in key agreement, while Ed25519 and ECDSA are signature algorithms. Hybrid key exchange, described in RFC 9794 and RFC 10024, combines a post-quantum key encapsulation mechanism with a traditional exchange, and this is a separate question from which signature algorithm authenticates the server. When reviewing a TLS configuration, check the key exchange group and the signature algorithm separately.

RFC 9794 text

Reading TLS code points as product support

A TLS code point shows that the wire protocol defines a value, not that a product implements it. TLS 1.3 assigns ecdsa_secp256r1_sha256 the code point 0x0403 and ed25519 the code point 0x0807, as RFC 8446 specifies. RFC 8422 adds that Ed25519 keys in TLS 1.2 and earlier must use the ed25519 signature algorithm and must not be used with ECDSA. Confirm support in the version and build you run, by checking the vendor's documentation or testing the handshake in your own environment.

RFC 8446 text

Mixing up the OIDs and encodings

The same OID can identify a key and its signature algorithm in X.509. RFC 8410 assigns id-Ed25519 the OID 1.3.101.112 and id-Ed448 the OID 1.3.101.113, and these identify the signature algorithm as well as the key type. ECDSA keys use a different OID scheme and a different signature value structure. Certificate tooling and PKI reviewers should match the OID and parameters exactly, because a parser that assumes one format will misread the other.

RFC 8410 text

Questions people ask about ECDSA and EdDSA

Are ECDSA and EdDSA the same signature algorithm?

No. Both are elliptic-curve signature schemes, but they are different algorithms. ECDSA is the Elliptic Curve Digital Signature Algorithm specified in the NIST Digital Signature Standard, FIPS 186-5. EdDSA is the Edwards-curve Digital Signature Algorithm described in RFC 8032, with Ed25519 and Ed448 as its two instances. The two families differ in how signatures are formed and in their encodings. RFC 8032 says EdDSA signatures are deterministic, and it gives Ed25519 signatures of 64 bytes. RFC 5480 defines the ECDSA signature value as an ASN.1 SEQUENCE of two INTEGERs, r and s. Because the formats differ, a system that handles one family must be checked separately for the other.

Which of ECDSA and EdDSA is newer according to the sources?

The sources do not rank one as newer or better. They show that both are standardized in current documents. ECDSA is specified in FIPS 186-5, which was published on February 3, 2023 and supersedes FIPS 186-4. EdDSA is described in RFC 8032, and NIST SP 800-186, published in February 2023, adds two Edwards curves to the NIST-recommended curve set. That document also states that these curves are interoperable with curves specified by the IETF's CFRG. Dates alone do not show which family a given product should use. Confirm the algorithm each product and protocol version actually supports before you decide anything from age.

Does a rule or customer require ECDSA or EdDSA specifically?

The sources listed on this page do not say that any rule, mandate or customer requires either family by name. They describe what each standard specifies and where each appears. The NIST post-quantum signature standards, FIPS 204 and FIPS 205, are a separate matter and do not replace these classical families by their publication alone. Requirements that name algorithms usually come from a specific contract, a federal customer or a regulator's profile. Ask the requesting party for the exact algorithm, parameter set and standard they cite, and check that text against NIST IR 8547 and the relevant contract before you assume a requirement applies.

Do post-quantum inventories need both ECDSA and EdDSA listed?

Yes, if both families are in use. An inventory should record each signature algorithm that is actually present, so a system that uses ECDSA and another that uses Ed25519 should each appear as their own entries. The protocols show where the difference matters. RFC 8446 assigns TLS 1.3 code points to ecdsa_secp256r1_sha256 (0x0403) and ed25519 (0x0807), so the two are negotiated as separate options. RFC 8422 says that in TLS 1.2 and earlier, Ed25519 keys must use the ed25519 signature algorithm and must not be used with ECDSA. Record the protocol version alongside the algorithm, since the same key type can behave differently across versions.

How do I tell from a certificate whether it uses ECDSA or EdDSA?

Check the algorithm identifier in the certificate. For EdDSA, RFC 8410 assigns id-Ed25519 the OID 1.3.101.112 and id-Ed448 the OID 1.3.101.113, and the same OIDs identify the signature algorithm. ECDSA certificates use the elliptic-curve OIDs defined in RFC 5480 instead. You can read the signature algorithm field with a standard X.509 viewer, for example by running openssl x509 -in cert.pem -noout -text and looking at the Signature Algorithm line. Confirm the output against the product documentation, since some tools label fields differently.

What should I ask a vendor about ECDSA and EdDSA support?

Ask which signature algorithms each product and version supports, and which ones it uses by default. Request the exact curves and instances, such as P-256 for ECDSA or Ed25519 and Ed448 for EdDSA, and the protocol versions they apply to. Ask whether TLS 1.2 deployments are limited in the way RFC 8422 describes for Ed25519. Ask how the product handles certificates from a private CA and whether it can be configured to use one family over the other. Request written answers tied to a version number, since support can differ between releases. Keep the answers with the inventory record for that system.

Do ECDSA and EdDSA keys and signatures have the same sizes?

No. The sizes differ, so storage, bandwidth and certificate planning need to account for each family separately. RFC 8032 gives Ed25519 public keys of 32 bytes and signatures of 64 bytes, and Ed448 public keys of 57 bytes and signatures of 114 bytes. The sources listed on this page do not give ECDSA key and signature sizes, so take those figures from the relevant standard or from the curve you deploy. Use the exact figures from the documents when you size a system, and retest any size assumptions in your own environment.

How DeployOpen works on this

DeployOpen helps teams establish which systems use ECDSA and which use EdDSA, then plans and carries out the configuration changes that follow from that inventory. Each engagement is scoped in writing, built inside the client's own infrastructure, and handed over with documentation the client's own teams can keep using.

How we scope

  • We agree in writing which systems, protocols and certificate chains are included in the ECDSA and EdDSA inventory.
  • We record which signature algorithms each in-scope component supports, including the versions and editions it runs.
  • Engagements are fixed-scope, so deliverables and timelines are confirmed before any configuration work begins.

How we build

  • We review TLS and certificate configurations to see where ECDSA and Ed25519 signatures are offered or negotiated.
  • We check TLS 1.2 and TLS 1.3 settings against the code point and key-type rules in the relevant RFCs for each deployment.
  • We test signature behavior in the client's environment, since support can differ between library and component versions.

How we hand over

  • We deliver a written inventory listing each signature algorithm, the component using it and the version it runs.
  • We document each configuration change, the reason for it and the test that confirmed the expected behavior.
  • We walk the client's security and platform teams through the results so they can maintain the inventory themselves.

How we support

  • Ongoing support is available as a retainer, covering inventory updates when components are upgraded or added.
  • Retainers can include periodic retesting of signature configurations after vendor updates change default behavior.
  • For questions about whether a specific product supports a given signature standard, we direct you to the vendor's documentation to confirm.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.