Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing Ristretto448 #16

Open
kevaundray opened this issue Apr 26, 2020 · 3 comments
Open

Implementing Ristretto448 #16

kevaundray opened this issue Apr 26, 2020 · 3 comments

Comments

@kevaundray
Copy link
Collaborator

In terms of Data structures DecafPoint and RistrettoPoint are similar and differ mainly with the Compression and Decompression.

For now, I think we can have a little code duplication. Then later on, we can have an AbstractPoint "Point" , that does all of the similar features. For now, I will leave the code duplication in as the separation is helpful.

@kevaundray
Copy link
Collaborator Author

Not sure this is needed actually, as we could just use the direct isogeny that Decaf supplies. But maybe there is a secret advantage to using Ristretto when the curve is defined as an Edwards curve and not Montgomery?

@WildCryptoFox
Copy link

https://sourceforge.net/p/ed448goldilocks/code/ci/master/tree/

As of v0.9.4, libdecaf uses the "Ristretto" variant of this encoding.
See https://www.ristretto.group for details, once that site is up.

A not-so-secret advantage is compatibility and consistency. But changing is a breaking change unless you support both. Though I don't think that libdecaf offers the decaf variant now.

@kevaundray
Copy link
Collaborator Author

Good point. It would be great to have everything under Ristretto.

The reference contains three encodings, old decaf(pre-Ristretto), new decaf(post-Ristretto) and Ristretto. I don’t think it would be worth it to implement all of them, as not many protocols seem to need old Decaf interoperability from what I’ve seen.

Will give it more thought as I don’t want to cause more confusion on the difference between Ristretto and Decaf/ when to use one over the other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants