noir-lang/acvm

Implementation of blackbox functions should be shareable by the ACVM and Brillig_vm

sirasistant opened this issue · 0 comments

Problem

The implementation of blackbox functions has to be the same between the brillig_vm and the acvm pwg. Currently there is no shared crate among those dedicated for this task, so we end up having to duplicate the code for hashes and signature verification in the brillig vm.

Happy Case

There is a new crate dedicated to this that is consumed by both the acvm and the brillig vm, or other solution that allows to share the code without generating a cyclic dependency.

Alternatives Considered

No response

Additional Context

No response

Would you like to submit a PR for this Issue?

No

Support Needs

No response