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 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
  • 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
  • Get the AND lookup table