Expand description
This module includes the AND gadget implementation and the witness creation code. Note that this module does not need any new gate type for the AND operation.
Functionsยง
- create_
and_ witness - Create a And for inputs as field elements starting at row 0 Input: first input, second input, and desired byte length Panics if the input is too large for the chosen number of bytes
- extend_
and_ witness - Extends an AND witness to the whole witness Input: first input, second input, and desired byte length Panics if the input is too large for the chosen number of bytes
- lookup_
table - Get the AND lookup table