-
Notifications
You must be signed in to change notification settings - Fork 257
primeorder: support curves with any a
#729
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
Conversation
|
Sure! I just wanted to finish algorithms implementation first and see they it work fine. I'll mark PR as ready for review when I'm done :) |
|
FWIW you should be able to use the implementations @newpavlov mentioned in #726, e.g. https://github.com/RustCrypto/elliptic-curves/pull/218/files#diff-cf2092dccb9b015c6defd5f649e6449e52e4cef9b10c77e2a96d6201033c8232R170 |
|
If I'm not missing anything, all algos are already implemented, so I only left to rebase it now and use trait approach. But I'll keep in mind that there's another implementation, thanks! |
|
@survived yeah, rebase on Should be fairly straightforward |
|
@tarcieri unfortunately, compiler doesn't allow me to implement the same trait twice for |
|
Aah, unfortunate. Another option is moving the implementation to methods on the ZSTs and having e.g. |
|
Indeed that should work! Let me try it
|
|
@tarcieri I came up with similar ZST-based approach, check it out. I added |
|
Looks good overall! That's more or less what I had in mind. |
|
Do you want to keep |
|
I already added it to |
9714a5f to
963fcff
Compare
661f5a8 to
97908f4
Compare
|
@tarcieri PR is ready for review! |
Closes #726