「Curve25519」の版間の差分

出典: フリー百科事典『ウィキペディア(Wikipedia)』
削除された内容 追加された内容
en:Curve25519 oldid=887907452 を翻訳
(相違点なし)

2019年4月10日 (水) 07:27時点における版

暗号学において、Curve25519とは128ビットの暗号強度を提供する楕円曲線であり、楕円曲線ディフィー・ヘルマン鍵共有(ECDH)で使用するために設計されている。最も処理の速い楕円曲線暗号(ECC)での1つであり、これをカバーする特許は知られていない[1]リファレンス実装パブリックドメインである[2]

オリジナルの論文では、Curve25519という名前はディフィー・ヘルマン鍵共有(DH)関数のものとして定義していた。ダニエル・バーンスタインがCurve25519という名前を基本となる楕円曲線で使用することを提案して以来、DH関数についてはX25519と呼ばれている[3]

数学的性質

この曲線は素数 2255 − 19におけるモンゴメリ型楕円曲線英語版 y2 = x3 + 486662x2 + xを使用している。また、基点 x = 9も使用している。この基点は位数 を持つ[4]

このプロトコルは圧縮された楕円上の点(X座標のみ)を使用しているので、XZ座標のみを使用して、ECDH用のモンゴメリラダー英語版を効率的に使用することができる[5]

Curve25519は実装時における潜在的な欠陥の可能性を回避するように構築されている[6]。設計上、タイミング攻撃の影響を受けず、有効な公開鍵として32バイトの文字列を受け入れる。検証は不要である。

この曲線は、Ed25519で使用されているツイストエドワーズ曲線英語版双有理同値である[7]

人気

Curve25519はダニエル・バーンスタインによって2005年にリリースされたが[4]Dual_EC_DRBG英語版アメリカ国家安全保障局(NSA)が使用するバックドアが存在する可能性があることが判明した2013年以降にこの曲線への関心が高まった[8]。直接関係はないが、アメリカ国立標準技術研究所(NIST)のP楕円曲線[9]のシード値に[10]、NSAが公開鍵の因数分解をする上で有利となる値を選択したという疑惑が持たれた[11][12]

I no longer trust the constants. I believe the NSA has manipulated them through their relationships with industry.
Bruce Schneier、The NSA Is Breaking Most Encryption on the Internet (2013)

それ以来、Curve25519はP-256の事実上の代替手段となり、幅広い用途で使用されている[13]。2014年以降、OpenSSHのデフォルトはCurve25519ベースのECDHである[14]

2017年、NISTはCurve25519とCurve448がSP 800-186に追加されることを発表した。これによって合衆国政府によって使用される承認された楕円曲線として指定されることになる[15]。どちらの楕円曲線もRFC 7748で説明されている。

2018年、ドメインキー・アイデンティファイド・メール(DKIM)の使用はこのアルゴリズムによる署名ができるように修正された[16]

ライブラリ

プロトコル

アプリケーション

脚注

注釈

  1. ^ Starting with Windows 10 (1607), Windows Server 2016
  2. ^ a b c Via the OMEMO protocol
  3. ^ Only in "secret conversations"
  4. ^ a b c d Via the Signal Protocol
  5. ^ Only in "incognito mode"
  6. ^ Used to sign releases and packages[40][41]
  7. ^ Exclusive key exchange in OpenSSH 6.7 when compiled without OpenSSL.[42][43]

