Now that we have all the circuits needed in this repository, we should create an NIVC chain that uses aes-proof AES-GCTR implementation alongside the parser-attestor plaintext http locking + json parsing scheme.
Tasks
[ ] Modify all the NIVC circuits to adopt the same parameters: DATA_BYTES and MAX_STACK_HEIGHT. Note that some circuits such as JsonMaskObjectNIVC will need a specific maxKeyLen. We should use DATA_BYTES and MAX_STACK_HEIGHT as parameters that define the step_in/out size for ALL NIVC circuits! TOTAL_BYTES_ACROSS_NIVC should not be necessary to have as an input as the calculation is given in the JSON parser template:
Mission
Now that we have all the circuits needed in this repository, we should create an NIVC chain that uses
aes-proof
AES-GCTR implementation alongside theparser-attestor
plaintext http locking + json parsing scheme.Tasks
DATA_BYTES
andMAX_STACK_HEIGHT
. Note that some circuits such asJsonMaskObjectNIVC
will need a specificmaxKeyLen
. We should useDATA_BYTES
andMAX_STACK_HEIGHT
as parameters that define thestep_in/out
size for ALL NIVC circuits!TOTAL_BYTES_ACROSS_NIVC
should not be necessary to have as an input as the calculation is given in the JSON parser template:aes-proof
andparser-attestor
circuits works properly for the setDATA_SIZE
For
MAX_STACK_HEIGHT
, 10 seems reasonable. For a test feel free to use smaller to make this faster.