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

Experiment: vortex on koalabear #645

Open
wants to merge 70 commits into
base: master
Choose a base branch
from

Conversation

AlexandreBelling
Copy link
Collaborator

Description

The pull-request implements a basic version of the Vortex polynomial commitment protocol relying on Koalabear as base field. The implementation uses Poseidon2 for the Merkle-tree construction. It implements everything in the field/koalabear/vortex package and implements the following features:

  • A "Hash" type along with the
    • Compression function
    • Sponge-based hasher (without padding-attack protection)
  • A merkle-tree implementation
  • A polynomials evaluation implementation (in Lagrange or monomial basis)
  • A few utility functions (nextPowerOf2, isPowerOfTwo, Log2Floor/Ceil etc...)
  • Reed-Solomon encoding and checking

Testing

The testing is mid, the PR writes just enough test to ensure the happy-path is working correctly. No soundness test have been written

gbotrel and others added 30 commits March 16, 2025 16:18
…/gnark-crypto into experiment/vortex-on-koalabear
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.

4 participants