Skip to content

Conversation

@lighter-zz
Copy link
Contributor

This is the second PR. Split for the ease of reviewing. See #9 for more details.

@lighter-zz lighter-zz linked an issue Nov 15, 2025 that may be closed by this pull request
@lighter-zz lighter-zz merged commit 6a05683 into zz/impl_poseidon2_with_plonky3 Dec 9, 2025
3 checks passed
@lighter-zz lighter-zz deleted the zz/optimize_poseidon2 branch December 9, 2025 17:49
lighterabc added a commit to elliottech/poseidon_crypto that referenced this pull request Dec 11, 2025
lighter-zz added a commit that referenced this pull request Dec 11, 2025
* everything works now except for cyclic recursion

* wip

* update benchmarks

* add more tests

* fix recursion tests

* fix bug in benchmarking

* wip

* accelerating with neon

* clean up

* update poseidon2's benchmark

* clean up

* clean up benchmark

* testing recursion for both poseidon and poseidon2

* clippy

* fix tests

* make the tests more thorough

* try to fix CI

* more CI fix

* clippy

* roll back to lighter's version of poseidon for easy review

* Update gate.rs

* address comments

* more debug assert

* fix typo

* remove stable feature

* optimize poseidon2 (#10)

* optimize poseidon2

* Merge branch 'zz/impl_poseidon2_with_plonky3' into zz/optimize_poseidon2

* finally faster than poseidon

* clean up

* update num_constants for poseidon

* reverting add_canonical_u64

* Update hash.rs

* Update hash.rs
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.

implement Poseidon2

3 participants