-
Notifications
You must be signed in to change notification settings - Fork 24
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: poseidon hash #388
Merged
feat: poseidon hash #388
Changes from 1 commit
Commits
Show all changes
146 commits
Select commit
Hold shift + click to select a range
f7b5940
++
qalisander 0b0cf3d
add original poseidon2 hash and vesta prime field
qalisander f305557
++
qalisander 3369577
++
qalisander e41a63e
++
qalisander 57d880c
++
qalisander 76250c4
++
qalisander e897579
++
qalisander 423503e
++
qalisander 2563a53
++
qalisander 264afa5
++
qalisander bd7e14c
compiles: port fields traits
qalisander 5557280
compiles: port fp and biginteger
qalisander c10c78a
compiles: poseidon uses inhouse fields
qalisander 1c76850
compiles: remove ark-ff-macros from deps
qalisander f62c298
++
qalisander a29a630
++
qalisander e8b722a
++
qalisander d80db6e
compiles: remove fft field
qalisander b8b7286
compiles: remove sqrt
qalisander f6ddc87
++
qalisander 2d84081
++
qalisander e53769e
compiles: remove montgomery_backend abstraction
qalisander 2500b1a
++
qalisander 375d042
++
qalisander fc77caf
compiles: remove BasePrimeField associated type
qalisander d461172
++
qalisander 745edcf
compiles: remove num_bigint from fields
qalisander 2de8819
compiles
qalisander b489a8e
++
qalisander ed3835b
++
qalisander cfc6d91
++
qalisander 181339c
++
qalisander 617f141
++
qalisander b0b1b1d
++
qalisander 343064a
++
qalisander e77c5d0
++
qalisander b5b4a3a
compiles: test not pass
qalisander 74b86f7
++
qalisander 886b955
++
qalisander 1662190
compiles: test fails
qalisander 090024b
compiles: test pass
qalisander c19dbf7
++
qalisander f86e6cc
++
qalisander 8d43485
++
qalisander ffad719
++
qalisander b64460e
++
qalisander 7275e0e
++
qalisander bb1eac4
compiles: remove ark-std
qalisander d71142d
++
qalisander 5ace24d
++
qalisander d08b77c
store Residue in Fp
qalisander bdc066c
++
qalisander cd180c0
++
qalisander 5dc350a
++
qalisander de78208
++
qalisander f5e64af
++
qalisander cb47ec0
++
qalisander c8f51ee
++
qalisander 91d5b80
++
qalisander 0771112
++
qalisander d822dce
++
qalisander 1d47d65
parse from str number
qalisander 5a85494
compiles: refactor
qalisander 4a85e8e
introduce fp and uint macros
qalisander 7110fec
++
qalisander 13d1ee7
++
qalisander 4826fb5
++
qalisander 702052c
++
qalisander 0fa044f
++
qalisander 474711c
++
qalisander 3d6f402
++
qalisander c082f78
add field docs
qalisander 5ddd2bc
++
qalisander fbbf8f0
++
qalisander 40f08a5
Merge remote-tracking branch 'origin/main' into finite-fields-2
qalisander 3361106
++
qalisander 5c3961c
fix compilation for wasm
qalisander 444754a
Merge remote-tracking branch 'origin/main' into finite-fields-2
qalisander 9f39a09
++
qalisander 80ce59a
++
qalisander 5c5251a
++
qalisander ddce394
++
qalisander a3b89ad
++
qalisander ed1ce9a
++
qalisander 43b0483
++
qalisander fb0932f
++
qalisander dea904f
++
qalisander 9c9e8fa
++
qalisander b80fb7a
++
qalisander bdce479
++
qalisander 1b543c4
++
qalisander 66c85cd
++
qalisander 6cc65fc
++
qalisander e98a830
++
qalisander c964fb2
refactor
qalisander 2998534
++
qalisander de698b0
++
qalisander 387527e
++
qalisander f0c8e94
++
qalisander 30430e6
refactor
qalisander 24c1e6e
++
qalisander 7e213d2
++
qalisander 1df589e
++
qalisander 79caad0
++
qalisander 14d7546
++
qalisander 2043e83
compiles: other fields for poseidon hash
qalisander 6fa8405
move tests to instances
qalisander f8886b8
++
qalisander bdc94ad
++
qalisander 3e7b37a
remove _mat_internal
qalisander f02c161
use generic params for vesta
qalisander 9f580cc
from_str_hex
qalisander 1147c88
use generic params for other fields
qalisander 99cf440
Merge remote-tracking branch 'origin/main' into poseidon
qalisander 080c60f
Merge remote-tracking branch 'origin/main' into poseidon
qalisander 088b5c1
Merge branch 'main' into poseidon
bidzyyys 639c720
++
qalisander f5d870a
remove computed constants
qalisander c48488d
add capacity param
qalisander 850023d
turn poseidon into sponge hash function
qalisander 9e8cdb5
++
qalisander 2540dbb
++
qalisander 745e3e4
add 64 bit field params + docs
qalisander dfeb6cc
++
qalisander 231e739
++
qalisander a000bc5
Merge remote-tracking branch 'origin/main' into poseidon
qalisander b866627
++
qalisander 33d13e1
++
qalisander 0593bc4
++
qalisander f73cbae
++
qalisander c762be8
add convert_from_str_hex fuzz test
qalisander fcb1db5
++
qalisander 72b01ec
++
qalisander 8b2da4b
++
qalisander 0213da1
++
qalisander 5a4b537
introduce external_round & internal_round fns
qalisander 93728e5
update CHANGELOG.md
qalisander 3444407
Merge branch 'main' into poseidon
qalisander b29f99c
++
qalisander e31cd8c
add docks to poseidon instances
qalisander a125af0
add docks to poseidon instances
qalisander 4c8f3e8
add docks to poseidon instances
qalisander 7f31aed
Merge branch 'main' into poseidon
bidzyyys 4d7070e
update CHANGELOG.md
qalisander 215ddf4
Merge branch 'main' into poseidon
bidzyyys File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is there some resource we can use to to verify the correctness of the hex values used in all these instances?
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.
There is an implementation referenced in the whitepaper. This implementation is built by one of the authors of the hash