Expand description

This module implements the Poseidon constraint polynomials.

Structs

  • Implementation of the Poseidon gate Poseidon quotient poly contribution computation f^7 + c(x) - f(wx) Conjunction of:

Constants

Functions

  • generate_witness(row, params, witness_cols, input) uses a sponge initialized with params to generate a witness for starting at row row in witness_cols, and with input input.
  • Given a Poseidon round from 0 to 4 (inclusive), returns the columns (as a range) that are used in this round.