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

SHA3: clean up round functions #141

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

marsella
Copy link
Contributor

Addresses part of #138.

This brings the round functions into closer alignment with the spec. I found that the implementation was significantly (> 8x) slower than before, so I added hardcoded versions (and equivalence properties!) for two of the functions that involved constants. This addressed most of the slowdown.

I don't think there's anything crazy happening here; I'm just looking for general gold-standard review.

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 this pull request may close these issues.

1 participant