Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Last reviewed 2026-12-05 · History

Summary

  • X25519 is a classical elliptic curve Diffie-Hellman function on Curve25519, for key agreement only; it is not post-quantum. The signature algorithm on the related curve is Ed25519.
  • It is specified in RFC 7748 (January 2016).1
  • It is the classical half of X25519MLKEM768 in TLS 1.3, and of mlkem768x25519-sha256 and sntrup761x25519-sha512 in SSH.
  • It is not among the algorithms in CNSA 1.0 or CNSA 2.0.2

Identifiers

Protocol Identifier Reference
TLS supported group x25519, 29; Recommended in RFC 9846 3
SSH key exchange curve25519-sha256 (earlier curve25519-sha256@libssh.org), RFC 8731 (February 2020) 45
IKEv2 key exchange method 31, Curve25519 6

Each side sends a 32-byte public value and derives a 32-byte shared secret.

Where it appears in guidance

  • NSA advisory of December 2026: the inventory step gives “elliptic curves other than P-384 or P-521 for ECDH or ECDSA” as an example of algorithms not approved in CNSA 2.0 or CNSA 1.0, without naming X25519 or Curve25519. It says: “If needing a hybrid key exchange, configure according to IETF RFC 10024 specifications.”2
  • RFC 10024 defines one hybrid containing X25519 and two that do not; the advisory does not say which to use.2

References

  1. RFC 7748, Elliptic Curves for Security, January 2016. Accessed 2026-12-05. ↩

  2. NSA, Immediate Actions to Push Toward Post-Quantum, PP-26-4956, December 2026, sections 1 and 2 and Appendix. Accessed 2026-12-05. ↩ ↩2 ↩3

  3. IANA, TLS Supported Groups registry. Accessed 2026-12-05. ↩

  4. IANA, SSH Key Exchange Method Names. Accessed 2026-12-05. ↩

  5. RFC 8731, SSH Key Exchange Method Using Curve25519 and Curve448, February 2020. Accessed 2026-12-05. ↩

  6. IANA, IKEv2 Transform Type 4 - Key Exchange Method Transform IDs. Accessed 2026-12-05. ↩


Edit: X25519

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.