privacy-scaling-explorations / sonobe

Experimental folding schemes library
https://privacy-scaling-explorations.github.io/sonobe-docs/
MIT License
208 stars 55 forks source link

Feature/f circuit multiple in outs #35

Closed arnaucube closed 1 year ago

arnaucube commented 1 year ago

Seeing the circuits from Ph(r)asedos/Grapevine project made me realize that FCircuit should allow to work with multiple inputs and outputs. Additionally this PR also modifies the FCircuit trait to prepare it for the frontend trait, in order to generate the constraints while being inside the AugmentedFCircuit and being folded at each step (for example for the Circom frontend, which has different needs than the arkworks frontend).