aztec-2.0 icon indicating copy to clipboard operation
aztec-2.0 copied to clipboard

Allow setting arbitrary labels for elements in basic commitment algorithms

Open Rumata888 opened this issue 1 year ago • 0 comments

Commitment algorithms (IPA, KZG) have fixed labels for elements being added to the transcript. If 2 instances need to be used in the same transcript for whatever reason, we won't be able to do this. This should be fixed. Maybe we should use prefixes? Then the model can be spread to higher-level primitives such as Zeromorph

https://github.com/AztecProtocol/barretenberg/blob/519fb4b40794eddecd686643b5ab62dacbb71d9e/cpp/src/barretenberg/commitment_schemes/kzg/kzg.hpp#L44

Rumata888 avatar Jan 26 '24 16:01 Rumata888