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
Add missing Ristretto functions #1
Comments
For the proof generation and verification, we need these additional bindings:
|
Added mul, add ,neg in tgalal/python-curve25519-dalek@57361ba Note that Scalar * Point now doesn't work, it would to be written Point * Scalar. |
To generate Important, used to generate most values:
less important for now, can work around this not being implemented:
(used twice so not important, and can surely work around this, but can't find the corresponding function in curve25519_dalek, which confuses me, and will be a deviation from "Signal compatibility"):
|
Also, support for subtracting
|
Added all requested functions. Like others arithmetic ops, subtraction/negation are via the minus
It's in the lizard2 branch of Signal's fork of the library, inside lizard_ristretto.rs. |
Currently, we can only compare scalars, but we also need to
|
Added equality comparison for points |
|
It would be nice to be able to convert the Scalar to bytes as well for debugging purposes. Also, we could use the native
|
|
Published 0.0.2: https://github.com/tgalal/python-curve25519-dalek/releases/tag/0.0.2 |
Regarding the inversion of Scalars: Edit: The next commit includes a check that I used to verify that |
It looks like you really need to use |
Lets keep track of the functions to be added to python-curve25519-dalek in this issue. Typically I (Tarek) will take care of applying the list below.
lizard_decode
The text was updated successfully, but these errors were encountered: