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

crypto: poseidon2: poseidonPerm: Add full poseidon2 permutation #8

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

joeykraut
Copy link
Member

Purpose

This PR adds the poseidon2 full permutation, fixes codegen errors, and adds a test for the permutation. In the test, we call a rust binary that prints the expected hash of the two input, using the reference implementation in rust.

Testing

  • Tested a 2-1 hash against the rust reference implementation.

@joeykraut joeykraut requested a review from akirillo January 27, 2025 21:14
@joeykraut joeykraut merged commit 59a8817 into main Jan 27, 2025
0 of 2 checks passed
@joeykraut joeykraut deleted the joey/full-poseidon branch January 27, 2025 21:14
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