Expand description
This module computes the witness of a foreign field addition circuit.
Enums§
- FFOps
- All foreign field operations allowed
Functions§
- create_
chain - Creates a FFAdd witness (including
ForeignFieldAdd
rows, and one finalForeignFieldAdd
row for bound) inputs: list of all inputs to the chain of additions/subtractions opcode: true for addition, false for subtraction modulus: modulus of the foreign field - extend_
witness_ bound_ addition - Create witness for bound computation addition gate