-
Notifications
You must be signed in to change notification settings - Fork 252
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
blake2b gives a wrong value on powerpc-unknown-linux-gnu #356
Comments
It seems we don't |
I tested on armv7-unknown-linux-gnueabihf as well, as an architecture which is 32-bit, it returns the correct result, so the issue really seems to be big endian. |
Have you tried implementation from the |
Thanks, I wasn’t aware of these crates! I just replaced |
@linkmauve |
No, we are using it without any feature besides the default ones. |
I can provide another data point: I'm working on updating the RPM packages for RustCrypto crates in Fedora Linux, and I hit the same problem with blake2. The test suite of blake2 version 0.9.2 passes on every architecture we have, but version 0.10.3 looks very broken on s390x / System Z (the only big-endian architecture we have). We run
|
@linkmauve @decathorpe The endianness issue seems to be fixed with #366. cc @tarcieri @newpavlov I'll added a cross job for the future. |
Ah, you’ve been faster than my Wii U, I just tested on it and it does fix this issue for me, thanks! |
In xmpp-rs, we have a test which started to fail on this platform after bumping the RustCrypto crates to 0.10:
The same test runs fine on amd64, as can be seen in our CI.
The text was updated successfully, but these errors were encountered: