-
Notifications
You must be signed in to change notification settings - Fork 189
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
Arithmetic feature requires atomics #185
Comments
The current v0.4.1 release doesn't have the dependency, so it must be a change between v0.5.0 ad v0.6.0 of elliptic-curve. This is probably the commit that causes the requirement on atomics: RustCrypto/traits@59e67e0 It would be great if signing and other operations could be supported without atomics via a feature flag. |
Yes, we're now pulling in This is actually a superfluous dependency (at least at present). I opened this issue about making |
That would be great! |
Otherwise I don't think signing is possible, I just keep getting this error when trying to call
|
@alistair23 that method doesn't exist in the Here's a usage example: https://docs.rs/p256/0.5.0-rc/p256/ecdsa/index.html#signingverification-example |
Thanks @tarcieri, unfortunately the new |
Yeah, you need the There's not that much that can be done about that immediately. I'd say stay on |
Hopefully one (or both) of those will be merged soon. Until then it looks like only |
@alistair23 However, https://docs.rs/p256/0.5.0-rc/p256/ecdsa/type.SigningKey.html
|
Just an update, this seems to be fixed with a PR for Radium: ferrilab/radium#4 |
This has been fixed: ferrilab/radium#3 Do you mind updating the crate dependencies? |
Unfortunately it’s a deep transitive dependency. Looks like |
The fix has been backported as |
Currently using the arithmetic feature requires atomics. Compilling on a platform without atomics (such as RV32IMC) results in this error:
cargo tree
reports that Radium comes from:I have opened an issue for Radium: ferrilab/radium#3 but it would also be great if these libraries could stop depending on it.
The text was updated successfully, but these errors were encountered: