Curve25519

From testwiki
Jump to navigation Jump to search

Template:Short description In cryptography, Curve25519 is an elliptic curve used in elliptic-curve cryptography (ECC) offering 128 bits of security (256-bit key size) and designed for use with the Elliptic-curve Diffie–Hellman (ECDH) key agreement scheme, first described and implemented by Daniel J. Bernstein. It is one of the fastest curves in ECC, and is not covered by any known patents.[1] The reference implementation is public-domain software.[2][3]

The original Curve25519 paper defined it as a Diffie–Hellman (DH) function. Bernstein has since proposed that the name Curve25519 be used for the underlying curve, and the name X25519 for the DH function.[4]

Mathematical properties

The curve used is y2=x3+486662x2+x, a Montgomery curve, over the prime field defined by the pseudo-Mersenne prime number[5] 2255−19 (hence the numeric "Template:Val" in the name), and it uses the base point with x=9. This point generates a cyclic subgroup whose order is the prime 2252+27742317777372353535851937790883648493. This subgroup has a co-factor of Template:Val, meaning the number of elements in the subgroup is Template:Sfrac that of the elliptic curve group. Using a prime order subgroup prevents mounting a Pohlig–Hellman algorithm attack.[6]

The protocol uses compressed elliptic point (only X coordinates), so it allows efficient use of the Montgomery ladder for ECDH, using only XZ coordinates.[7]

Curve25519 is constructed such that it avoids many potential implementation pitfalls.[8]

The curve is birationally equivalent to a twisted Edwards curve used in the Ed25519[9][10] signature scheme.[11]

History

In 2005, Curve25519 was first released by Daniel J. Bernstein.[6]

In 2013, interest began to increase considerably when it was discovered that the NSA had potentially implemented a backdoor into the P-256 curve based Dual_EC_DRBG algorithm.[12] While not directly related,[13] suspicious aspects of the NIST's P curve constants[14] led to concerns[15] that the NSA had chosen values that gave them an advantage in breaking the encryption.[16][17]

Template:Blockquote

Since 2013, Curve25519 has become the de facto alternative to P-256, being used in a wide variety of applications.[18] Starting in 2014, OpenSSH[19] defaults to Curve25519-based ECDH and GnuPG adds support for Ed25519 keys for signing and encryption.[20] The use of the curve was eventually standardized for both key exchange and signature in 2020.[21][22]

In 2017, NIST announced that Curve25519 and Curve448 would be added to Special Publication 800-186, which specifies approved elliptic curves for use by the US Federal Government.[23] Both are described in RFC 7748.[24] A 2019 draft of "FIPS 186-5" notes the intention to allow usage of Ed25519[25] for digital signatures. The 2023 update of Special Publication 800-186 allows usage of Curve25519.[26]

In February 2017, the DNSSEC specification for using Ed25519 and Ed448 was published as Template:IETF RFC, assigning algorithm numbers 15 and 16.[27]

In 2018, DKIM specification was amended so as to allow signatures with this algorithm.[28] Also in 2018, RFC 8446 was published as the new Transport Layer Security v1.3 standard. It recommends support for X25519, Ed25519, X448, and Ed448 algorithms.[29]

In 2024, Curve25519 has added ML-KEM support.[30]

Libraries

Template:Div col

Template:Div col end

Protocols

Applications

Template:Div col

Template:End div col

Notes

Template:Notelist

References

Template:Reflist

Template:Cryptography public-key

  1. ↑ Template:Cite web
  2. ↑ A state-of-the-art Diffie-Hellman function by Daniel J. Bernstein"My curve25519 library computes the Curve25519 function at very high speed. The library is in the public domain."
  3. ↑ Template:Cite web
  4. ↑ Template:Cite web
  5. ↑ Template:Citation
  6. ↑ 6.0 6.1 Template:Cite conference
  7. ↑ Template:Cite web
  8. ↑ Template:Cite web
  9. ↑ Template:Cite web
  10. ↑ Template:Cite web
  11. ↑ Template:Cite conference
  12. ↑ Template:Cite web
  13. ↑ Template:Cite web
  14. ↑ Template:Cite web
  15. ↑ Template:Cite web
  16. ↑ Template:Cite web
  17. ↑ Template:Cite web
  18. ↑ Template:Cite web
  19. ↑ 19.0 19.1 Template:Cite web
  20. ↑ Template:Cite web
  21. ↑ Template:Cite ietf
  22. ↑ Template:Cite ietf
  23. ↑ Template:Cite web
  24. ↑ RFC 7748. Retrieved from rfc:7748.
  25. ↑ Template:Cite journal
  26. ↑ Template:Cite web
  27. ↑ Template:Cite web
  28. ↑ Template:Cite IETF
  29. ↑ Template:Cite IETF
  30. ↑ https://www.netmeister.org/blog/tls-hybrid-kex.html
  31. ↑ Template:Cite web
  32. ↑ 32.0 32.1 32.2 32.3 32.4 32.5 32.6 Template:Cite web
  33. ↑ Template:Cite web
  34. ↑ Template:Cite web
  35. ↑ Template:Cite web
  36. ↑ Template:Cite web
  37. ↑ Template:Cite web
  38. ↑ Template:Cite web
  39. ↑ Template:Cite web
  40. ↑ Template:Cite web
  41. ↑ Template:Cite web
  42. ↑ Template:Cite web
  43. ↑ Template:Cite web
  44. ↑ Template:Cite web
  45. ↑ Template:Cite web
  46. ↑ Template:Cite web
  47. ↑ Template:Cite web
  48. ↑ Template:Cite web
  49. ↑ Template:Cite web
  50. ↑ Template:Cite web
  51. ↑ Template:Cite web
  52. ↑ Template:Cite web
  53. ↑ Template:Cite web
  54. ↑ Template:Cite web
  55. ↑ Template:Cite web
  56. ↑ Template:Cite web
  57. ↑ Template:Cite web
  58. ↑ Template:Cite web
  59. ↑ Template:Cite web
  60. ↑ Template:Cite web
  61. ↑ Template:Cite web
  62. ↑ Template:Cite web
  63. ↑ Template:Cite arXiv