-
Notifications
You must be signed in to change notification settings - Fork 231
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
feat(math): prepare poseidon2 #411
Conversation
1065777
to
3f48769
Compare
3f48769
to
c4918d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c4918d5
to
9a4de77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
9a4de77
to
8fcca55
Compare
8fcca55
to
a7a6b7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR prepares for Poseidon2 Hash function. In Poseidon2, the Matirx for the Internal Round is a diagonal matrix. So this PR mainly adds
DiagonalMatrix
. Additionally, it adds minor improvements onMatrix
types.