出典

  1. ^ Bernstein. “Irrelevant patents on elliptic-curve cryptography”. cr.yp.to. 2016年2月8日閲覧。
  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. ^ [Cfrg 25519 naming]”. 2016年2月25日閲覧。
  4. ^ a b Bernstein, Daniel J. (2006). Yung, Moti; Dodis, Yevgeniy; Kiayias, Aggelos; et al. (eds.). Curve25519: New Diffie-Hellman Speed Records (PDF). Public Key Cryptography. Lecture Notes in Computer Science. Vol. 3958. New York: Springer. pp. 207–228. doi:10.1007/11745853_14. ISBN 978-3-540-33851-2. MR 2423191
  5. ^ EFD / Genus-1 large-characteristic / XZ coordinates for Montgomery curves”. EFD / Explicit-Formulas Database. 2016年2月8日閲覧。
  6. ^ SafeCurves: Introduction”. safecurves.cr.yp.to. 2016年2月8日閲覧。
  7. ^ Bernstein, Daniel J.; Lange, Tanja (2007). Kurosawa, Kaoru (ed.). Faster addition and doubling on elliptic curves. Advances in cryptology—ASIACRYPT. Lecture Notes in Computer Science. Vol. 4833. Berlin: Springer. pp. 29–50. doi:10.1007/978-3-540-76900-2_3. ISBN 978-3-540-76899-9. MR 2565722
  8. ^ Kelsey, John (2014年5月). “Dual EC in X9.82 and SP 800-90”. National Institute of Standards in Technology. 2018年12月2日閲覧。
  9. ^ https://safecurves.cr.yp.to/
  10. ^ Maxwell, Gregory (2013年9月8日). “[tor-talk NIST approved crypto in Tor?]”. 2015年5月20日閲覧。
  11. ^ SafeCurves: Rigidity”. safecurves.cr.yp.to. 2015年5月20日閲覧。
  12. ^ The NSA Is Breaking Most Encryption on the Internet - Schneier on Security”. www.schneier.com. 2015年5月20日閲覧。
  13. ^ Things that use Curve25519”. 2015年12月23日閲覧。
  14. ^ a b Adamantiadis, Aris (2013年11月3日). “OpenSSH introduces curve25519-sha256@libssh.org key exchange !”. libssh.org. 2014年12月27日閲覧。
  15. ^ Transition Plans for Key Establishment Schemes”. 2019年4月10日閲覧。
  16. ^ John Levine (September 2018). A New Cryptographic Signature Method for DomainKeys Identified Mail (DKIM) (英語). IETF. doi:10.17487/RFC8463. RFC 8463
  17. ^ Werner Koch (2016年4月15日). “Libgcrypt 1.7.0 release announcement”. 2016年4月22日閲覧。
  18. ^ a b c d e f g SSH implementation comparison. “Comparison of key exchange methods”. 2016年2月25日閲覧。
  19. ^ Introduction”. yp.to. 2014年12月11日閲覧。
  20. ^ nettle: curve25519.h File Reference - doxygen documentation | Fossies Dox”. fossies.org. 2015年5月20日時点のオリジナルよりアーカイブ。2015年5月19日閲覧。
  21. ^ Limited, ARM. “PolarSSL 1.3.3 released - Tech Updates - mbed TLS (Previously PolarSSL)”. tls.mbed.org. 2015年5月19日閲覧。
  22. ^ wolfSSL Embedded SSL/TLS Library - wolfSSL Products”. 2019年4月10日閲覧。
  23. ^ Botan: src/lib/pubkey/curve25519/curve25519.cpp Source File”. botan.randombit.net. 2019年4月10日閲覧。
  24. ^ Justinha. “TLS (Schannel SSP)” (英語). docs.microsoft.com. 2017年9月15日閲覧。
  25. ^ Denis, Frank. “Introduction · libsodium”. libsodium.org. 2019年4月10日閲覧。
  26. ^ Inc., OpenSSL Foundation,. “OpenSSL”. www.openssl.org. 2016年6月24日閲覧。
  27. ^ Add support for ECDHE with X25519. · openbsd/src@0ad90c3”. GitHub. 2019年4月10日閲覧。
  28. ^ Tclers Wiki - NaCl for Tcl”. 2019年4月10日閲覧。
  29. ^ NSS 3.28 release notes”. 2017年7月25日閲覧。
  30. ^ Straub, Andreas (2015年10月25日). “OMEMO Encryption”. conversations.im. 2019年4月10日閲覧。
  31. ^ Cryptocat - Security”. crypto.cat. 2016年5月24日閲覧。
  32. ^ Frank Denis. “DNSCrypt version 2 protocol specification”. 2016年3月3日閲覧。
  33. ^ Matt Johnston. “Dropbear SSH - Changes”. 2016年2月25日閲覧。
  34. ^ Bahtiar Gadimov. “Gajim plugin for OMEMO Multi-End Message and Object Encryption”. 2016年10月1日閲覧。
  35. ^ GNUnet 0.10.0”. gnunet.org. 2014年12月11日閲覧。
  36. ^ zzz (2014年9月20日). “0.9.15 Release - Blog”. 2014年12月20日閲覧。
  37. ^ https://github.com/ipfs/go-ipfs/blob/master/core/commands/keystore.go#L68
  38. ^ iOS Security Guide”. 2019年4月10日閲覧。
  39. ^ MRL-0003 - Monero is Not That Mysterious”. getmonero.com. 2019年4月10日閲覧。
  40. ^ Murenin, Constantine A. (2014年1月19日). Soulskill: “OpenBSD Moving Towards Signed Packages — Based On D. J. Bernstein Crypto”. Slashdot. 2014年12月27日閲覧。
  41. ^ Murenin, Constantine A. (2014年5月1日). timothy: “OpenBSD 5.5 Released”. Slashdot. 2014年12月27日閲覧。
  42. ^ Friedl, Markus (2014年4月29日). “ssh/kex.c#kexalgs”. BSD Cross Reference, OpenBSD src/usr.bin/. 2014年12月27日閲覧。
  43. ^ Murenin, Constantine A. (2014年4月30日). Soulskill: “OpenSSH No Longer Has To Depend On OpenSSL”. Slashdot. 2014年12月26日閲覧。
  44. ^ How does Peerio implement end-to-end encryption?”. Peerio. 2019年4月10日閲覧。
  45. ^ PuTTY Change Log”. www.chiark.greenend.org.uk. 2019年4月10日閲覧。
  46. ^ Threema Cryptography Whitepaper”. 2019年4月10日閲覧。
  47. ^ Roger Dingledine & Nick Mathewson. “Tor's Protocol Specifications - Blog”. 2014年12月20日閲覧。
  48. ^ Viber Encryption Overview”. Viber (2016年5月3日). 2016年9月24日閲覧。

関連項目

外部リンク