Expand description
This module computes the witness of a foreign field addition circuit.
Enumsยง
- FFOps
- All foreign field operations allowed
Functionsยง
- compute_
ffadd_ ๐values - create_
chain - Creates a FFAdd witness (including
ForeignFieldAddrows, and one finalForeignFieldAddrow 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
- init_
bound_ ๐rows - init_
ffadd_ ๐row