Skip to content

Support for key exchange using Curve448 (Goldilocks) #1398

Closed

Description

@yoavnir

I think it would be great if OpenSSL supported Curve448 as well as Curve25519.

This is a continuation of issue #309.

Activity

  1. richsalz commented on Aug 4, 2016

    @richsalz
    Contributor

    Yes, but not in the upcoming release.

  2. added this to the milestone on Aug 4, 2016
  3. haraldj commented on Dec 2, 2016

    @haraldj

    Hello,

    is there any progress on this issue? What is the estimated time schedule for Curve448 support?

    Kind regards
    Harald

  4. richsalz commented on Dec 2, 2016

    @richsalz
    Contributor

    No progress. No schedule. No commitment. Our focus for the next release, as stated in our blog, is TLS 1.3. Other stuff will of course also happen, but I'm not aware of anyone working on this.

  5. haraldj commented on Dec 3, 2016

    @haraldj
  6. richsalz commented on Dec 26, 2016

    @richsalz
    Contributor

    Not that X25519 is a SHOULD and 448 isn't even that. So this is not at all requires for TLS 1.3. If you want it, a PR to implement it will help otherwise my guess (and it's only my personal view) is that this will not happen.

  7. richsalz commented on Dec 26, 2016

    @richsalz
    Contributor

    The team has finite resources and capabilities, and OpenSSL is doing what just about everyone else is doing as well. You don't like that it's not a priority, well you can change that by writing code.

  8. richsalz commented on Dec 26, 2016

    @richsalz
    Contributor

    Thanks. Write code.

  9. vdukhovni commented on Dec 27, 2016

    @vdukhovni

    I see no connection between DLP in F_p^n for composite n and EECDH with Curve25519. This seems to be relevant for pairing-based crypto, but the connection to EECDH (e.g. in TLS) is rather non-obvious, and likely not there...

  10. snhenson commented on May 2, 2017

    @snhenson
    Contributor

    The biggest blocker for this is a low level algorithm implementation of X448 similar to the X25519 one which is in crypto/ec/curve25519.c If someone can write or locate a usable implementation (e.g. can be put under the OpenSSL license and has a similar API) then adding TLS support is relatively straight forward.

  11. bitwiseshiftleft commented on May 2, 2017

    @bitwiseshiftleft

    @snhenson Is the MIT license acceptable? You can pull in X448 from https://sourceforge.net/p/ed448goldilocks/code/ci/x448/tree/, or that and many other functions (with greater performance and arch-specific code) from the master branch.

  12. kroeckx commented on May 3, 2017

    @kroeckx
    Member
  13. bitwiseshiftleft commented on Jun 13, 2017

    @bitwiseshiftleft

    OK, it's almost through legal (but need CCLA not ICLA). Should I just sign the CLA saying that the repo is contributed as of the current version (0.9.3 or whatever) and then you can pull whatever files you need?

  14. kaduk commented on Jun 13, 2017

    @kaduk
    Contributor

    The wording is perhaps not as clear as it could be, but CCLA is in addition to ICLA, not in replacement of.

  15. richsalz commented on Jun 14, 2017

    @richsalz
    Contributor

    I think the wording, https://www.openssl.org/policies/cla.html is now clear. If you have suggestions on how to improve it, we'd love to know.

    I don't know if we need/want the Goldilocks code, @snhenson is best equipped to comment. But there is definitely no rush :)

  16. mattcaswell commented on Jun 14, 2017

    @mattcaswell
    Member

    I don't know if we need/want the Goldilocks code, @snhenson is best equipped to comment. But there is definitely no rush :)

    I think we definitely do want it!!

  17. kroeckx commented on Oct 7, 2017

    @kroeckx
    Member

    @bitwiseshiftleft: Any update on this?

  18. snhenson commented on Oct 7, 2017

    @snhenson
    Contributor

    As far as I'm concerned if/when we have suitable low level algorithm code I'll work on adding the glue for EVP and TLS. It should hopefully be very similar to the X25519/Ed25519 code.

  19. bitwiseshiftleft commented on Oct 24, 2017

    @bitwiseshiftleft

    Sorry to delay. I lost track of who between me and Rambus legal was responsible for the next stage of the procedure. Looks like it was me all along. I've sent in the contribution to OpenSSL legal, so once they check that I did it right, it should be fine.

  20. maqp commented on Nov 21, 2017

    @maqp

    Great to see this moving forward. @bitwiseshiftleft Any word from the legal yet?

  21. mattcaswell commented on Nov 21, 2017

    @mattcaswell
    Member

    @maqp, all legal issues have been resolved. I am working on a patch at the moment.

  22. mattcaswell commented on Dec 1, 2017

    @mattcaswell
    Member

    See #4829 for my patch so far.

  23. modified the milestones: , 1.1.1 on Jan 12, 2018
  24. r-love commented on Feb 21, 2018

    @r-love

    Should this be working for TLS at HEAD?

  25. mattcaswell commented on Feb 21, 2018

    @mattcaswell
    Member

    No. In master we have internal support for the curve448 primitives. PR #5419 is seeking to introduce support for X448 at the EVP layer. As noted in that PR once it has been pushed, another PR is required to add TLS support.

  26. mattcaswell commented on Mar 5, 2018

    @mattcaswell
    Member

    We now have TLS support for this in master. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions