Skip to content
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

Crate will not work correctly on big-endian architecture #15

Closed
newpavlov opened this issue Jun 2, 2017 · 0 comments · Fixed by #40
Closed

Crate will not work correctly on big-endian architecture #15

newpavlov opened this issue Jun 2, 2017 · 0 comments · Fixed by #40

Comments

@newpavlov
Copy link
Contributor

Usage of mem::transmute will cause your code to produce incorrect results on big-endiann architectures.

You can adopt the same approach I've used in the sha3 crate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant