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

sha256.c BIG_ENDIAN doesn't compile #1

Open
crackulator opened this issue Mar 14, 2016 · 1 comment
Open

sha256.c BIG_ENDIAN doesn't compile #1

crackulator opened this issue Mar 14, 2016 · 1 comment

Comments

@crackulator
Copy link

Just tried the BIG_ENDIAN option in sha256.c (though I'm not sure why anyone would use it... it's there...), and suggest the following modifications:

line 197: *((uint64_t *)&(lb[56])) = state->length;
line 213: if ((void *) dest != (void *) &(state->h))

@riyanapw1
Copy link

Sure

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

2 participants