-
Notifications
You must be signed in to change notification settings - Fork 26
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
Replace ring ecdsa implementation with rust cryptos #208
Conversation
e60725a
to
89d7dca
Compare
Update: delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM. I think this would be a nice change to the library. When I wrote the initial code there was no p384 support outside of ring
.
I'm glad we can switch to a pure rust implementation now 🥳
89d7dca
to
6f88c6c
Compare
Replaced `ring` elliptic curve signature implementations with RustCrypto Added a compability test for previous ring implementation and current rust crypto to ensure the functionality of API does not change Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
6f88c6c
to
cea3944
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me!
@CBenoit can you please take a look at this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adopting this! @CBenoit When could this PR be included in the next release? |
I’ll take some time to publish a new version next week |
Hi, I'm working on the downstream crates and find that the
ring
crate used in this crate cannot be compiled in archs390x
. Thus I summit this PR to replace thering
with RustCrypto to implement Elliptic Curve Signatures.Please take a look if I did anything contrary to the design of this module. Thanks!
Main change
ring
elliptic curve signature implementations with RustCryptocc @flavio who is the initial writer of the related code