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

fix: S-box in Poseidon2 config #329

Merged
merged 1 commit into from
Feb 28, 2024
Merged

fix: S-box in Poseidon2 config #329

merged 1 commit into from
Feb 28, 2024

Conversation

dlubarov
Copy link
Collaborator

x^5 works with Mersenne31, but x^7 is the smallest permutation monomial over BabyBear. I think this mistake originates in some Plonky3 example code which had the same issue.

x^5 works with Mersenne31, but x^7 is the smallest permutation monomial over BabyBear. I think this mistake originates in some Plonky3 example code which had the same issue.
@jtguibas
Copy link
Contributor

jtguibas commented Feb 28, 2024

@dlubarov Thanks for catching this!

@tamirhemo tamirhemo merged commit 27cc897 into main Feb 28, 2024
5 of 6 checks passed
@tamirhemo tamirhemo deleted the fix_poseidon2_sbox branch February 28, 2024 07:51
jtguibas pushed a commit that referenced this pull request Mar 29, 2024
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.

3 participants