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: Add Keccak-p function #158

Merged
merged 3 commits into from
Oct 22, 2024
Merged

SHA3: Add Keccak-p function #158

merged 3 commits into from
Oct 22, 2024

Conversation

marsella
Copy link
Contributor

@marsella marsella commented Oct 17, 2024

Closes #132. Closes #139.

This removes a technically unnecessary type constraint on the number of rounds and adds the more-generic Keccak-p function. We were previously using Keccak-f, which has the additional type constraint but is suitable for instantiating all the SHA functions; this is really more for completeness and spec adherence than overall functionality.

This is allowed to be negative, but the previous representation didn't
support that.
updates all the docs that referenced only having keccak-f implemented.
@marsella marsella changed the title Add Keccak-p function SHA3: Add Keccak-p function Oct 21, 2024
@marsella marsella merged commit 2e884ee into master Oct 22, 2024
2 checks passed
@marsella marsella deleted the 139-keccakp branch October 22, 2024 17:06
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.

Make Keccak generic over number of rounds Bring SHA3 implementation up to gold standard
2 participants