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

Poseidon examples C++ only #375

Merged
merged 12 commits into from
Feb 15, 2024
Merged

Poseidon examples C++ only #375

merged 12 commits into from
Feb 15, 2024

Conversation

DmytroTym
Copy link
Contributor

#365 but without Rust which for now doesn't work.

DmytroTym and others added 8 commits February 7, 2024 14:49
* BW scalar field is now the same as BLS base field

* add poseidon

* add merkle tree builder

* poseidon rust bindings

* implement rust bindings

* add doc comments

* remove global poseidon constants

* add custom constants API and script for generating new constants

* add the rest of the curves for poseidon

* add all the curves for real

* misname bls12-377

* typo

* partial rounds

* minor fixes

* small tweak for big performance boost

* add CHK_INIT_IF_RETURN

---------

Co-authored-by: DmytroTym <dmytrotym1@gmail.com>
Release v1.2.0:

- [FEAT] Add Poseidon hash as primitive
- [FEAT] Add Merkle tree using poseidon hash
- [BUG] Fix NTT overflow when using large cosets
@DmytroTym DmytroTym merged commit 27e85d4 into dev Feb 15, 2024
14 checks passed
@DmytroTym DmytroTym deleted the poseidon-examples-no-cuda branch February 15, 2024 08:46
@DmytroTym DmytroTym mentioned this pull request Feb 15, 2024
DmytroTym added a commit that referenced this pull request Feb 15, 2024
## Contents of this release

[FEAT]: support for multi-device execution:
#356
[FEAT]: full support for new mixed-radix NTT:
#367,
#368 and
#371
[FEAT]: examples for Poseidon hash and tree builder based on it
(currently only on C++ side):
#375
[PERF]: MSM performance upgrades & zero point handling:
#372
@jeremyfelder jeremyfelder mentioned this pull request Feb 22, 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.

5 participants