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

Add support for UltraStarknetHonk flavour using Staknet Poseidon hash #11489

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

Conversation

feltroidprime
Copy link

@feltroidprime feltroidprime commented Jan 24, 2025

Adds a ultra_starknet_flavour, forked from the ultra_keccak_flavour.

This was tested with bb 0.61 with a reference corresponding implementation of the transcript in python similar to the keccak one.

See generic proof -> Transcript implementation https://github.com/keep-starknet-strange/garaga/blob/f5921e0f7e69f474ee0a88b6ecfb52252fc7cc3d/hydra/garaga/precompiled_circuits/honk.py#L526

https://github.com/keep-starknet-strange/garaga/blob/f5921e0f7e69f474ee0a88b6ecfb52252fc7cc3d/hydra/garaga/precompiled_circuits/honk.py#L448-L501

The Starknet poseidon hash was imported from the reference implementation from CryptoExperts (used in production in Starkware STONE prover) https://github.com/CryptoExperts/poseidon

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.

2 participants