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

Data conversion functions assume little-endian architecture #37

Open
palant opened this issue Oct 21, 2016 · 0 comments
Open

Data conversion functions assume little-endian architecture #37

palant opened this issue Oct 21, 2016 · 0 comments

Comments

@palant
Copy link

palant commented Oct 21, 2016

While I don't have a big-endian platform for testing, it looks like rusha won't work correctly there. Reason is: the switch (om) and switch(lm) blocks in functions like convBuf() reverse byte order - assuming little-endian architecture. Most other places such as getRawDigest() function for example seem to work independently of platform's architecture.

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

No branches or pull requests

1 participant