-
Notifications
You must be signed in to change notification settings - Fork 248
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
Big endian issues #63
Comments
Very cool! This may actually be an upstream issue. Let me investigate. It looks like the recoverable signatures module is not going to work for you until this bug is fixed -- probably not a big deal, since recoverable signatures are somewhat niche. But definitely a serious bug in the library. |
Ok, on further investigation I actually think this is pretty minor. There are two bugs, I'm pretty sure
Thanks very much for testing with a BE machine! |
Thanks for quick reply @apoelstra. I did some research regarding your 2nd point. Turns out it makes difference if we define |
This will fix `tests::sign` test case on mips/mips64. Verified with `cross`[1] tool. cross test --target mips-unknown-linux-gnu cross test --target mips64el-unknown-linux-gnuabi64 Unfortunately this fix doesn't make `tests::test_debug_output` test case pass, but this is about debug output so its not as critical as this patch. See rust-bitcoin#63 for a discussion. [1]: https://github.com/japaric/rust-cross
Partially fixed in #64. Leaving this open until we fix the |
@apoelstra any chance this MIPS fix is part of 0.11.1? I noticed 0.11.1 exists on crates.io, but doesn't exist as a git tag. |
Oops, I just forgot the push the 0.11.1 tag. Unfortunately not. I can release 0.11.2 this week if you want this fix though. |
@apoelstra 0.11.2 release will do. I'll use master branch until then. Thanks. |
Published |
Added fix for |
Closed by #60 |
Thanks for great library!
I'm trying to run this on
mips
machine which has big endian architecture and few tests are failing. I wonder how critical are those problems and should I be worried about correctness of the operations?Thanks!
The text was updated successfully, but these errors were encountered: